Home
last modified time | relevance | path

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

1234

/openbmc/linux/Documentation/trace/
H A Dtracepoints.rst17 that you can provide at runtime. A tracepoint can be "on" (a probe is
26 the tracepoint site).
40 - A tracepoint definition, placed in a header file.
41 - The tracepoint statement, in C code.
53 #include <linux/tracepoint.h>
85 function called by this tracepoint.
94 probe (function to call) for the specific tracepoint through
117 If the tracepoint has to be used in kernel modules, an
135 All trace_<tracepoint>() calls have a matching trace_<tracepoint>_enabled()
139 the tracepoint being enabled and the check being seen.
[all …]
H A Dfprobetrace.rst16 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 Devents-nmi.rst13 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 Dindex.rst9 tracepoint-analysis
/openbmc/linux/include/linux/
H A Dtracepoint-defs.h32 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 Dtracepoint.h25 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 Dredirect.rst45 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 Dtrace-pagealloc-postprocess.pl189 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 Dtrace-vmscan-postprocess.pl272 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 Dbpftool-perf.rst33 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 Dtracepoint.py8 class tracepoint(perf.evsel): class
10 config = perf.tracepoint(sys, name)
18 tp = tracepoint("sched", "sched_switch")
/openbmc/linux/kernel/
H A Dtracepoint.c308 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 Dprogram_types.rst16 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/openbmc/poky/meta/recipes-kernel/lttng/lttng-ust/
H A D0001-Makefile.am-update-rpath-link.patch7 liblttng-ust.so/liblttng-ust-common.so/liblttng-ust-tracepoint.so
11 ld: warning: liblttng-ust-tracepoint.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.…
30 …="$(PWD)/../../src/lib/lttng-ust/.libs/:$(PWD)/../../src/lib/lttng-ust-tracepoint/.libs:$(PWD)/../…
/openbmc/linux/Documentation/trace/rv/
H A Dda_monitor_instrumentation.rst39 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 Dfill_link_info.c76 if (!info.perf_event.tracepoint.tp_name) { in verify_perf_link_info()
77 ASSERT_EQ(info.perf_event.tracepoint.name_len, 0, "name_len"); in verify_perf_link_info()
78 info.perf_event.tracepoint.tp_name = ptr_to_u64(&buf); in verify_perf_link_info()
79 info.perf_event.tracepoint.name_len = sizeof(buf); in verify_perf_link_info()
83 err = strncmp(u64_to_ptr(info.perf_event.tracepoint.tp_name), TP_NAME, in verify_perf_link_info()
/openbmc/openbmc/poky/documentation/styles/config/vocabularies/OpenSource/
H A Daccept.txt18 tracepoint
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Dtc_flower.sh46 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/linux/samples/trace_events/
H A Dtrace_custom_sched.c39 static void fct(struct tracepoint *tp, void *priv) in fct()
/openbmc/linux/kernel/trace/
H A Dtrace_synth.h35 struct tracepoint *tp;
H A Dtrace_fprobe.c46 struct tracepoint *tpoint;
369 struct tracepoint *tpoint, in alloc_trace_fprobe()
683 struct tracepoint *tpoint = tf->tpoint; in __register_trace_fprobe()
879 struct tracepoint *tpoint;
882 static void __find_tracepoint_cb(struct tracepoint *tp, void *priv) in __find_tracepoint_cb()
890 static struct tracepoint *find_tracepoint(const char *tp_name) in find_tracepoint()
980 struct tracepoint *tpoint = NULL; in __trace_fprobe_create()
/openbmc/linux/tools/perf/Documentation/
H A Dperf-evlist.txt40 Show tracepoint field names.
H A Dsecurity.txt52 + 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 };
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A DMakefile46 tracepoint.o
/openbmc/linux/kernel/module/
H A Dversion.c98 struct tracepoint * const *tp) in module_layout()

1234