Home
last modified time | relevance | path

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

123

/Linux-v6.1/tools/perf/util/
Dbpf-utils.c25 offsetof(struct bpf_prog_info, jited_prog_insns),
26 offsetof(struct bpf_prog_info, jited_prog_len),
30 offsetof(struct bpf_prog_info, xlated_prog_insns),
31 offsetof(struct bpf_prog_info, xlated_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),
41 offsetof(struct bpf_prog_info, nr_jited_ksyms),
45 offsetof(struct bpf_prog_info, jited_func_lens),
46 offsetof(struct bpf_prog_info, nr_jited_func_lens),
[all …]
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()
Dbpf-utils.h62 struct bpf_prog_info info;
Dbpf-event.c186 struct bpf_prog_info *info, in synthesize_bpf_prog_name()
239 struct bpf_prog_info *info; in perf_event__synthesize_one_bpf_prog()
267 if (info_linear->info_len < offsetof(struct bpf_prog_info, prog_tags)) { in perf_event__synthesize_one_bpf_prog()
609 void bpf_event__print_bpf_prog_info(struct bpf_prog_info *info, in bpf_event__print_bpf_prog_info()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
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()
Dverif_stats.c10 __u32 len = sizeof(struct bpf_prog_info); in test_verif_stats()
12 struct bpf_prog_info info = {}; in test_verif_stats()
Dxdp_info.c9 __u32 len = sizeof(struct bpf_prog_info), duration = 0, prog_id; in serial_test_xdp_info()
11 struct bpf_prog_info info = {}; in serial_test_xdp_info()
Dmetadata.c18 struct bpf_prog_info prog_info = {}; in prog_holds_map()
19 struct bpf_prog_info map_info = {}; in prog_holds_map()
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()
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()
Denable_stats.c9 struct bpf_prog_info info; in test_enable_stats()
Drecursion.c8 struct bpf_prog_info prog_info = {}; in test_recursion()
Dfexit_bpf2bpf.c63 struct bpf_prog_info prog_info = {}; in test_fexit_bpf2bpf_common()
413 struct bpf_prog_info info = {}; in find_prog_btf_id()
458 struct bpf_prog_info info = {}; in test_fentry_to_cgroup_bpf()
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()
Dprog_run_opts.c11 struct bpf_prog_info info = {}; in check_run_cnt()
Dxdp_attach.c12 struct bpf_prog_info info = {}; in serial_test_xdp_attach()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dnetif_receive_skb.c216 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG()
219 TEST_BTF(str, struct bpf_prog_info, BTF_F_NONAME, in BPF_PROG()
223 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG()
227 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG()
/Linux-v6.1/tools/bpf/bpftool/
Dlink.c138 static int get_prog_info(int prog_id, struct bpf_prog_info *info) in get_prog_info()
157 struct bpf_prog_info prog_info; in show_link_close_json()
269 struct bpf_prog_info prog_info; in show_link_close_plain()
Dprog.c87 static int prep_prog_info(struct bpf_prog_info *const info, enum dump_mode mode, in prep_prog_info()
90 struct bpf_prog_info holder = {}; in prep_prog_info()
190 struct bpf_prog_info info = {}; in show_prog_maps()
219 struct bpf_prog_info prog_info; in find_metadata()
411 static void print_prog_header_json(struct bpf_prog_info *info, int fd) in print_prog_header_json()
443 static void print_prog_json(struct bpf_prog_info *info, int fd) in print_prog_json()
500 static void print_prog_header_plain(struct bpf_prog_info *info, int fd) in print_prog_header_plain()
529 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()
[all …]
Dcommon.c331 void get_prog_full_name(const struct bpf_prog_info *prog_info, int prog_fd, in get_prog_full_name()
337 struct bpf_prog_info info = {}; in get_prog_full_name()
471 struct bpf_prog_info pinned_info; in do_build_table_cb()
735 struct bpf_prog_info info = {}; in prog_fd_by_nametag()
/Linux-v6.1/tools/testing/selftests/bpf/
Dxdp_synproxy.c188 struct bpf_prog_info info = {}; in syncookie_attach()
271 struct bpf_prog_info prog_info; in syncookie_open_bpf_maps()
287 prog_info = (struct bpf_prog_info) { in syncookie_open_bpf_maps()
Dtest_skb_cgroup_id_user.c81 struct bpf_prog_info info = {}; in get_map_fd_by_prog_id()
/Linux-v6.1/samples/bpf/
Dxdp1_user.c81 struct bpf_prog_info info = {}; in main()
Dxdp_adjust_tail_user.c86 struct bpf_prog_info info = {}; in main()
Dxdp_sample_pkts_user.c28 struct bpf_prog_info info = {}; in do_attach()

123