| /OK3568_Linux_fs/kernel/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 | 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
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | tracepoint-defs.h | 32 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
|
| 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() 247 extern struct tracepoint __tracepoint_##name; \ [all …]
|
| H A D | bpf_types.h | 41 BPF_PROG_TYPE(BPF_PROG_TYPE_TRACEPOINT, tracepoint,
|
| /OK3568_Linux_fs/kernel/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") {
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-perf.rst | 29 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"}, \
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | tracepoint.c | 329 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() [all …]
|
| /OK3568_Linux_fs/kernel/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")
|
| /OK3568_Linux_fs/kernel/include/trace/hooks/ |
| H A D | vendor_hooks.h | 18 int android_rvh_probe_register(struct tracepoint *tp, void *probe, void *data); 27 struct tracepoint __tracepoint_##_name __used \ 80 extern struct tracepoint __tracepoint_##name; \
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/lttng/lttng-ust/ |
| H A D | 0001-Makefile.am-update-rpath-link.patch | 7 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.… 29 …="$(PWD)/../../src/lib/lttng-ust/.libs/:$(PWD)/../../src/lib/lttng-ust-tracepoint/.libs:$(PWD)/../…
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
| H A D | tc_flower.sh | 45 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
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | parse-events.y | 600 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;
|
| /OK3568_Linux_fs/kernel/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-list.txt | 12 [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
|
| H A D | perf-evlist.txt | 40 Show tracepoint field names.
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | trace_synth.h | 34 struct tracepoint *tp;
|
| H A D | Kconfig | 594 tracepoint events. 699 bool "Add tracepoint that benchmarks tracepoints" 701 This option creates the tracepoint "benchmark:benchmark_event". 702 When the tracepoint is enabled, it kicks off a kernel thread that 704 run), and calls the tracepoint. Each iteration will record the time 705 it took to write to the tracepoint and the next iteration that 706 data will be passed to the tracepoint itself. That is, the tracepoint 707 will report the time it took to do the previous tracepoint. 708 The string written to the tracepoint is a static string of 128 bytes
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | Makefile | 44 tracepoint.o
|
| H A D | tracepoint.h | 135 #define TRACE_INCLUDE_FILE tracepoint
|
| /OK3568_Linux_fs/buildroot/package/lttng-modules/ |
| H A D | Config.in | 17 * CONFIG_TRACEPOINTS: kernel tracepoint instrumentation
|
| /OK3568_Linux_fs/kernel/Documentation/core-api/ |
| H A D | tracepoint.rst | 14 passed a unique set of parameters defined by each tracepoint.
|
| H A D | index.rst | 105 tracepoint
|