Searched refs:tp_name (Results 1 – 10 of 10) sorted by relevance
/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 test_bpf_obj_id() local 162 link_infos[i].raw_tracepoint.tp_name = ptr_to_u64(&tp_name); in test_bpf_obj_id() 163 link_infos[i].raw_tracepoint.tp_name_len = sizeof(tp_name); in test_bpf_obj_id() 169 link_infos[i].raw_tracepoint.tp_name != ptr_to_u64(&tp_name) || in test_bpf_obj_id() 170 strcmp(u64_to_ptr(link_infos[i].raw_tracepoint.tp_name), in test_bpf_obj_id() 181 (const char *)u64_to_ptr(link_infos[i].raw_tracepoint.tp_name), in 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 | 13 #define MODULES_CASE(name, sec_name, tp_name) { \ argument 32 .raw_tp_name = tp_name, \ 821 const char *tp_name, *probe_name; in test_core_reloc() local 861 tp_name = "sys_enter"; in test_core_reloc() 864 tp_name = test_case->raw_tp_name; /* NULL for tp_btf */ in test_core_reloc() 896 link = bpf_program__attach_raw_tracepoint(prog, tp_name); in test_core_reloc()
|
/tools/bpf/bpftool/ |
D | link.c | 125 u64_to_ptr(info->raw_tracepoint.tp_name)); in show_link_close_json() 217 (const char *)u64_to_ptr(info->raw_tracepoint.tp_name)); in show_link_close_plain() 279 !info.raw_tracepoint.tp_name) { in do_show_link() 280 info.raw_tracepoint.tp_name = (unsigned long)&buf; in do_show_link()
|
D | gen.c | 312 const char *tp_name; in codegen_attach_detach() local 325 tp_name = strchr(bpf_program__section_name(prog), '/') + 1; in codegen_attach_detach() 326 printf("\tint fd = bpf_raw_tracepoint_open(\"%s\", prog_fd);\n", tp_name); in codegen_attach_detach()
|
/tools/perf/util/ |
D | python.c | 207 .tp_name = "perf.mmap_event", 242 .tp_name = "perf.task_event", 271 .tp_name = "perf.comm_event", 302 .tp_name = "perf.throttle_event", 337 .tp_name = "perf.lost_event", 367 .tp_name = "perf.read_event", 478 .tp_name = "perf.sample_event", 516 .tp_name = "perf.context_switch_event", 649 .tp_name = "perf.cpu_map", 718 .tp_name = "perf.thread_map", [all …]
|
/tools/lib/bpf/ |
D | libbpf.h | 319 const char *tp_name); 323 const char *tp_name, 328 const char *tp_name);
|
D | libbpf.c | 9371 const char *tp_name) in determine_tracepoint_id() argument 9378 tp_category, tp_name); in determine_tracepoint_id() 9383 tp_category, tp_name); in determine_tracepoint_id() 9390 const char *tp_name) in perf_event_open_tracepoint() argument 9396 tp_id = determine_tracepoint_id(tp_category, tp_name); in perf_event_open_tracepoint() 9399 tp_category, tp_name, in perf_event_open_tracepoint() 9413 tp_category, tp_name, in perf_event_open_tracepoint() 9422 const char *tp_name, in bpf_program__attach_tracepoint_opts() argument 9435 pfd = perf_event_open_tracepoint(tp_category, tp_name); in bpf_program__attach_tracepoint_opts() 9438 prog->name, tp_category, tp_name, in bpf_program__attach_tracepoint_opts() [all …]
|
/tools/perf/ |
D | builtin-trace.c | 1759 char tp_name[128]; in trace__read_syscall_info() local 1799 snprintf(tp_name, sizeof(tp_name), "sys_enter_%s", sc->name); in trace__read_syscall_info() 1800 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info() 1803 snprintf(tp_name, sizeof(tp_name), "sys_enter_%s", sc->fmt->alias); in trace__read_syscall_info() 1804 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
|
/tools/include/uapi/linux/ |
D | bpf.h | 5634 __aligned_u64 tp_name; /* in/out: tp_name buffer ptr */ member
|