/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_obj_id.c | 27 char jited_insns[128], xlated_insns[128], zeros[128], tp_name[128]; in serial_test_bpf_obj_id() local 162 link_infos[i].raw_tracepoint.tp_name = ptr_to_u64(&tp_name); in serial_test_bpf_obj_id() 163 link_infos[i].raw_tracepoint.tp_name_len = sizeof(tp_name); in serial_test_bpf_obj_id() 169 link_infos[i].raw_tracepoint.tp_name != ptr_to_u64(&tp_name) || in serial_test_bpf_obj_id() 170 strcmp(u64_to_ptr(link_infos[i].raw_tracepoint.tp_name), in serial_test_bpf_obj_id() 181 (const char *)u64_to_ptr(link_infos[i].raw_tracepoint.tp_name), in serial_test_bpf_obj_id()
|
D | task_fd_query_tp.c | 5 const char *tp_name) in test_task_fd_query_tp_core() argument 60 err = (fd_type == BPF_FD_TYPE_TRACEPOINT) && !strcmp(buf, tp_name); in test_task_fd_query_tp_core()
|
D | core_reloc.c | 14 #define MODULES_CASE(name, pg_name, tp_name) { \ argument 33 .raw_tp_name = tp_name, \ 1002 const char *tp_name, *probe_name; in run_core_reloc_tests() local 1066 tp_name = test_case->raw_tp_name; /* NULL for tp_btf */ in run_core_reloc_tests() 1097 link = bpf_program__attach_raw_tracepoint(prog, tp_name); in run_core_reloc_tests()
|
/Linux-v6.1/tools/bpf/bpftool/ |
D | link.c | 168 u64_to_ptr(info->raw_tracepoint.tp_name)); in show_link_close_json() 278 (const char *)u64_to_ptr(info->raw_tracepoint.tp_name)); in show_link_close_plain() 340 !info.raw_tracepoint.tp_name) { in do_show_link() 341 info.raw_tracepoint.tp_name = (unsigned long)&buf; in do_show_link()
|
D | gen.c | 538 const char *tp_name; in codegen_attach_detach() local 551 tp_name = strchr(bpf_program__section_name(prog), '/') + 1; in codegen_attach_detach() 552 printf("\tint fd = skel_raw_tracepoint_open(\"%s\", prog_fd);\n", tp_name); in codegen_attach_detach()
|
/Linux-v6.1/tools/perf/util/ |
D | python.c | 230 .tp_name = "perf.mmap_event", 265 .tp_name = "perf.task_event", 294 .tp_name = "perf.comm_event", 325 .tp_name = "perf.throttle_event", 360 .tp_name = "perf.lost_event", 390 .tp_name = "perf.read_event", 503 .tp_name = "perf.sample_event", 541 .tp_name = "perf.context_switch_event", 674 .tp_name = "perf.cpu_map", 743 .tp_name = "perf.thread_map", [all …]
|
/Linux-v6.1/tools/lib/bpf/ |
D | libbpf.h | 615 const char *tp_name); 619 const char *tp_name, 624 const char *tp_name);
|
D | libbpf.c | 10981 const char *tp_name) in determine_tracepoint_id() argument 10987 tracefs_path(), tp_category, tp_name); in determine_tracepoint_id() 10992 tp_category, tp_name); in determine_tracepoint_id() 10999 const char *tp_name) in perf_event_open_tracepoint() argument 11006 tp_id = determine_tracepoint_id(tp_category, tp_name); in perf_event_open_tracepoint() 11009 tp_category, tp_name, in perf_event_open_tracepoint() 11024 tp_category, tp_name, in perf_event_open_tracepoint() 11033 const char *tp_name, in bpf_program__attach_tracepoint_opts() argument 11046 pfd = perf_event_open_tracepoint(tp_category, tp_name); in bpf_program__attach_tracepoint_opts() 11049 prog->name, tp_category, tp_name, in bpf_program__attach_tracepoint_opts() [all …]
|
/Linux-v6.1/kernel/bpf/ |
D | syscall.c | 3168 char __user *ubuf = u64_to_user_ptr(info->raw_tracepoint.tp_name); in bpf_raw_tp_link_fill_link_info() 3169 const char *tp_name = raw_tp_link->btp->tp->name; in bpf_raw_tp_link_fill_link_info() local 3171 size_t tp_len = strlen(tp_name); in bpf_raw_tp_link_fill_link_info() 3182 if (copy_to_user(ubuf, tp_name, tp_len + 1)) in bpf_raw_tp_link_fill_link_info() 3187 if (copy_to_user(ubuf, tp_name, ulen - 1)) in bpf_raw_tp_link_fill_link_info() 3288 const char *tp_name; in bpf_raw_tp_link_attach() local 3303 tp_name = prog->aux->attach_func_name; in bpf_raw_tp_link_attach() 3312 tp_name = buf; in bpf_raw_tp_link_attach() 3318 btp = bpf_get_raw_tracepoint(tp_name); in bpf_raw_tp_link_attach()
|
/Linux-v6.1/tools/perf/ |
D | builtin-trace.c | 1764 char tp_name[128]; in trace__read_syscall_info() local 1804 snprintf(tp_name, sizeof(tp_name), "sys_enter_%s", sc->name); in trace__read_syscall_info() 1805 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info() 1808 snprintf(tp_name, sizeof(tp_name), "sys_enter_%s", sc->fmt->alias); in trace__read_syscall_info() 1809 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
|
/Linux-v6.1/tools/include/uapi/linux/ |
D | bpf.h | 6241 __aligned_u64 tp_name; /* in/out: tp_name buffer ptr */ member
|
/Linux-v6.1/include/uapi/linux/ |
D | bpf.h | 6241 __aligned_u64 tp_name; /* in/out: tp_name buffer ptr */ member
|