Home
last modified time | relevance | path

Searched refs:bpf_prog_info (Results 1 – 25 of 56) sorted by relevance

123

/openbmc/linux/tools/perf/util/
H A Dbpf-utils.c26 offsetof(struct bpf_prog_info, jited_prog_len),
35 offsetof(struct bpf_prog_info, map_ids),
36 offsetof(struct bpf_prog_info, nr_map_ids),
40 offsetof(struct bpf_prog_info, jited_ksyms),
50 offsetof(struct bpf_prog_info, func_info),
51 offsetof(struct bpf_prog_info, nr_func_info),
55 offsetof(struct bpf_prog_info, line_info),
56 offsetof(struct bpf_prog_info, nr_line_info),
65 offsetof(struct bpf_prog_info, prog_tags),
66 offsetof(struct bpf_prog_info, nr_prog_tags),
[all …]
H A Dbpf-event.h10 struct bpf_prog_info;
36 void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info,
53 static inline void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info __maybe_unused, in __bpf_event__print_bpf_prog_info()
H A Dbpf-utils.h62 struct bpf_prog_info info;
H A Dbpf-event.c122 struct bpf_prog_info *info, in synthesize_bpf_prog_name()
175 struct bpf_prog_info *info; in perf_event__synthesize_one_bpf_prog()
203 if (info_linear->info_len < offsetof(struct bpf_prog_info, prog_tags)) { in perf_event__synthesize_one_bpf_prog()
545 void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info, in __bpf_event__print_bpf_prog_info()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dverif_stats.c10 __u32 len = sizeof(struct bpf_prog_info); in test_verif_stats()
12 struct bpf_prog_info info = {}; in test_verif_stats()
H A Dbpf_obj_id.c20 struct bpf_prog_info prog_infos[nr_iters + 1]; in serial_test_bpf_obj_id()
105 info_len = sizeof(struct bpf_prog_info) * 2; in serial_test_bpf_obj_id()
127 info_len != sizeof(struct bpf_prog_info) || in serial_test_bpf_obj_id()
146 info_len, sizeof(struct bpf_prog_info), in serial_test_bpf_obj_id()
191 struct bpf_prog_info prog_info = {}; in serial_test_bpf_obj_id()
234 CHECK(err || info_len != sizeof(struct bpf_prog_info) || in serial_test_bpf_obj_id()
239 err, errno, info_len, sizeof(struct bpf_prog_info), in serial_test_bpf_obj_id()
H A Dxdp_info.c9 __u32 len = sizeof(struct bpf_prog_info), duration = 0, prog_id; in serial_test_xdp_info()
12 struct bpf_prog_info info = {}; in serial_test_xdp_info()
H A Dxdp_cpumap_attach.c14 struct bpf_prog_info info = {}; in test_xdp_with_cpumap_helpers()
74 struct bpf_prog_info info = {}; in test_xdp_with_cpumap_frags_helpers()
H A Dxdp_devmap_attach.c15 struct bpf_prog_info info = {}; in test_xdp_with_devmap_helpers()
87 struct bpf_prog_info info = {}; in test_xdp_with_devmap_frags_helpers()
H A Denable_stats.c9 struct bpf_prog_info info; in test_enable_stats()
H A Dtask_local_storage.c84 struct bpf_prog_info info; in test_recursion()
172 struct bpf_prog_info info = {}; in test_nodeadlock()
H A Drecursion.c8 struct bpf_prog_info prog_info = {}; in test_recursion()
H A Dtc_helpers.h9 struct bpf_prog_info prog_info = {}; in id_from_prog_fd()
H A Dprog_run_opts.c11 struct bpf_prog_info info = {}; in check_run_cnt()
H A Dbtf_dump.c662 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, BTF_F_COMPACT, in test_btf_dump_struct_data()
665 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, in test_btf_dump_struct_data()
669 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, 0, in test_btf_dump_struct_data()
679 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, BTF_F_COMPACT, in test_btf_dump_struct_data()
683 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, BTF_F_COMPACT, in test_btf_dump_struct_data()
H A Dfexit_bpf2bpf.c65 struct bpf_prog_info prog_info = {}; in test_fexit_bpf2bpf_common()
415 struct bpf_prog_info info = {}; in find_prog_btf_id()
460 struct bpf_prog_info info = {}; in test_fentry_to_cgroup_bpf()
H A Dmetadata.c18 struct bpf_prog_info prog_info = {}; in prog_holds_map()
H A Dxdp_attach.c12 struct bpf_prog_info info = {}; in test_xdp_attach()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dnetif_receive_skb.c215 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG()
218 TEST_BTF(str, struct bpf_prog_info, BTF_F_NONAME, in BPF_PROG()
222 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG()
226 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c190 struct bpf_prog_info info = {}; in syncookie_attach()
274 struct bpf_prog_info prog_info; in syncookie_open_bpf_maps()
290 prog_info = (struct bpf_prog_info) { in syncookie_open_bpf_maps()
H A Dtest_skb_cgroup_id_user.c81 struct bpf_prog_info info = {}; in get_map_fd_by_prog_id()
/openbmc/linux/tools/bpf/bpftool/
H A Dprog.c92 struct bpf_prog_info holder = {}; in prep_prog_info()
192 struct bpf_prog_info info = {}; in show_prog_maps()
221 struct bpf_prog_info prog_info; in find_metadata()
413 static void print_prog_header_json(struct bpf_prog_info *info, int fd) in print_prog_header_json()
445 static void print_prog_json(struct bpf_prog_info *info, int fd) in print_prog_json()
501 static void print_prog_header_plain(struct bpf_prog_info *info, int fd) in print_prog_header_plain()
530 static void print_prog_plain(struct bpf_prog_info *info, int fd) in print_prog_plain()
579 struct bpf_prog_info info = {}; in show_prog()
697 prog_dump(struct bpf_prog_info *info, enum dump_mode mode, in prog_dump()
871 struct bpf_prog_info info; in do_dump()
[all …]
H A Dcommon.c408 void get_prog_full_name(const struct bpf_prog_info *prog_info, int prog_fd, in get_prog_full_name()
414 struct bpf_prog_info info = {}; in get_prog_full_name()
548 struct bpf_prog_info pinned_info; in do_build_table_cb()
815 struct bpf_prog_info info = {}; in prog_fd_by_nametag()
/openbmc/linux/samples/bpf/
H A Dxdp_adjust_tail_user.c86 struct bpf_prog_info info = {}; in main()
H A Dxdp_fwd_user.c53 struct bpf_prog_info prog_info = {}; in do_detach()

123