Searched refs:raw_tracepoint (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bpf_obj_id.c | 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() 273 offsetof(struct bpf_link_info, raw_tracepoint)); in serial_test_bpf_obj_id()
|
| H A D | bpf_cookie.c | 691 ASSERT_EQ(info.raw_tracepoint.cookie, cookie, "raw_tp_cookie"); in raw_tp_subtest()
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-perf.rst | 33 List all raw_tracepoint, tracepoint, kprobe attachment in the system. 37 The attachment point for raw_tracepoint/tracepoint is the trace probe name.
|
| H A D | bpftool-prog.rst | 47 | **tracepoint** | **raw_tracepoint** | **xdp** | **perf_event** | **cgroup/skb** |
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_ptr_untrusted.c | 15 (void *)attr->raw_tracepoint.name); in BPF_PROG() 23 SEC("raw_tracepoint")
|
| /linux/tools/lib/bpf/ |
| H A D | skel_internal.h | 315 const size_t attr_sz = offsetofend(union bpf_attr, raw_tracepoint.prog_fd); in skel_raw_tracepoint_open() 319 attr.raw_tracepoint.name = (long) name; in skel_raw_tracepoint_open() 320 attr.raw_tracepoint.prog_fd = prog_fd; in skel_raw_tracepoint_open()
|
| /linux/tools/bpf/bpftool/ |
| H A D | link.c | 595 u64_to_ptr(info->raw_tracepoint.tp_name)); in show_link_close_json() 596 jsonw_uint_field(json_wtr, "cookie", info->raw_tracepoint.cookie); in show_link_close_json() 1037 (const char *)u64_to_ptr(info->raw_tracepoint.tp_name)); in show_link_close_plain() 1038 if (info->raw_tracepoint.cookie) in show_link_close_plain() 1039 printf("cookie %llu ", info->raw_tracepoint.cookie); in show_link_close_plain() 1163 !info.raw_tracepoint.tp_name) { in do_show_link() 1164 info.raw_tracepoint.tp_name = ptr_to_u64(&buf); in do_show_link() 1165 info.raw_tracepoint.tp_name_len = sizeof(buf); in do_show_link()
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 3924 char __user *ubuf = u64_to_user_ptr(info->raw_tracepoint.tp_name); 3926 u32 ulen = info->raw_tracepoint.tp_name_len; 3932 info->raw_tracepoint.tp_name_len = tp_len + 1; 3933 info->raw_tracepoint.cookie = raw_tp_link->cookie; 4390 #define BPF_RAW_TRACEPOINT_OPEN_LAST_FIELD raw_tracepoint.cookie in bpf_raw_tracepoint_open() 4402 prog = bpf_prog_get(attr->raw_tracepoint.prog_fd); in attach_type_to_prog_type() 4406 tp_name = u64_to_user_ptr(attr->raw_tracepoint.name); in attach_type_to_prog_type() 4407 cookie = attr->raw_tracepoint.cookie; in attach_type_to_prog_type()
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1774 } raw_tracepoint; member 6848 } raw_tracepoint; member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1774 } raw_tracepoint; member 6848 } raw_tracepoint; member
|