Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/Documentation/trace/
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 …]
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
A Dindex.rst9 tracepoint-analysis
/linux-6.3-rc2/include/linux/
A Dtracepoint-defs.h32 struct tracepoint { struct
46 typedef struct tracepoint * const tracepoint_ptr_t; argument
50 struct tracepoint *tp;
81 extern struct tracepoint __tracepoint_##tp
87 # define tracepoint_enabled(tracepoint) false argument
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()
255 extern struct tracepoint __tracepoint_##name; \
[all …]
/linux-6.3-rc2/Documentation/bpf/
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();}'
A Dcpumasks.rst92 * A sample tracepoint showing how a task's cpumask can be queried and
145 * A simple example tracepoint program showing how a
232 * A sample tracepoint showing how a cpumask can be queried.
295 * A sample tracepoint showing how a cpumask can be mutated using
/linux-6.3-rc2/Documentation/trace/postprocess/
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") {
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") {
/linux-6.3-rc2/tools/bpf/bpftool/Documentation/
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"}, \
/linux-6.3-rc2/tools/perf/python/
A Dtracepoint.py8 class tracepoint(perf.evsel): class
10 config = perf.tracepoint(sys, name)
18 tp = tracepoint("sched", "sched_switch")
/linux-6.3-rc2/kernel/
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()
/linux-6.3-rc2/Documentation/bpf/libbpf/
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>``.
/linux-6.3-rc2/Documentation/trace/rv/
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);
/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
A 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
/linux-6.3-rc2/samples/trace_events/
A Dtrace_custom_sched.c39 static void fct(struct tracepoint *tp, void *priv) in fct()
/linux-6.3-rc2/tools/perf/util/
A Dparse-events.y644 struct tracepoint_name tracepoint; variable
646 ABORT_ON(asprintf(&tracepoint.sys, "%s-%s", $1, $3) < 0);
647 tracepoint.event = $5;
650 $$ = tracepoint;
655 struct tracepoint_name tracepoint = {$1, $3}; variable
657 $$ = tracepoint;
/linux-6.3-rc2/kernel/trace/
A Dtrace_synth.h35 struct tracepoint *tp;
A Dtrace_events_user.c48 #define EVENT_NAME(user_event) ((user_event)->tracepoint.name)
106 struct tracepoint tracepoint; member
984 struct tracepoint *tp = &user->tracepoint; in update_reg_page_for()
1308 user->tracepoint.name = name; in user_event_parse()
1324 user->call.tp = &user->tracepoint; in user_event_parse()
1394 struct tracepoint *tp; in user_events_write_core()
1421 tp = &user->tracepoint; in user_events_write_core()
/linux-6.3-rc2/tools/perf/Documentation/
A Dperf-evlist.txt40 Show tracepoint field names.
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 };
A Dperf-list.txt12 [hw|sw|cache|tracepoint|pmu|sdt|metric|metricgroup|event_glob]
330 . 'tracepoint' to list all tracepoint events, alternatively use
331 'subsys_glob:event_glob' to filter by tracepoint subsystems such as sched,
353 . '--raw-dump [hw|sw|cache|tracepoint|pmu|event_glob]', shows the raw-dump of
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A DMakefile46 tracepoint.o
/linux-6.3-rc2/kernel/module/
A Dversion.c98 struct tracepoint * const *tp) in module_layout()
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/
A Dindex.rst130 tracepoint

Completed in 44 milliseconds

1234