Searched refs:bpf_program__type (Results 1 – 9 of 9) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | custom_sec_handlers.c | 133 ASSERT_EQ(bpf_program__type(skel->progs.abc1), BPF_PROG_TYPE_RAW_TRACEPOINT, "abc1_type"); in test_custom_sec_handlers() 136 ASSERT_EQ(bpf_program__type(skel->progs.abc2), BPF_PROG_TYPE_RAW_TRACEPOINT, "abc2_type"); 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() 140 ASSERT_EQ(bpf_program__type(skel->progs.xyz), BPF_PROG_TYPE_SYSCALL, "xyz_type"); in test_custom_sec_handlers()
|
| /linux/samples/bpf/ |
| H A D | xdp_sample_user.h | 64 if (bpf_program__type(skel->progs.name) != BPF_PROG_TYPE_TRACING)\
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.map | 323 bpf_program__type;
|
| H A D | libbpf.c | 9866 __alias(bpf_program__type) 9869 enum bpf_prog_type bpf_program__type(const struct bpf_program *prog) in bpf_program__type() function
|
| /linux/tools/sched_ext/include/scx/ |
| H A D | compat.h | 273 if (bpf_program__type(__prog) == BPF_PROG_TYPE_STRUCT_OPS) \
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | testing_helpers.c | 308 if (type != BPF_PROG_TYPE_UNSPEC && bpf_program__type(prog) != type) in bpf_prog_test_load()
|
| H A D | test_loader.c | 637 switch (bpf_program__type(prog)) { in parse_test_spec() 1486 bpf_program__type(tprog) == BPF_PROG_TYPE_SYSCALL ? true : false, in run_subtest()
|
| H A D | veristat.c | 1339 if (bpf_program__type(prog) == BPF_PROG_TYPE_EXT) { in fixup_obj() 1751 stats->stats[PROG_TYPE] = bpf_program__type(prog); in process_prog()
|
| /linux/tools/bpf/bpftool/ |
| H A D | gen.c | 595 switch (bpf_program__type(prog)) { in codegen_attach_detach()
|