Home
last modified time | relevance | path

Searched refs:tp_name (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c27 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()
Dtask_fd_query_tp.c5 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()
Dcore_reloc.c14 #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-6.1.9/tools/bpf/bpftool/
Dlink.c168 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()
Dgen.c538 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-6.1.9/tools/perf/util/
Dpython.c230 .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-6.1.9/tools/lib/bpf/
Dlibbpf.h615 const char *tp_name);
619 const char *tp_name,
624 const char *tp_name);
Dlibbpf.c10993 const char *tp_name) in determine_tracepoint_id() argument
10999 tracefs_path(), tp_category, tp_name); in determine_tracepoint_id()
11004 tp_category, tp_name); in determine_tracepoint_id()
11011 const char *tp_name) in perf_event_open_tracepoint() argument
11018 tp_id = determine_tracepoint_id(tp_category, tp_name); in perf_event_open_tracepoint()
11021 tp_category, tp_name, in perf_event_open_tracepoint()
11036 tp_category, tp_name, in perf_event_open_tracepoint()
11045 const char *tp_name, in bpf_program__attach_tracepoint_opts() argument
11058 pfd = perf_event_open_tracepoint(tp_category, tp_name); in bpf_program__attach_tracepoint_opts()
11061 prog->name, tp_category, tp_name, in bpf_program__attach_tracepoint_opts()
[all …]
/linux-6.1.9/kernel/bpf/
Dsyscall.c3166 char __user *ubuf = u64_to_user_ptr(info->raw_tracepoint.tp_name); in bpf_raw_tp_link_fill_link_info()
3167 const char *tp_name = raw_tp_link->btp->tp->name; in bpf_raw_tp_link_fill_link_info() local
3169 size_t tp_len = strlen(tp_name); in bpf_raw_tp_link_fill_link_info()
3180 if (copy_to_user(ubuf, tp_name, tp_len + 1)) in bpf_raw_tp_link_fill_link_info()
3185 if (copy_to_user(ubuf, tp_name, ulen - 1)) in bpf_raw_tp_link_fill_link_info()
3286 const char *tp_name; in bpf_raw_tp_link_attach() local
3301 tp_name = prog->aux->attach_func_name; in bpf_raw_tp_link_attach()
3310 tp_name = buf; in bpf_raw_tp_link_attach()
3316 btp = bpf_get_raw_tracepoint(tp_name); in bpf_raw_tp_link_attach()
/linux-6.1.9/tools/perf/
Dbuiltin-trace.c1768 char tp_name[128]; in trace__read_syscall_info() local
1808 snprintf(tp_name, sizeof(tp_name), "sys_enter_%s", sc->name); in trace__read_syscall_info()
1809 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1812 snprintf(tp_name, sizeof(tp_name), "sys_enter_%s", sc->fmt->alias); in trace__read_syscall_info()
1813 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h6241 __aligned_u64 tp_name; /* in/out: tp_name buffer ptr */ member
/linux-6.1.9/include/uapi/linux/
Dbpf.h6241 __aligned_u64 tp_name; /* in/out: tp_name buffer ptr */ member