Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
247 extern struct tracepoint __tracepoint_##name; \
[all …]
/kernel/linux/linux-5.10/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") {
/kernel/linux/linux-5.10/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"}, \
/kernel/linux/linux-5.10/tools/perf/python/
Dtracepoint.py8 class tracepoint(perf.evsel): class
10 config = perf.tracepoint(sys, name)
18 tp = tracepoint("sched", "sched_switch")
/kernel/linux/linux-5.10/kernel/
Dtracepoint.c329 static void tracepoint_update_call(struct tracepoint *tp, struct tracepoint_func *tp_funcs) in tracepoint_update_call()
344 static int tracepoint_add_func(struct tracepoint *tp, in tracepoint_add_func()
417 static int tracepoint_remove_func(struct tracepoint *tp, in tracepoint_remove_func()
493 int tracepoint_probe_register_prio_may_exist(struct tracepoint *tp, void *probe, in tracepoint_probe_register_prio_may_exist()
522 int tracepoint_probe_register_prio(struct tracepoint *tp, void *probe, in tracepoint_probe_register_prio()
550 int tracepoint_probe_register(struct tracepoint *tp, void *probe, void *data) in tracepoint_probe_register()
564 int tracepoint_probe_unregister(struct tracepoint *tp, void *probe, void *data) in tracepoint_probe_unregister()
580 void (*fct)(struct tracepoint *tp, void *priv), in for_each_tracepoint_range()
655 static void tp_module_going_check_quiescent(struct tracepoint *tp, void *priv) in tp_module_going_check_quiescent()
767 void for_each_kernel_tracepoint(void (*fct)(struct tracepoint *tp, void *priv), in for_each_kernel_tracepoint()
/kernel/linux/build/test/tracepointtest/
DKconfig14 # Kconfig for tracepoint test
17 menu "tracepoint test"
DBUILD.gn17 script = "tracepoint.sh"
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/tools/perf/util/
Dparse-events.y600 struct tracepoint_name tracepoint; variable
602 ABORT_ON(asprintf(&tracepoint.sys, "%s-%s", $1, $3) < 0);
603 tracepoint.event = $5;
606 $$ = tracepoint;
611 struct tracepoint_name tracepoint = {$1, $3}; variable
613 $$ = tracepoint;
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_synth.h34 struct tracepoint *tp;
/kernel/linux/linux-5.10/drivers/hooks/
DKconfig10 Allow vendor modules to attach to tracepoint "hooks" defined via
/kernel/linux/linux-5.10/drivers/hck/
DKconfig16 Allow vendor modules to attach to tracepoint "hooks" defined via
/kernel/linux/common_modules/newip/src/linux-5.10/net/newip/
DKconfig23 Allow NewIP modules to attach to tracepoint "hooks" defined via
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
DMakefile44 tracepoint.o
/kernel/linux/linux-5.10/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 };
/kernel/linux/build/test/tracepointtest/tracepoint_test/
DKconfig18 Enable test tracepoint for vendor hooks
/kernel/linux/build/test/tracepointtest/vendoramlemmcpartition_test/
DKconfig19 Enable aml emmc partition tracepoint for vendor hooks
/kernel/linux/build/test/tracepointtest/vendordommap_test/
DKconfig19 Enable mmap tracepoint for vendor hooks
/kernel/linux/build/test/tracepointtest/vendorfakebootpartition_test/
DKconfig19 Enable fake boot partition tracepoint for vendor hooks

123