Home
last modified time | relevance | path

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

12

/Linux-v5.10/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.c117 struct bpf_prog_info *info, in synthesize_bpf_prog_name()
170 struct bpf_prog_info *info; in perf_event__synthesize_one_bpf_prog()
198 if (info_linear->info_len < offsetof(struct bpf_prog_info, prog_tags)) { in perf_event__synthesize_one_bpf_prog()
532 void bpf_event__print_bpf_prog_info(struct bpf_prog_info *info, in bpf_event__print_bpf_prog_info()
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
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()
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()
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()
Dxdp_cpumap_attach.c13 struct bpf_prog_info info = {}; in test_xdp_with_cpumap_helpers()
Dxdp_devmap_attach.c14 struct bpf_prog_info info = {}; in test_xdp_with_devmap_helpers()
Dxdp_attach.c12 struct bpf_prog_info info = {}; in test_xdp_attach()
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()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dnetif_receive_skb.c209 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG()
212 TEST_BTF(str, struct bpf_prog_info, BTF_F_NONAME, in BPF_PROG()
216 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG()
220 TEST_BTF(str, struct bpf_prog_info, 0, in BPF_PROG()
/Linux-v5.10/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.c130 struct bpf_prog_info info = {}; in show_prog_maps()
159 struct bpf_prog_info prog_info; in find_metadata()
349 static void print_prog_header_json(struct bpf_prog_info *info) in print_prog_header_json()
373 static void print_prog_json(struct bpf_prog_info *info, int fd) in print_prog_json()
431 static void print_prog_header_plain(struct bpf_prog_info *info) in print_prog_header_plain()
452 static void print_prog_plain(struct bpf_prog_info *info, int fd) in print_prog_plain()
503 struct bpf_prog_info info = {}; in show_prog()
611 prog_dump(struct bpf_prog_info *info, enum dump_mode mode, in prog_dump()
Dbtf.c473 struct bpf_prog_info info = {}; in do_dump()
680 btf_id = ((struct bpf_prog_info *)info)->btf_id; in build_btf_type_table()
716 struct bpf_prog_info prog_info; in build_btf_tables()
/Linux-v5.10/samples/bpf/
Dxdp1_user.c86 struct bpf_prog_info info = {}; in main()
Dxdp_adjust_tail_user.c91 struct bpf_prog_info info = {}; in main()
Dxdp_sample_pkts_user.c29 struct bpf_prog_info info = {}; in do_attach()
Dxdp_redirect_map_user.c104 struct bpf_prog_info info = {}; in main()
Dxdp_redirect_user.c106 struct bpf_prog_info info = {}; in main()
Dxdp_tx_iptunnel_user.c162 struct bpf_prog_info info = {}; in main()
/Linux-v5.10/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()
/Linux-v5.10/tools/lib/bpf/
Dlibbpf.h611 struct bpf_prog_info;
615 bpf_prog_linfo__new(const struct bpf_prog_info *info);
688 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()

12