Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dbpf-event.h11 struct bpf_prog_info;
37 void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info,
54 static inline void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info __maybe_unused, in __bpf_event__print_bpf_prog_info()
Dbpf-event.c134 struct bpf_prog_info *info, in synthesize_bpf_prog_name()
187 struct bpf_prog_info *info; in perf_event__synthesize_one_bpf_prog()
215 if (info_linear->info_len < offsetof(struct bpf_prog_info, prog_tags)) { in perf_event__synthesize_one_bpf_prog()
557 void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info, in __bpf_event__print_bpf_prog_info()
/tools/testing/selftests/bpf/prog_tests/
Dxdp_info.c9 __u32 len = sizeof(struct bpf_prog_info), duration = 0, prog_id; in test_xdp_info()
11 struct bpf_prog_info info = {}; in test_xdp_info()
Dbpf_obj_id.c20 struct bpf_prog_info prog_infos[nr_iters + 1]; in test_bpf_obj_id()
105 info_len = sizeof(struct bpf_prog_info) * 2; in test_bpf_obj_id()
127 info_len != sizeof(struct bpf_prog_info) || in test_bpf_obj_id()
146 info_len, sizeof(struct bpf_prog_info), in test_bpf_obj_id()
191 struct bpf_prog_info prog_info = {}; in test_bpf_obj_id()
234 CHECK(err || info_len != sizeof(struct bpf_prog_info) || in test_bpf_obj_id()
239 err, errno, info_len, sizeof(struct bpf_prog_info), in test_bpf_obj_id()
Dmetadata.c18 struct bpf_prog_info prog_info = {}; in prog_holds_map()
19 struct bpf_prog_info map_info = {}; in prog_holds_map()
Denable_stats.c9 struct bpf_prog_info info; in test_enable_stats()
Drecursion.c8 struct bpf_prog_info prog_info = {}; in test_recursion()
Dxdp_cpumap_attach.c13 struct bpf_prog_info info = {}; in test_xdp_cpumap_attach()
Dxdp_devmap_attach.c14 struct bpf_prog_info info = {}; in test_xdp_with_devmap_helpers()
Dprog_run_xattr.c11 struct bpf_prog_info info = {}; in check_run_cnt()
Dxdp_attach.c12 struct bpf_prog_info info = {}; in test_xdp_attach()
Dbtf_dump.c624 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, BTF_F_COMPACT, in test_btf_dump_struct_data()
627 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, in test_btf_dump_struct_data()
631 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, 0, in test_btf_dump_struct_data()
641 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, BTF_F_COMPACT, in test_btf_dump_struct_data()
645 TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, BTF_F_COMPACT, in test_btf_dump_struct_data()
Dtp_attach_query.c13 struct bpf_prog_info prog_info; in test_tp_attach_query()
Dxdp_link.c15 struct bpf_prog_info prog_info; in test_xdp_link()
/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()
/tools/bpf/bpftool/
Dlink.c96 static int get_prog_info(int prog_id, struct bpf_prog_info *info) in get_prog_info()
115 struct bpf_prog_info prog_info; in show_link_close_json()
209 struct bpf_prog_info prog_info; in show_link_close_plain()
Dprog.c134 struct bpf_prog_info info = {}; in show_prog_maps()
163 struct bpf_prog_info prog_info; in find_metadata()
355 static void print_prog_header_json(struct bpf_prog_info *info) in print_prog_header_json()
381 static void print_prog_json(struct bpf_prog_info *info, int fd) in print_prog_json()
439 static void print_prog_header_plain(struct bpf_prog_info *info) in print_prog_header_plain()
462 static void print_prog_plain(struct bpf_prog_info *info, int fd) in print_prog_plain()
513 struct bpf_prog_info info = {}; in show_prog()
621 prog_dump(struct bpf_prog_info *info, enum dump_mode mode, in prog_dump()
Dbtf.c498 struct bpf_prog_info info = {}; in do_dump()
719 btf_id = ((struct bpf_prog_info *)info)->btf_id; in build_btf_type_table()
755 struct bpf_prog_info prog_info; in build_btf_tables()
Dcommon.c405 struct bpf_prog_info pinned_info; in do_build_table_cb()
669 struct bpf_prog_info info = {}; in prog_fd_by_nametag()
Dcgroup.c53 struct bpf_prog_info info = {}; in show_bpf_prog()
/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c82 struct bpf_prog_info info = {}; in get_map_fd_by_prog_id()
Dtest_tcp_check_syncookie_user.c83 struct bpf_prog_info info = {}; in get_map_fd_by_prog_id()
/tools/lib/bpf/
Dlibbpf.h735 struct bpf_prog_info;
739 bpf_prog_linfo__new(const struct bpf_prog_info *info);
812 struct bpf_prog_info info;
Dbpf_prog_linfo.c100 struct bpf_prog_linfo *bpf_prog_linfo__new(const struct bpf_prog_info *info) in bpf_prog_linfo__new()
Dlibbpf.c8381 struct bpf_prog_info *info; in libbpf_find_prog_btf_id()
10298 offsetof(struct bpf_prog_info, jited_prog_insns),
10299 offsetof(struct bpf_prog_info, jited_prog_len),
10303 offsetof(struct bpf_prog_info, xlated_prog_insns),
10304 offsetof(struct bpf_prog_info, xlated_prog_len),
10308 offsetof(struct bpf_prog_info, map_ids),
10309 offsetof(struct bpf_prog_info, nr_map_ids),
10313 offsetof(struct bpf_prog_info, jited_ksyms),
10314 offsetof(struct bpf_prog_info, nr_jited_ksyms),
10318 offsetof(struct bpf_prog_info, jited_func_lens),
[all …]

12