Home
last modified time | relevance | path

Searched refs:raw_tracepoint (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c162 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()
327 offsetof(struct bpf_link_info, raw_tracepoint)); in serial_test_bpf_obj_id()
/Linux-v6.6/tools/bpf/bpftool/Documentation/
Dbpftool-perf.rst33 List all raw_tracepoint, tracepoint, kprobe attachment in the system.
37 The attachment point for raw_tracepoint/tracepoint is the trace probe name.
Dbpftool-prog.rst46 | **tracepoint** | **raw_tracepoint** | **xdp** | **perf_event** | **cgroup/skb** |
/Linux-v6.6/Documentation/bpf/libbpf/
Dprogram_types.rst118 … | | ``raw_tracepoint.w+`` …
122 … | | ``raw_tracepoint+`` …
201 .. [#rawtp] The ``raw_tp`` attach format is ``raw_tracepoint[.w]/<tracepoint>``.
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_ptr_untrusted.c15 (void *)attr->raw_tracepoint.name); in BPF_PROG()
/Linux-v6.6/include/linux/
Dbpf_types.h45 BPF_PROG_TYPE(BPF_PROG_TYPE_RAW_TRACEPOINT, raw_tracepoint,
136 BPF_LINK_TYPE(BPF_LINK_TYPE_RAW_TRACEPOINT, raw_tracepoint)
/Linux-v6.6/tools/lib/bpf/
Dskel_internal.h279 const size_t attr_sz = offsetofend(union bpf_attr, raw_tracepoint.prog_fd); in skel_raw_tracepoint_open()
283 attr.raw_tracepoint.name = (long) name; in skel_raw_tracepoint_open()
284 attr.raw_tracepoint.prog_fd = prog_fd; in skel_raw_tracepoint_open()
Dbpf.c1155 const size_t attr_sz = offsetofend(union bpf_attr, raw_tracepoint); in bpf_raw_tracepoint_open()
1160 attr.raw_tracepoint.name = ptr_to_u64(name); in bpf_raw_tracepoint_open()
1161 attr.raw_tracepoint.prog_fd = prog_fd; in bpf_raw_tracepoint_open()
/Linux-v6.6/tools/bpf/bpftool/
Dlink.c413 u64_to_ptr(info->raw_tracepoint.tp_name)); in show_link_close_json()
749 (const char *)u64_to_ptr(info->raw_tracepoint.tp_name)); in show_link_close_plain()
852 !info.raw_tracepoint.tp_name) { in do_show_link()
853 info.raw_tracepoint.tp_name = ptr_to_u64(&buf); in do_show_link()
854 info.raw_tracepoint.tp_name_len = sizeof(buf); in do_show_link()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h1554 } raw_tracepoint; member
6474 } raw_tracepoint; member
/Linux-v6.6/include/uapi/linux/
Dbpf.h1554 } raw_tracepoint; member
6474 } raw_tracepoint; member
/Linux-v6.6/kernel/bpf/
Dsyscall.c3325 char __user *ubuf = u64_to_user_ptr(info->raw_tracepoint.tp_name); in bpf_raw_tp_link_fill_link_info()
3327 u32 ulen = info->raw_tracepoint.tp_name_len; in bpf_raw_tp_link_fill_link_info()
3333 info->raw_tracepoint.tp_name_len = tp_len + 1; in bpf_raw_tp_link_fill_link_info()
3639 #define BPF_RAW_TRACEPOINT_OPEN_LAST_FIELD raw_tracepoint.prog_fd
3649 prog = bpf_prog_get(attr->raw_tracepoint.prog_fd); in bpf_raw_tracepoint_open()
3653 fd = bpf_raw_tp_link_attach(prog, u64_to_user_ptr(attr->raw_tracepoint.name)); in bpf_raw_tracepoint_open()
/Linux-v6.6/tools/bpf/bpftool/bash-completion/
Dbpftool480 action tracepoint raw_tracepoint \