Home
last modified time | relevance | path

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

1234

/external/autotest/client/profilers/lttng/
Dlttng.py70 for tracepoint in self.tracepoints:
71 if tracepoint in ('list_process_state',
78 elif tracepoint in ('list_interrupt',
82 elif tracepoint in ('list_network_ipv4_interface',
85 elif tracepoint in ('kernel_module_load', 'kernel_module_free'):
89 print 'Connecting ' + tracepoint
90 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/bcc/src/cc/api/
DBPF.cc267 StatusTuple BPF::attach_tracepoint(const std::string& tracepoint, in attach_tracepoint() argument
269 if (tracepoints_.find(tracepoint) != tracepoints_.end()) in attach_tracepoint()
271 tracepoint.c_str()); in attach_tracepoint()
273 auto pos = tracepoint.find(":"); in attach_tracepoint()
274 if ((pos == std::string::npos) || (pos != tracepoint.rfind(":"))) in attach_tracepoint()
275 return StatusTuple(-1, "Unable to parse Tracepoint %s", tracepoint.c_str()); in attach_tracepoint()
276 std::string tp_category = tracepoint.substr(0, pos); in attach_tracepoint()
277 std::string tp_name = tracepoint.substr(pos + 1); in attach_tracepoint()
288 tracepoint.c_str(), probe_func.c_str()); in attach_tracepoint()
294 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);
187 StatusTuple detach_tracepoint_event(const std::string& 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/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
Dfunccount_example.txt359 ./funccount t:sched:sched_fork # count calls to the sched_fork tracepoint
/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 …]
Dtutorial.md345tracepoint called inside function `__schedule` and defined in `linux/include/trace/events/sched.h`…
Dtutorial_bcc_python_developer.md490 1. ```TRACEPOINT_PROBE(random, urandom_read)```: Instrument the kernel tracepoint ```random:urandom…
491 1. ```args->got_bits```: ```args``` is auto-populated to be a structure of the tracepoint arguments…
600 …static tracing (USDT) probe, which is the user-level version of a kernel tracepoint. Sample output:
/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/perf_data_converter/src/quipper/testdata/
Dperf.data.singleprocess-3.8.serialized.out.pb_text486 name: "tracepoint"
Dperf.data.singleprocess-3.8.parse.remap.out.pb_text2664 name: "tracepoint"
Dperf.data.singleprocess-3.8.io.out.pb_text2664 name: "tracepoint"
Dperf.data.singleprocess-3.8.pb_text2664 name: "tracepoint"
Dperf.data.singleprocess-3.8.parse.out.pb_text2664 name: "tracepoint"
/external/toolchain-utils/dejagnu/gdb_baseline/
Darmv7a-cros-linux-gnueabi14822 PASS: gdb.mi/mi-break.exp: eval tpnum before tracepoint
14825 FAIL: gdb.mi/mi-break.exp: eval tpnum after tracepoint
18733 PASS: gdb.trace/actions.exp: 5.1b: set actions for first tracepoint
18734 PASS: gdb.trace/actions.exp: 5.1c: verify actions set for first tracepoint
18735 PASS: gdb.trace/actions.exp: 5.1d: set actions for second tracepoint
18736 PASS: gdb.trace/actions.exp: 5.1e: verify actions set for second tracepoint
18737 PASS: gdb.trace/actions.exp: 5.2a: set actions for last (default) tracepoint
18738 PASS: gdb.trace/actions.exp: 5.2b: verify actions set for second tracepoint
18739 PASS: gdb.trace/actions.exp: 5.3a: reset actions for first tracepoint
18740 PASS: gdb.trace/actions.exp: 5.3b: verify actions set for first tracepoint
[all …]
/external/bcc/
DREADME.md78 - examples/tracing/[urandomread.py](examples/tracing/urandomread.py): A kernel tracepoint example, …

1234