/linux/tools/perf/util/ |
H A D | bpf-utils.c | 25 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 …]
|
H A D | bpf-event.h | 10 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 D | bpf-event.c | 84 * Do not free bpf_prog_info and btf of the program here, in machine__process_bpf() 123 struct bpf_prog_info *info, in synthesize_bpf_prog_name() 176 struct bpf_prog_info *info; in perf_event__synthesize_one_bpf_prog() 204 if (info_linear->info_len < offsetof(struct bpf_prog_info, prog_tags)) { in perf_event__synthesize_one_bpf_prog() 284 /* save bpf_prog_info to env */ in perf_event__synthesize_one_bpf_prog() 299 * process after saving bpf_prog_info to env, so that in perf_event__synthesize_one_bpf_prog() 522 * Do not free bpf_prog_info and btf of the program here, in bpf_event__sb_cb() 555 void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info, in __bpf_event__print_bpf_prog_info() 581 fprintf(fp, "# bpf_prog_info %u: %s addr 0x%llx size %u\n", in __bpf_event__print_bpf_prog_info() 586 fprintf(fp, "# bpf_prog_info in __bpf_event__print_bpf_prog_info() [all...] |
H A D | bpf-utils.h | 62 struct bpf_prog_info info;
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | verif_stats.c | 10 __u32 len = sizeof(struct bpf_prog_info); in test_verif_stats() 12 struct bpf_prog_info info = {}; in test_verif_stats()
|
H A D | bpf_obj_id.c | 20 struct bpf_prog_info prog_infos[nr_iters + 1]; in serial_test_bpf_obj_id() 96 info_len = sizeof(struct bpf_prog_info) * 2; in serial_test_bpf_obj_id() 122 !ASSERT_EQ(info_len, sizeof(struct bpf_prog_info), "prog_info_len") || in serial_test_bpf_obj_id() 155 struct bpf_prog_info prog_info = {}; in serial_test_bpf_obj_id() 198 ASSERT_EQ(info_len, sizeof(struct bpf_prog_info), "prog_info_len"); in serial_test_bpf_obj_id()
|
H A D | xdp_info.c | 9 __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 D | xdp_devmap_attach.c | 19 struct bpf_prog_info info = {}; in test_xdp_with_devmap_helpers() 113 struct bpf_prog_info info = {}; in test_xdp_with_devmap_frags_helpers() 156 struct bpf_prog_info info = {}; in test_xdp_with_devmap_helpers_veth()
|
H A D | xdp_cpumap_attach.c | 16 struct bpf_prog_info info = {}; in test_xdp_with_cpumap_helpers() 102 struct bpf_prog_info info = {}; in test_xdp_with_cpumap_frags_helpers()
|
H A D | enable_stats.c | 9 struct bpf_prog_info info; in test_enable_stats()
|
H A D | btf_dump.c | 662 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 D | recursion.c | 8 struct bpf_prog_info prog_info = {}; in test_recursion()
|
H A D | fexit_bpf2bpf.c | 65 struct bpf_prog_info prog_info = {}; in test_fexit_bpf2bpf_common() 437 struct bpf_prog_info info = {}; in find_prog_btf_id() 482 struct bpf_prog_info info = {}; in test_fentry_to_cgroup_bpf()
|
H A D | tc_helpers.h | 13 struct bpf_prog_info prog_info = {}; in id_from_prog_fd()
|
H A D | prog_run_opts.c | 11 struct bpf_prog_info info = {}; in check_run_cnt()
|
H A D | fd_array.c | 81 __u32 len = sizeof(struct bpf_prog_info); in bpf_prog_get_map_ids() 82 struct bpf_prog_info info; in bpf_prog_get_map_ids()
|
H A D | metadata.c | 18 struct bpf_prog_info prog_info = {}; in prog_holds_map()
|
H A D | test_global_funcs.c | 44 struct bpf_prog_info info; in subtest_ctx_arg_rewrite()
|
H A D | missed.c | 47 struct bpf_prog_info info = {}; in get_missed_count()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | netif_receive_skb.c | 212 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG() 215 TEST_BTF(str, struct bpf_prog_info, BTF_F_NONAME, in BPF_PROG() 219 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG() 223 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG()
|
/linux/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 190 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()
|
/linux/tools/perf/tests/shell/base_report/ |
H A D | stderr-whitelist.txt | 5 detected invalid bpf_prog_info
|
/linux/tools/bpf/bpftool/ |
H A D | prog.c | 89 static int prep_prog_info(struct bpf_prog_info *const info, enum dump_mode mode, in prep_prog_info() 92 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, bool orphaned) in print_prog_json() 502 static void print_prog_header_plain(struct bpf_prog_info *info, int fd) in print_prog_header_plain() 531 static void print_prog_plain(struct bpf_prog_info *info, int fd, bool orphaned) in print_prog_plain() 583 struct bpf_prog_info info = {}; in show_prog() 701 prog_dump(struct bpf_prog_info *info, enum dump_mode mode, in prog_dump() [all …]
|
H A D | common.c | 408 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()
|
/linux/samples/bpf/ |
H A D | xdp_adjust_tail_user.c | 86 struct bpf_prog_info info = {}; in main()
|