/openbmc/linux/Documentation/trace/ |
H A D | tracepoints.rst | 16 A tracepoint placed in code provides a hook to call a function (probe) 17 that you can provide at runtime. A tracepoint can be "on" (a probe is 18 connected to it) or "off" (no probe is attached). When a tracepoint is 22 and adds a data structure in a separate section). When a tracepoint 23 is "on", the function you provide is called each time the tracepoint 26 the tracepoint site). 30 which prototypes are described in a tracepoint declaration placed in a 40 - A tracepoint definition, placed in a header file. 41 - The tracepoint statement, in C code. 43 In order to use tracepoints, you should include linux/tracepoint.h. [all …]
|
H A D | fprobetrace.rst | 16 This document also covers tracepoint probe events (tprobe) since this 17 is also works only on the tracepoint entry. User can trace a part of 18 tracepoint argument, or the tracepoint without trace-event, which is 21 As same as other dynamic events, fprobe events and tracepoint probe 30 t[:[GRP2/][EVENT2]] TRACEPOINT [FETCHARGS] : Probe on tracepoint 45 entry or tracepoint.) (\*1) 71 BTF (BPF Type Format) argument allows user to trace function and tracepoint 102 is expanded to all function arguments of the function or the tracepoint. :: 176 Also, here is an example of tracepoint events on ``sched_switch`` tracepoint. 197 the other hand, the ``sched_switch`` tracepoint probe event shows *raw*
|
H A D | events-nmi.rst | 13 You might want to use this tracepoint if you suspect that your 19 and this tracepoint will allow you to drill down and get some
|
H A D | index.rst | 9 tracepoint-analysis
|
/openbmc/linux/include/linux/ |
H A D | tracepoint-defs.h | 32 struct tracepoint { struct 47 typedef struct tracepoint * const tracepoint_ptr_t; argument 51 struct tracepoint *tp; 82 extern struct tracepoint __tracepoint_##tp 88 # define tracepoint_enabled(tracepoint) false argument
|
H A D | tracepoint.h | 25 struct tracepoint; 39 tracepoint_probe_register(struct tracepoint *tp, void *probe, void *data); 41 tracepoint_probe_register_prio(struct tracepoint *tp, void *probe, void *data, 44 tracepoint_probe_register_prio_may_exist(struct tracepoint *tp, void *probe, void *data, 47 tracepoint_probe_unregister(struct tracepoint *tp, void *probe, void *data); 49 tracepoint_probe_register_may_exist(struct tracepoint *tp, void *probe, in tracepoint_probe_register_may_exist() 56 for_each_kernel_tracepoint(void (*fct)(struct tracepoint *tp, void *priv), 114 static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p) in tracepoint_ptr_deref() 125 static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p) in tracepoint_ptr_deref() 254 extern struct tracepoint __tracepoint_##name; \ [all …]
|
/openbmc/linux/Documentation/bpf/ |
H A D | redirect.rst | 45 sudo bpftrace -e 'tracepoint:xdp:* { @cnt[probe] = count(); }' 49 @cnt[tracepoint:xdp:mem_connect]: 18 50 @cnt[tracepoint:xdp:mem_disconnect]: 18 51 @cnt[tracepoint:xdp:xdp_exception]: 19605 52 @cnt[tracepoint:xdp:xdp_devmap_xmit]: 1393604 53 @cnt[tracepoint:xdp:xdp_redirect]: 22292200 64 'tracepoint:xdp:xdp_redirect*_err {@redir_errno[-args->err] = count();} 65 tracepoint:xdp:xdp_devmap_xmit {@devmap_errno[-args->err] = count();}'
|
/openbmc/linux/Documentation/trace/postprocess/ |
H A D | trace-pagealloc-postprocess.pl | 189 my $tracepoint; 198 $tracepoint = $4; 224 if ($tracepoint eq "mm_page_alloc") { 226 } elsif ($tracepoint eq "mm_page_free") { 228 } elsif ($tracepoint eq "mm_page_free_batched") { 230 } elsif ($tracepoint eq "mm_page_pcpu_drain") { 233 } elsif ($tracepoint eq "mm_page_alloc_zone_locked") { 236 } elsif ($tracepoint eq "mm_page_alloc_extfrag") { 279 $tracepoint ne "mm_page_pcpu_drain") { 287 $tracepoint ne "mm_page_alloc_zone_locked") {
|
H A D | trace-vmscan-postprocess.pl | 272 my $tracepoint; 282 $tracepoint = $5; 305 if ($tracepoint eq "mm_vmscan_direct_reclaim_begin") { 320 } elsif ($tracepoint eq "mm_vmscan_direct_reclaim_end") { 332 } elsif ($tracepoint eq "mm_vmscan_kswapd_wake") { 352 } elsif ($tracepoint eq "mm_vmscan_kswapd_sleep") { 364 } elsif ($tracepoint eq "mm_vmscan_wakeup_kswapd") { 376 } elsif ($tracepoint eq "mm_vmscan_lru_isolate") { 401 } elsif ($tracepoint eq "mm_vmscan_lru_shrink_inactive") { 422 } elsif ($tracepoint eq "mm_vmscan_writepage") {
|
/openbmc/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-perf.rst | 33 List all raw_tracepoint, tracepoint, kprobe attachment in the system. 37 The attachment point for raw_tracepoint/tracepoint is the trace probe name. 58 pid 21767 fd 5: prog_id 8 tracepoint sys_enter_nanosleep 68 {"pid":21767,"fd":5,"prog_id":8,"fd_type":"tracepoint","tracepoint":"sys_enter_nanosleep"}, \
|
/openbmc/linux/tools/perf/python/ |
H A D | tracepoint.py | 8 class tracepoint(perf.evsel): class 10 config = perf.tracepoint(sys, name) 18 tp = tracepoint("sched", "sched_switch")
|
/openbmc/linux/kernel/ |
H A D | tracepoint.c | 308 static void tracepoint_update_call(struct tracepoint *tp, struct tracepoint_func *tp_funcs) in tracepoint_update_call() 323 static int tracepoint_add_func(struct tracepoint *tp, in tracepoint_add_func() 396 static int tracepoint_remove_func(struct tracepoint *tp, in tracepoint_remove_func() 472 int tracepoint_probe_register_prio_may_exist(struct tracepoint *tp, void *probe, in tracepoint_probe_register_prio_may_exist() 501 int tracepoint_probe_register_prio(struct tracepoint *tp, void *probe, in tracepoint_probe_register_prio() 529 int tracepoint_probe_register(struct tracepoint *tp, void *probe, void *data) in tracepoint_probe_register() 543 int tracepoint_probe_unregister(struct tracepoint *tp, void *probe, void *data) in tracepoint_probe_unregister() 559 void (*fct)(struct tracepoint *tp, void *priv), in for_each_tracepoint_range() 635 static void tp_module_going_check_quiescent(struct tracepoint *tp, void *priv) in tp_module_going_check_quiescent() 745 void for_each_kernel_tracepoint(void (*fct)(struct tracepoint *tp, void *priv), in for_each_kernel_tracepoint()
|
/openbmc/linux/Documentation/bpf/libbpf/ |
H A D | program_types.rst | 16 format of ``extras`` depends on the program type, e.g. ``SEC("tracepoint/<category>/<name>")`` 154 | | | ``tracepoint… 201 .. [#rawtp] The ``raw_tp`` attach format is ``raw_tracepoint[.w]/<tracepoint>``. 202 .. [#tp] The ``tracepoint`` attach format is ``tracepoint/<category>/<name>``.
|
/openbmc/linux/Documentation/trace/rv/ |
H A D | da_monitor_instrumentation.rst | 39 rv_attach_trace_probe("wip", /* XXX: tracepoint */, handle_preempt_disable); 40 rv_attach_trace_probe("wip", /* XXX: tracepoint */, handle_preempt_enable); 41 rv_attach_trace_probe("wip", /* XXX: tracepoint */, handle_sched_waking); 156 rv_attach_trace_probe("wip", /* XXX: tracepoint */, handle_preempt_enable); 157 rv_attach_trace_probe("wip", /* XXX: tracepoint */, handle_sched_waking); 158 rv_attach_trace_probe("wip", /* XXX: tracepoint */, handle_preempt_disable);
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | fill_link_info.c | 81 ASSERT_EQ(info.perf_event.tracepoint.name_len, strlen(TP_NAME) + 1, in verify_perf_link_info() 83 if (!info.perf_event.tracepoint.tp_name) { in verify_perf_link_info() 84 info.perf_event.tracepoint.tp_name = ptr_to_u64(&buf); in verify_perf_link_info() 85 info.perf_event.tracepoint.name_len = sizeof(buf); in verify_perf_link_info() 89 ASSERT_EQ(info.perf_event.tracepoint.cookie, PERF_EVENT_COOKIE, "tracepoint_cookie"); in verify_perf_link_info() 91 err = strncmp(u64_to_ptr(info.perf_event.tracepoint.tp_name), TP_NAME, in verify_perf_link_info()
|
/openbmc/openbmc/poky/meta/recipes-kernel/lttng/lttng-ust/ |
H A D | 0001-Fix-Build-examples-when-rpath-is-stripped-from-in-bu.patch | 21 /usr/bin/ld: warning: liblttng-ust-tracepoint.so.1, needed by ../../../src/lib/lttng-ust/.libs/libl… 69 …bs:/home/xxx/src/efficios/lttng/master/src/lttng-ust/src/lib/lttng-ust-tracepoint/.libs:/home/xxx/… 135 …ust/.libs -L../../../src/lib/lttng-ust-common/.libs -L../../../src/lib/lttng-ust-tracepoint/.libs \ 138 + -Wl,-rpath-link="$(abs_top_builddir)/src/lib/lttng-ust-tracepoint/.libs/"' \ 147 …_builddir)/src/lib/lttng-ust-common/.libs;$(abs_top_builddir)/src/lib/lttng-ust-tracepoint/.libs" \ 152 …ust/.libs -L../../../src/lib/lttng-ust-common/.libs -L../../../src/lib/lttng-ust-tracepoint/.libs \ 155 + -Wl,-rpath-link=$(abs_top_builddir)/src/lib/lttng-ust-tracepoint/.libs/" \
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | tc_flower.sh | 46 local tracepoint=$1 49 perf record -q -e $tracepoint $cmd 55 local tracepoint=$1 58 perf record -a -q -e $tracepoint sleep $seconds 64 local tracepoint=$1 67 return `echo $perf_output | grep "$tracepoint:" | wc -l` 72 local tracepoint=$1 75 __tp_hit_count $tracepoint 84 local tracepoint=$1 86 __tp_hit_count $tracepoint
|
/openbmc/openbmc/poky/documentation/styles/config/vocabularies/OpenSource/ |
H A D | accept.txt | 18 tracepoint
|
/openbmc/linux/samples/trace_events/ |
H A D | trace_custom_sched.c | 39 static void fct(struct tracepoint *tp, void *priv) in fct()
|
/openbmc/linux/kernel/trace/ |
H A D | trace_synth.h | 35 struct tracepoint *tp;
|
H A D | trace_fprobe.c | 13 #include <linux/tracepoint.h> 47 struct tracepoint *tpoint; 387 struct tracepoint *tpoint, in alloc_trace_fprobe() 701 struct tracepoint *tpoint = tf->tpoint; in __register_trace_fprobe() 704 * Here, we do 2 steps to enable fprobe on a tracepoint. in __register_trace_fprobe() 705 * At first, put __probestub_##TP function on the tracepoint in __register_trace_fprobe() 897 struct tracepoint *tpoint; 900 static void __find_tracepoint_cb(struct tracepoint *tp, void *priv) in __find_tracepoint_cb() 908 static struct tracepoint *find_tracepoint(const char *tp_name) in find_tracepoint() 970 * - Add tracepoint prob in __trace_fprobe_create() [all...] |
/openbmc/linux/tools/perf/Documentation/ |
H A D | security.txt | 52 + tracepoint 148 >= 0: Disallow raw and ftrace function tracepoint access 178 class perf_event { cpu kernel open read tracepoint write }; 182 allow unconfined_t self:perf_event { cpu kernel open read tracepoint write };
|
H A D | perf-evlist.txt | 40 Show tracepoint field names.
|
/openbmc/linux/kernel/module/ |
H A D | version.c | 98 struct tracepoint * const *tp) in module_layout()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | Makefile | 46 tracepoint.o
|