Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_ptr_untrusted.c7 char tp_name[128]; variable
14 bpf_copy_from_user(tp_name, sizeof(tp_name) - 1, in BPF_PROG()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_id.c27 char jited_insns[128], xlated_insns[128], zeros[128], tp_name[128]; in serial_test_bpf_obj_id() local
139 link_infos[i].raw_tracepoint.tp_name = ptr_to_u64(&tp_name); in serial_test_bpf_obj_id()
140 link_infos[i].raw_tracepoint.tp_name_len = sizeof(tp_name); in serial_test_bpf_obj_id()
146 !ASSERT_EQ(link_infos[i].raw_tracepoint.tp_name, ptr_to_u64(&tp_name), "&tp_name") || in serial_test_bpf_obj_id()
147 !ASSERT_STREQ(u64_to_ptr(link_infos[i].raw_tracepoint.tp_name), "sys_enter", "tp_name")) in serial_test_bpf_obj_id()
H A Dtask_fd_query_tp.c5 const char *tp_name) in test_task_fd_query_tp_core() argument
65 err = (fd_type == BPF_FD_TYPE_TRACEPOINT) && !strcmp(buf, tp_name); in test_task_fd_query_tp_core()
H A Dptr_untrusted.c31 err = strncmp(skel->bss->tp_name, TP_NAME, strlen(TP_NAME)); in serial_test_ptr_untrusted()
H A Dcore_reloc.c15 #define MODULES_CASE(name, pg_name, tp_name) { \ argument
34 .raw_tp_name = tp_name, \
1003 const char *tp_name, *probe_name; in run_core_reloc_tests() local
1067 tp_name = test_case->raw_tp_name; /* NULL for tp_btf */ in run_core_reloc_tests()
1098 link = bpf_program__attach_raw_tracepoint(prog, tp_name); in run_core_reloc_tests()
H A Dfill_link_info.c85 if (!info.perf_event.tracepoint.tp_name) { in verify_perf_link_info()
86 info.perf_event.tracepoint.tp_name = ptr_to_u64(&buf); in verify_perf_link_info()
93 err = strncmp(u64_to_ptr(info.perf_event.tracepoint.tp_name), TP_NAME, in verify_perf_link_info()
H A Dbpf_cookie.c652 raw_tp_opts.tp_name = "sys_enter"; in raw_tp_subtest()
/linux/tools/perf/util/
H A Dpython.c128 .tp_name = "perf.mmap_event",
163 .tp_name = "perf.task_event",
192 .tp_name = "perf.comm_event",
223 .tp_name = "perf.throttle_event",
258 .tp_name = "perf.lost_event",
288 .tp_name = "perf.read_event",
405 .tp_name = "perf.sample_event",
443 .tp_name = "perf.context_switch_event",
576 .tp_name = "perf.cpu_map",
645 .tp_name
[all...]
/linux/kernel/trace/
H A Dtrace_fprobe.c881 const char *tp_name; member
890 if (!data->tpoint && !strcmp(data->tp_name, tp->name)) { in __find_tracepoint_module_cb()
906 if (!data->tpoint && !strcmp(data->tp_name, tp->name)) in __find_tracepoint_cb()
917 static struct tracepoint *find_tracepoint(const char *tp_name, in find_tracepoint() argument
921 .tp_name = tp_name, in find_tracepoint()
946 const char *tp_name) in find_tracepoint_in_module() argument
949 .tp_name = tp_name, in find_tracepoint_in_module()
/linux/tools/bpf/bpftool/
H A Dlink.c389 u64_to_ptr(info->perf_event.tracepoint.tp_name)); in show_perf_event_tracepoint_json()
486 u64_to_ptr(info->raw_tracepoint.tp_name)); in show_link_close_json()
832 buf = u64_to_ptr(info->perf_event.tracepoint.tp_name); in show_perf_event_tracepoint_plain()
878 (const char *)u64_to_ptr(info->raw_tracepoint.tp_name)); in show_link_close_plain()
996 !info.raw_tracepoint.tp_name) { in do_show_link()
997 info.raw_tracepoint.tp_name = ptr_to_u64(&buf); in do_show_link()
1065 if (!info.perf_event.tracepoint.tp_name) { in do_show_link()
1066 info.perf_event.tracepoint.tp_name = ptr_to_u64(&buf); in do_show_link()
H A Dgen.c567 const char *tp_name; in codegen_attach_detach() local
580 tp_name = strchr(bpf_program__section_name(prog), '/') + 1; in codegen_attach_detach()
581 printf("\tint fd = skel_raw_tracepoint_open(\"%s\", prog_fd);\n", tp_name); in codegen_attach_detach()
/linux/tools/lib/bpf/
H A Dlibbpf.h771 const char *tp_name);
775 const char *tp_name,
787 const char *tp_name);
790 const char *tp_name,
H A Dlibbpf.c12397 const char *tp_name) in determine_tracepoint_id() argument
12403 tracefs_path(), tp_category, tp_name); in determine_tracepoint_id()
12408 tp_category, tp_name); in determine_tracepoint_id()
12415 const char *tp_name) in perf_event_open_tracepoint() argument
12421 tp_id = determine_tracepoint_id(tp_category, tp_name); in perf_event_open_tracepoint()
12424 tp_category, tp_name, in perf_event_open_tracepoint()
12439 tp_category, tp_name, in perf_event_open_tracepoint()
12448 const char *tp_name, in bpf_program__attach_tracepoint_opts() argument
12460 pfd = perf_event_open_tracepoint(tp_category, tp_name); in bpf_program__attach_tracepoint_opts()
12463 prog->name, tp_category, tp_name, in bpf_program__attach_tracepoint_opts()
[all …]
H A Dbpf.h622 const char *tp_name; member
/linux/drivers/input/touchscreen/
H A Diqs7211.c329 const char *tp_name; member
361 .tp_name = "iqs7210a_trackpad",
403 .tp_name = "iqs7211a_trackpad",
438 .tp_name = "iqs7211e_trackpad",
2166 tp_idev->name = dev_desc->tp_name; in iqs7211_register_tp()
/linux/kernel/bpf/
H A Dsyscall.c3657 char __user *ubuf = u64_to_user_ptr(info->raw_tracepoint.tp_name); in bpf_raw_tp_link_fill_link_info()
3658 const char *tp_name = raw_tp_link->btp->tp->name; in bpf_raw_tp_link_fill_link_info() local
3660 size_t tp_len = strlen(tp_name); in bpf_raw_tp_link_fill_link_info()
3670 return bpf_copy_to_user(ubuf, tp_name, ulen, tp_len); in bpf_raw_tp_link_fill_link_info()
3822 uname = u64_to_user_ptr(info->perf_event.tracepoint.tp_name); in bpf_perf_link_fill_tracepoint()
3930 const char *tp_name; in bpf_raw_tp_link_attach() local
3945 tp_name = prog->aux->attach_func_name; in bpf_raw_tp_link_attach()
3954 tp_name = buf; in bpf_raw_tp_link_attach()
3960 btp = bpf_get_raw_tracepoint(tp_name); in bpf_raw_tp_link_attach()
3999 void __user *tp_name; in bpf_raw_tracepoint_open() local
[all …]
/linux/include/uapi/linux/
H A Dbpf.h6627 __aligned_u64 tp_name; /* in/out: tp_name buffer ptr */ member
6715 __aligned_u64 tp_name; /* in/out */ member
/linux/tools/include/uapi/linux/
H A Dbpf.h6627 __aligned_u64 tp_name; /* in/out: tp_name buffer ptr */ member
6715 __aligned_u64 tp_name; /* in/out */ member
/linux/tools/perf/
H A Dbuiltin-trace.c2067 char tp_name[128]; in trace__read_syscall_info() local
2108 snprintf(tp_name, sizeof(tp_name), "sys_enter_%s", sc->name); in trace__read_syscall_info()
2109 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()
2112 snprintf(tp_name, sizeof(tp_name), "sys_enter_%s", sc->fmt->alias); in trace__read_syscall_info()
2113 sc->tp_format = trace_event__tp_format("syscalls", tp_name); in trace__read_syscall_info()