Home
last modified time | relevance | path

Searched refs:tracepoint (Results 1 – 25 of 37) sorted by relevance

12

/external/autotest/client/profilers/lttng/
Dlttng.py76 for tracepoint in self.tracepoints:
77 if tracepoint in ('list_process_state',
84 elif tracepoint in ('list_interrupt',
88 elif tracepoint in ('list_network_ipv4_interface',
91 elif tracepoint in ('kernel_module_load', 'kernel_module_free'):
95 print('Connecting ' + tracepoint)
96 utils.write_one_line('/proc/ltt', 'connect ' + tracepoint
/external/autotest/client/profilers/ftrace/
Dftrace.py68 for tracepoint in tracepoints:
69 if isinstance(tracepoint, tuple):
70 tracepoint, event_filter = tracepoint
73 self.trace_cmd_args += ['-e', tracepoint]
/external/perfetto/src/trace_processor/importers/proto/
Dperf_sample_tracker.cc61 PerfEvents::Tracepoint::Decoder tracepoint(timebase.tracepoint()); in InternTimebaseCounterName() local
62 return context->storage->InternString(tracepoint.name()); in InternTimebaseCounterName()
/external/bcc/src/cc/api/
DBPF.cc268 StatusTuple BPF::attach_tracepoint(const std::string& tracepoint, in attach_tracepoint() argument
270 if (tracepoints_.find(tracepoint) != tracepoints_.end()) in attach_tracepoint()
272 tracepoint.c_str()); in attach_tracepoint()
274 auto pos = tracepoint.find(":"); in attach_tracepoint()
275 if ((pos == std::string::npos) || (pos != tracepoint.rfind(":"))) in attach_tracepoint()
276 return StatusTuple(-1, "Unable to parse Tracepoint %s", tracepoint.c_str()); in attach_tracepoint()
277 std::string tp_category = tracepoint.substr(0, pos); in attach_tracepoint()
278 std::string tp_name = tracepoint.substr(pos + 1); in attach_tracepoint()
289 tracepoint.c_str(), probe_func.c_str()); in attach_tracepoint()
295 tracepoints_[tracepoint] = std::move(p); in attach_tracepoint()
[all …]
DBPF.h81 StatusTuple attach_tracepoint(const std::string& tracepoint,
83 StatusTuple detach_tracepoint(const std::string& tracepoint);
189 StatusTuple detach_tracepoint_event(const std::string& tracepoint,
/external/perfetto/src/profiling/perf/
Devent_config.cc78 const protos::gen::PerfEvents::Tracepoint& tracepoint, in ParseTracepointAndResolveId() argument
80 std::string full_name = tracepoint.name(); in ParseTracepointAndResolveId()
198 protos::gen::PerfEvents::Tracepoint tracepoint, in Tracepoint() argument
201 ret.tracepoint = std::move(tracepoint); in Tracepoint()
247 const auto& tracepoint_pb = pb_config.timebase().tracepoint(); in Create()
Devent_config.h58 protos::gen::PerfEvents::Tracepoint tracepoint; member
73 static PerfCounter Tracepoint(protos::gen::PerfEvents::Tracepoint tracepoint,
Devent_reader.cc72 !event.tracepoint.filter().empty()) { in MaybeApplyTracepointFilter()
74 event.tracepoint.filter().c_str()) != 0) { in MaybeApplyTracepointFilter()
Dperf_producer.cc126 tracepoint_pb->set_name(timebase.tracepoint.name()); in WritePerfEventDefaultsPacket()
127 tracepoint_pb->set_filter(timebase.tracepoint.filter()); in WritePerfEventDefaultsPacket()
/external/perfetto/protos/perfetto/common/
Dperf_events.proto49 Tracepoint tracepoint = 3; field
64 // Group and name for the tracepoint, acceptable forms:
69 // Optional field-level filter for the tracepoint. Only events matching this
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh45 local tracepoint=$1
48 perf record -q -e $tracepoint $cmd
54 local tracepoint=$1
57 perf record -a -q -e $tracepoint sleep $seconds
63 local tracepoint=$1
66 return `echo $perf_output | grep "$tracepoint:" | wc -l`
71 local tracepoint=$1
74 __tp_hit_count $tracepoint
83 local tracepoint=$1
85 __tp_hit_count $tracepoint
/external/bcc/examples/tracing/
Durandomread_example.txt20 This program was really written as a simple example of tracing a tracepoint.
Dkvm_hypercall.txt3 This example demonstrates how we can statefully save static tracepoint
/external/autotest/client/tests/tracing_microbenchmark/
Dcontrol15 tracer: tracepoint enabled
/external/bcc/examples/lua/
Dtracepoint-offcputime.lua30 local tp = bpf.tracepoint('sched/sched_switch', function (arg)
/external/igt-gpu-tools/overlay/
Dgpu-perf.c75 struct tracepoint { struct
109 struct tracepoint *tp; argument
132 struct tracepoint *tp = &tracepoints[tp_id]; in tracepoint_id()
/external/bcc/tools/
Dargdist_example.txt268 tracepoint and print out the protocol field from the tracepoint structure:
277 Note that to discover the format of the net:net_dev_start_xmit tracepoint, you
374 p,r,t,u -- probe at function entry, function exit, kernel tracepoint,
379 category -- the category of the kernel tracepoint (e.g. net, sched)
Dfunccount.py145 for tracepoint in tracepoints:
146 text += self._add_function(template, tracepoint)
Dstackcount_example.txt450 process, use the pthread_create USDT tracepoint:
467 use the sched:sched_switch kernel tracepoint:
887 ./stackcount t:sched:sched_fork # count stacks for sched_fork tracepoint
Dtrace_example.txt97 trace the block:block_rq_complete tracepoint and print out the number of sectors
107 To discover the tracepoint structure format (which you can refer to as the "args"
307 Trace the block_rq_complete kernel tracepoint and print # of tx sectors
Dfiletop_example.txt15 26634 cc1 12 0 192 0 R tracepoint.h
/external/bcc/docs/
Dreference_guide.md158 This is a macro that instruments the tracepoint defined by *category*:*event*.
160 Arguments are available in an ```args``` struct, which are the tracepoint arguments. One way to lis…
174 This instruments the random:urandom_read tracepoint, and prints the tracepoint argument ```got_bits…
255 This is a macro that instruments the raw tracepoint defined by *event*.
257 …pf.h). The struct field ```args``` contains all parameters of the raw tracepoint where you can fo…
275 This instruments the sched:sched_switch tracepoint, and prints the prev and next tgid.
1011 Syntax: ```BPF.attach_tracepoint(tp="tracepoint", fn_name="name")```
1013 Instruments the kernel tracepoint described by ```tracepoint```, and when hit, runs the BPF functio…
1015 …aring an ```args``` struct containing the tracepoint arguments. With ```attach_tracepoint()```, th…
1130 Syntax: ```BPF.attach_raw_tracepoint(tp="tracepoint", fn_name="name")```
[all …]
/external/tensorflow/tensorflow/python/tpu/
Dtensor_tracer.proto61 // If trace points are provided, corresponding tracepoint name of the
/external/bcc/src/lua/
DREADME.md78 …, with a dynamic language we can create and use proper type based on the tracepoint ABI on runtime.
107 copied. The type detection is automatic most of the times (socket filters and `bpf.tracepoint`), bu…
/external/perfetto/protos/perfetto/config/profiling/
Dperf_event_config.proto121 // previously |tracepoint|

12