Home
last modified time | relevance | path

Searched refs:BPF_PROG_TYPE_TRACEPOINT (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcustom_sec_handlers.c83 custom_id = libbpf_register_prog_handler("custom+", BPF_PROG_TYPE_TRACEPOINT, 0, &custom_opts); in register_sec_handlers()
113 kprobe_id = libbpf_register_prog_handler("kprobe+", BPF_PROG_TYPE_TRACEPOINT, 0, &opts); in test_custom_sec_handlers()
137 ASSERT_EQ(bpf_program__type(skel->progs.custom1), BPF_PROG_TYPE_TRACEPOINT, "custom1_type"); in test_custom_sec_handlers()
138 ASSERT_EQ(bpf_program__type(skel->progs.custom2), BPF_PROG_TYPE_TRACEPOINT, "custom2_type"); in test_custom_sec_handlers()
139 ASSERT_EQ(bpf_program__type(skel->progs.kprobe1), BPF_PROG_TYPE_TRACEPOINT, "kprobe1_type"); in test_custom_sec_handlers()
H A Dsection_names.c30 {"tracepoint/", {0, BPF_PROG_TYPE_TRACEPOINT, 0}, {-EINVAL, 0} },
31 {"tp/", {0, BPF_PROG_TYPE_TRACEPOINT, 0}, {-EINVAL, 0} },
H A Dtcp_estats.c10 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_tcp_estats()
H A Dstacktrace_map.c15 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_stacktrace_map()
H A Dtask_fd_query_tp.c16 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in test_task_fd_query_tp_core()
H A Dbtf.c5644 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
5675 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
5707 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
5739 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
5760 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
5786 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
5815 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
5842 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
5868 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
5900 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
[all …]
H A Dtp_attach_query.c43 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj[i], in serial_test_tp_attach_query()
/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Dbpf_loop_inline.c59 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
92 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
129 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
167 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
237 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
254 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
H A Dcalls.c8 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
21 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
287 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
394 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
409 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
420 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
433 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
444 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
460 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
478 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
[all …]
H A Dprecise.c37 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
96 .prog_type = BPF_PROG_TYPE_TRACEPOINT,
/openbmc/linux/tools/testing/selftests/bpf/
H A Dget_cgroup_id_user.c72 err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd); in main()
/openbmc/linux/include/linux/
H A Dbpf_types.h41 BPF_PROG_TYPE(BPF_PROG_TYPE_TRACEPOINT, tracepoint,
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf_probes.c165 case BPF_PROG_TYPE_TRACEPOINT: in probe_prog_load()
H A Dlibbpf.c185 [BPF_PROG_TYPE_TRACEPOINT] = "tracepoint",
4524 ret = bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, NULL, "GPL", insns, insn_cnt, NULL); in bpf_object__probe_loading()
4746 fd = bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, NULL, "GPL", insns, insn_cnt, NULL); in probe_kern_probe_read_kernel()
4819 prog_fd = bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, NULL, "GPL", in probe_perf_link()
/openbmc/linux/Documentation/bpf/libbpf/
H A Dprogram_types.rst152 | ``BPF_PROG_TYPE_TRACEPOINT`` | | ``tp+`` [#tp…
/openbmc/linux/Documentation/bpf/
H A Ddrgn.rst38 27: BPF_PROG_TYPE_TRACEPOINT tracepoint__tcp__tcp_send_reset
/openbmc/linux/kernel/bpf/
H A Dsyscall.c2569 case BPF_PROG_TYPE_TRACEPOINT: in is_perfmon_prog_type()
3604 case BPF_PROG_TYPE_TRACEPOINT: in bpf_perf_link_fill_link_info()
3856 case BPF_PROG_TYPE_TRACEPOINT: in bpf_prog_attach_check_attach_type()
5068 case BPF_PROG_TYPE_TRACEPOINT: in link_create()
H A Dverifier.c17498 case BPF_PROG_TYPE_TRACEPOINT: in is_tracing_prog_type()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h980 BPF_PROG_TYPE_TRACEPOINT, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h980 BPF_PROG_TYPE_TRACEPOINT, enumerator
/openbmc/linux/kernel/events/
H A Dcore.c10589 (is_tracepoint && prog->type != BPF_PROG_TYPE_TRACEPOINT) || in perf_event_set_bpf_prog()
10590 (is_syscall_tp && prog->type != BPF_PROG_TYPE_TRACEPOINT)) in perf_event_set_bpf_prog()