/linux-master/arch/arc/kernel/ |
H A D | entry.S | 229 ; syscall tracing ongoing, invoke pre-post-hooks around syscall 308 ; a tracing signal, tracer could have done a POKEUSR(CALLEE reg)
|
H A D | entry-compact.S | 233 ; icause1 needs to be read early, before calling tracing, which
|
/linux-master/arch/mips/kernel/ |
H A D | scall64-o32.S | 99 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled?
|
H A D | scall64-n64.S | 52 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled?
|
H A D | scall64-n32.S | 50 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled?
|
H A D | scall32-o32.S | 92 lw t0, TI_FLAGS($28) # syscall tracing enabled?
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 2867 * time, but this will not prevent from loading bunch of tracing prog 2871 * doesn't have to be cleared in bpf_tracing_link_release, since tracing 3289 info->tracing.attach_type = tr_link->attach_type; 3291 &info->tracing.target_obj_id, 3292 &info->tracing.target_btf_id); 5221 attr->link_create.tracing.cookie); 5239 attr->link_create.tracing.cookie);
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 140 [BPF_LINK_TYPE_TRACING] = "tracing", 218 [BPF_PROG_TYPE_TRACING] = "tracing", 10813 #define DEBUGFS "/sys/kernel/debug/tracing" 10814 #define TRACEFS "/sys/kernel/tracing" 12369 link_opts.tracing.cookie = OPTS_GET(opts, cookie, 0);
|
H A D | bpf.h | 421 } tracing; member in union:bpf_link_create_opts::__anon3314
|
H A D | bpf.c | 792 attr.link_create.tracing.cookie = OPTS_GET(opts, tracing.cookie, 0); 793 if (!OPTS_ZEROED(opts, tracing))
|
/linux-master/tools/ |
H A D | Makefile | 37 @echo ' tracing - misc tracing tools' 71 counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi pci firmware debugging tracing: FORCE 122 pci debugging tracing thermal thermometer thermal-engine
|
/linux-master/tools/perf/tests/shell/base_probe/ |
H A D | settings.sh | 30 test -e /sys/kernel/debug/tracing/kprobe_events 35 test -e /sys/kernel/debug/tracing/uprobe_events 40 echo 0 > /sys/kernel/debug/tracing/events/enable 41 check_kprobes_available && echo > /sys/kernel/debug/tracing/kprobe_events 42 check_uprobes_available && echo > /sys/kernel/debug/tracing/uprobe_events
|
/linux-master/tools/testing/selftests/ftrace/ |
H A D | ftracetest | 165 # If tracefs exists, then so does /sys/kernel/tracing 166 if [ -d "/sys/kernel/tracing" ]; then 167 mount -t tracefs nodev /sys/kernel/tracing || 168 errexit "Failed to mount /sys/kernel/tracing" 169 TRACING_DIR="/sys/kernel/tracing" 175 TRACING_DIR="/sys/kernel/debug/tracing" 182 TRACING_DIR="$DEBUGFS_DIR/tracing"
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 1016 /* Note that tracing related programs such as 1020 * therefore break existing tracing BPF programs. Tracing BPF 1742 } tracing; member in union:bpf_attr::__anon3150::__anon3153 1872 * For tracing programs, safely attempt to read *size* bytes from 1892 * to file *\/sys/kernel/tracing/trace* from TraceFS, if 1898 * Lines are discarded while *\/sys/kernel/tracing/trace* is 1899 * open, use *\/sys/kernel/tracing/trace_pipe* to avoid this. 1902 * *\/sys/kernel/tracing/trace_options* (see also the 2381 * Note that this helper is not restricted to tracing use cases 2413 * on which the tracing progra 6619 } tracing; member in union:bpf_link_info::__anon3204 [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | link.c | 500 show_link_attach_type_json(info->tracing.attach_type, 502 jsonw_uint_field(json_wtr, "target_obj_id", info->tracing.target_obj_id); 503 jsonw_uint_field(json_wtr, "target_btf_id", info->tracing.target_btf_id); 888 show_link_attach_type_plain(info->tracing.attach_type); 889 if (info->tracing.target_obj_id || info->tracing.target_btf_id) 891 info->tracing.target_obj_id, 892 info->tracing.target_btf_id);
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 1016 /* Note that tracing related programs such as 1020 * therefore break existing tracing BPF programs. Tracing BPF 1742 } tracing; member in union:bpf_attr::__anon2609::__anon2612 1872 * For tracing programs, safely attempt to read *size* bytes from 1892 * to file *\/sys/kernel/tracing/trace* from TraceFS, if 1898 * Lines are discarded while *\/sys/kernel/tracing/trace* is 1899 * open, use *\/sys/kernel/tracing/trace_pipe* to avoid this. 1902 * *\/sys/kernel/tracing/trace_options* (see also the 2381 * Note that this helper is not restricted to tracing use cases 2413 * on which the tracing progra 6619 } tracing; member in union:bpf_link_info::__anon2663 [all...] |
/linux-master/include/linux/ |
H A D | bpf_types.h | 49 BPF_PROG_TYPE(BPF_PROG_TYPE_TRACING, tracing, 138 BPF_LINK_TYPE(BPF_LINK_TYPE_TRACING, tracing)
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | fexit_bpf2bpf.c | 142 ASSERT_EQ(link_info.tracing.attach_type, 145 ASSERT_EQ(link_info.tracing.target_obj_id, tgt_prog_id, "link_tgt_obj_id"); 146 ASSERT_EQ(link_info.tracing.target_btf_id, btf_id, "link_tgt_btf_id");
|
H A D | bpf_cookie.c | 505 link_opts.tracing.cookie = cookie; 512 link_opts.tracing.cookie = cookie; 519 link_opts.tracing.cookie = cookie; 557 link_opts.tracing.cookie = cookie;
|
/linux-master/scripts/ |
H A D | get_abi.pl | 550 # Exclude /sys/kernel/debug and /sys/kernel/tracing from the search path 553 return grep {!/(debug|tracing)/ } @_;
|
/linux-master/samples/bpf/ |
H A D | test_lwt_bpf.sh | 24 TRACE_ROOT=/sys/kernel/tracing
|
/linux-master/arch/arm/kernel/ |
H A D | entry-common.S | 37 * have tracing, context tracking and rseq debug disabled - the overheads 45 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing 59 * The "replacement" ret_fast_syscall for when tracing, context tracking, 75 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing 101 * "notrace" version to avoid calling into the tracing code unnecessarily. 255 * the syscall assembly (by tracing or context tracking.) 260 ldr r10, [tsk, #TI_FLAGS] @ check for syscall tracing 263 tst r10, #_TIF_SYSCALL_WORK @ are we tracing syscalls?
|
/linux-master/arch/s390/boot/ |
H A D | head.S | 285 .quad 0 # cr9: tracing off 286 .quad 0 # cr10: tracing off 287 .quad 0 # cr11: tracing off 288 .quad 0 # cr12: tracing off
|
/linux-master/tools/lib/api/fs/ |
H A D | tracing_path.c | 16 static char tracing_path[PATH_MAX] = "/sys/kernel/tracing"; 18 static void __tracing_path_set(const char *tracing, const char *mountpoint) argument 21 mountpoint, tracing); 45 __tracing_path_set("tracing/", mnt); 65 __tracing_path_set("tracing/", mntpt);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_ftrace.sh | 3 if [[ -e /sys/kernel/tracing/trace ]]; then 4 TR=/sys/kernel/tracing/ 6 TR=/sys/kernel/debug/tracing/
|