Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c27 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()
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.c771 const char *tp_name, *probe_name; in test_core_reloc() local
802 tp_name = NULL; in test_core_reloc()
805 tp_name = "sys_enter"; in test_core_reloc()
847 link = bpf_program__attach_raw_tracepoint(prog, tp_name); in test_core_reloc()
/tools/bpf/bpftool/
Dlink.c125 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()
/tools/perf/util/
Dpython.c180 .tp_name = "perf.mmap_event",
215 .tp_name = "perf.task_event",
244 .tp_name = "perf.comm_event",
275 .tp_name = "perf.throttle_event",
310 .tp_name = "perf.lost_event",
340 .tp_name = "perf.read_event",
451 .tp_name = "perf.sample_event",
489 .tp_name = "perf.context_switch_event",
622 .tp_name = "perf.cpu_map",
691 .tp_name = "perf.thread_map",
[all …]
/tools/lib/bpf/
Dlibbpf.h250 const char *tp_name);
253 const char *tp_name);
Dlibbpf.c9512 const char *tp_name) in determine_tracepoint_id() argument
9519 tp_category, tp_name); in determine_tracepoint_id()
9524 tp_category, tp_name); in determine_tracepoint_id()
9531 const char *tp_name) in perf_event_open_tracepoint() argument
9537 tp_id = determine_tracepoint_id(tp_category, tp_name); in perf_event_open_tracepoint()
9540 tp_category, tp_name, in perf_event_open_tracepoint()
9554 tp_category, tp_name, in perf_event_open_tracepoint()
9563 const char *tp_name) in bpf_program__attach_tracepoint() argument
9569 pfd = perf_event_open_tracepoint(tp_category, tp_name); in bpf_program__attach_tracepoint()
9572 prog->name, tp_category, tp_name, in bpf_program__attach_tracepoint()
[all …]
/tools/perf/
Dbuiltin-trace.c1749 char tp_name[128]; in trace__read_syscall_info() local
1789 snprintf(tp_name, sizeof(tp_name), "sys_enter_%s", sc->name); in trace__read_syscall_info()
1790 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
1793 snprintf(tp_name, sizeof(tp_name), "sys_enter_%s", sc->fmt->alias); in trace__read_syscall_info()
1794 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
/tools/include/uapi/linux/
Dbpf.h4435 __aligned_u64 tp_name; /* in/out: tp_name buffer ptr */ member