/tools/perf/util/ |
D | bpf-event.h | 11 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()
|
D | bpf-event.c | 134 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/ |
D | xdp_info.c | 9 __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()
|
D | bpf_obj_id.c | 20 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()
|
D | metadata.c | 18 struct bpf_prog_info prog_info = {}; in prog_holds_map() 19 struct bpf_prog_info map_info = {}; in prog_holds_map()
|
D | enable_stats.c | 9 struct bpf_prog_info info; in test_enable_stats()
|
D | recursion.c | 8 struct bpf_prog_info prog_info = {}; in test_recursion()
|
D | xdp_cpumap_attach.c | 13 struct bpf_prog_info info = {}; in test_xdp_cpumap_attach()
|
D | xdp_devmap_attach.c | 14 struct bpf_prog_info info = {}; in test_xdp_with_devmap_helpers()
|
D | prog_run_xattr.c | 11 struct bpf_prog_info info = {}; in check_run_cnt()
|
D | xdp_attach.c | 12 struct bpf_prog_info info = {}; in test_xdp_attach()
|
D | btf_dump.c | 624 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()
|
D | tp_attach_query.c | 13 struct bpf_prog_info prog_info; in test_tp_attach_query()
|
D | xdp_link.c | 15 struct bpf_prog_info prog_info; in test_xdp_link()
|
/tools/testing/selftests/bpf/progs/ |
D | netif_receive_skb.c | 216 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/ |
D | link.c | 96 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()
|
D | prog.c | 134 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()
|
D | btf.c | 498 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()
|
D | common.c | 405 struct bpf_prog_info pinned_info; in do_build_table_cb() 669 struct bpf_prog_info info = {}; in prog_fd_by_nametag()
|
D | cgroup.c | 53 struct bpf_prog_info info = {}; in show_bpf_prog()
|
/tools/testing/selftests/bpf/ |
D | test_skb_cgroup_id_user.c | 82 struct bpf_prog_info info = {}; in get_map_fd_by_prog_id()
|
D | test_tcp_check_syncookie_user.c | 83 struct bpf_prog_info info = {}; in get_map_fd_by_prog_id()
|
/tools/lib/bpf/ |
D | libbpf.h | 735 struct bpf_prog_info; 739 bpf_prog_linfo__new(const struct bpf_prog_info *info); 812 struct bpf_prog_info info;
|
D | bpf_prog_linfo.c | 100 struct bpf_prog_linfo *bpf_prog_linfo__new(const struct bpf_prog_info *info) in bpf_prog_linfo__new()
|
D | libbpf.c | 8381 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 …]
|