Home
last modified time | relevance | path

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

123

/Linux-v5.15/Documentation/trace/
Dtracepoints.rst16 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 …]
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
Dindex.rst9 tracepoint-analysis
/Linux-v5.15/include/linux/
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
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()
244 extern struct tracepoint __tracepoint_##name; \
[all …]
Dbpf_types.h41 BPF_PROG_TYPE(BPF_PROG_TYPE_TRACEPOINT, tracepoint,
/Linux-v5.15/Documentation/trace/postprocess/
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") {
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-v5.15/tools/bpf/bpftool/Documentation/
Dbpftool-perf.rst29 List all raw_tracepoint, tracepoint, kprobe attachment in the system.
33 The attachment point for raw_tracepoint/tracepoint is the trace probe name.
54 pid 21767 fd 5: prog_id 8 tracepoint sys_enter_nanosleep
64 {"pid":21767,"fd":5,"prog_id":8,"fd_type":"tracepoint","tracepoint":"sys_enter_nanosleep"}, \
/Linux-v5.15/tools/perf/python/
Dtracepoint.py8 class tracepoint(perf.evsel): class
10 config = perf.tracepoint(sys, name)
18 tp = tracepoint("sched", "sched_switch")
/Linux-v5.15/kernel/
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()
634 static void tp_module_going_check_quiescent(struct tracepoint *tp, void *priv) in tp_module_going_check_quiescent()
746 void for_each_kernel_tracepoint(void (*fct)(struct tracepoint *tp, void *priv), in for_each_kernel_tracepoint()
/Linux-v5.15/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
/Linux-v5.15/tools/perf/util/
Dparse-events.y608 struct tracepoint_name tracepoint; variable
610 ABORT_ON(asprintf(&tracepoint.sys, "%s-%s", $1, $3) < 0);
611 tracepoint.event = $5;
614 $$ = tracepoint;
619 struct tracepoint_name tracepoint = {$1, $3}; variable
621 $$ = tracepoint;
/Linux-v5.15/kernel/trace/
Dtrace_synth.h34 struct tracepoint *tp;
DKconfig654 tracepoint events.
759 bool "Add tracepoint that benchmarks tracepoints"
761 This option creates the tracepoint "benchmark:benchmark_event".
762 When the tracepoint is enabled, it kicks off a kernel thread that
764 run), and calls the tracepoint. Each iteration will record the time
765 it took to write to the tracepoint and the next iteration that
766 data will be passed to the tracepoint itself. That is, the tracepoint
767 will report the time it took to do the previous tracepoint.
768 The string written to the tracepoint is a static string of 128 bytes
/Linux-v5.15/Documentation/admin-guide/mm/damon/
Dusage.rst102 DAMON provides the monitoring results via a tracepoint,
104 record the tracepoint events and show results using tracepoint supporting tools
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
DMakefile45 tracepoint.o
Dtracepoint.h135 #define TRACE_INCLUDE_FILE tracepoint
/Linux-v5.15/tools/perf/Documentation/
Dperf-evlist.txt40 Show tracepoint field names.
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 };
Dperf-list.txt12 [hw|sw|cache|tracepoint|pmu|sdt|metric|metricgroup|event_glob]
284 . 'tracepoint' to list all tracepoint events, alternatively use
285 'subsys_glob:event_glob' to filter by tracepoint subsystems such as sched,
307 . '--raw-dump [hw|sw|cache|tracepoint|pmu|event_glob]', shows the raw-dump of
/Linux-v5.15/Documentation/translations/zh_CN/core-api/
Dindex.rst124 tracepoint
/Linux-v5.15/Documentation/core-api/
Dtracepoint.rst14 passed a unique set of parameters defined by each tracepoint.
Dindex.rst104 tracepoint
/Linux-v5.15/mm/
DKconfig.debug84 bool "Enable tracepoint to track down page reference manipulation"
88 This is a feature to add tracepoint for tracking down page reference

123