bpf_prog_info
int bpf_prog_offload_info_fill(struct bpf_prog_info *info,
struct bpf_prog_info *info;
int bpf_prog_offload_info_fill(struct bpf_prog_info *info,
static int set_info_rec_size(struct bpf_prog_info *info)
struct bpf_prog_info __user *uinfo = u64_to_user_ptr(attr->info.info);
struct bpf_prog_info info;
struct bpf_prog_info info = {};
struct bpf_prog_info prog_info = {};
struct bpf_prog_info info = {};
btf_id = ((struct bpf_prog_info *)info)->btf_id;
struct bpf_prog_info prog_info;
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
void get_prog_full_name(const struct bpf_prog_info *prog_info, int prog_fd,
struct bpf_prog_info info = {};
struct bpf_prog_info pinned_info;
struct bpf_prog_info info = {};
static int get_prog_info(int prog_id, struct bpf_prog_info *info)
struct bpf_prog_info prog_info;
struct bpf_prog_info prog_info;
void get_prog_full_name(const struct bpf_prog_info *prog_info, int prog_fd,
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info prog_info;
struct bpf_prog_info info = {};
static void print_prog_header_json(struct bpf_prog_info *info, int fd)
static void print_prog_json(struct bpf_prog_info *info, int fd, bool orphaned)
static void print_prog_header_plain(struct bpf_prog_info *info, int fd)
static void print_prog_plain(struct bpf_prog_info *info, int fd, bool orphaned)
struct bpf_prog_info info = {};
prog_dump(struct bpf_prog_info *info, enum dump_mode mode,
struct bpf_prog_info info;
static int prep_prog_info(struct bpf_prog_info *const info, enum dump_mode mode,
struct bpf_prog_info holder = {};
int bpf_prog_get_info_by_fd(int prog_fd, struct bpf_prog_info *info, __u32 *info_len)
LIBBPF_API int bpf_prog_get_info_by_fd(int prog_fd, struct bpf_prog_info *info, __u32 *info_len);
struct bpf_prog_linfo *bpf_prog_linfo__new(const struct bpf_prog_info *info)
struct bpf_prog_info info;
bpf_prog_linfo__new(const struct bpf_prog_info *info);
struct bpf_prog_info info;
struct bpf_prog_info *info,
static struct bpf_metadata *bpf_metadata_create(struct bpf_prog_info *info)
static struct bpf_metadata *bpf_metadata_create(struct bpf_prog_info *info __maybe_unused)
struct bpf_prog_info *info;
if (info_linear->info_len < offsetof(struct bpf_prog_info, prog_tags)) {
void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info,
struct bpf_prog_info;
void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info,
static inline void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info __maybe_unused,
static void bpf_prog_info_set_offset_u64(struct bpf_prog_info *info, int offset,
struct bpf_prog_info info = {};
info_linear->info_len = sizeof(struct bpf_prog_info);
offsetof(struct bpf_prog_info, jited_prog_insns),
offsetof(struct bpf_prog_info, jited_prog_len),
offsetof(struct bpf_prog_info, xlated_prog_insns),
offsetof(struct bpf_prog_info, xlated_prog_len),
offsetof(struct bpf_prog_info, map_ids),
offsetof(struct bpf_prog_info, nr_map_ids),
offsetof(struct bpf_prog_info, jited_ksyms),
offsetof(struct bpf_prog_info, nr_jited_ksyms),
offsetof(struct bpf_prog_info, jited_func_lens),
offsetof(struct bpf_prog_info, nr_jited_func_lens),
offsetof(struct bpf_prog_info, func_info),
offsetof(struct bpf_prog_info, nr_func_info),
offsetof(struct bpf_prog_info, func_info_rec_size),
offsetof(struct bpf_prog_info, line_info),
offsetof(struct bpf_prog_info, nr_line_info),
offsetof(struct bpf_prog_info, line_info_rec_size),
offsetof(struct bpf_prog_info, jited_line_info),
offsetof(struct bpf_prog_info, nr_jited_line_info),
offsetof(struct bpf_prog_info, jited_line_info_rec_size),
offsetof(struct bpf_prog_info, prog_tags),
offsetof(struct bpf_prog_info, nr_prog_tags),
static __u32 bpf_prog_info_read_offset_u32(struct bpf_prog_info *info,
static __u64 bpf_prog_info_read_offset_u64(struct bpf_prog_info *info,
static void bpf_prog_info_set_offset_u32(struct bpf_prog_info *info, int offset,
struct bpf_prog_info info;
if (info_len > sizeof(struct bpf_prog_info)) {
info_linear->info_len = sizeof(struct bpf_prog_info);
if (info_len < sizeof(struct bpf_prog_info))
sizeof(struct bpf_prog_info) - info_len);
FEAT_OPR(BPF_PROG_INFO, bpf_prog_info, false),
struct bpf_prog_info info = {};
struct bpf_prog_info prog_info;
!ASSERT_EQ(info_len, sizeof(struct bpf_prog_info), "prog_info_len") ||
struct bpf_prog_info prog_info = {};
ASSERT_EQ(info_len, sizeof(struct bpf_prog_info), "prog_info_len");
struct bpf_prog_info prog_infos[nr_iters + 1];
info_len = sizeof(struct bpf_prog_info) * 2;
struct bpf_prog_info info = {};
info_len = sizeof(struct bpf_prog_info);
struct bpf_prog_info info = {};
info_len = sizeof(struct bpf_prog_info);
struct bpf_prog_info info = {};
info_len = sizeof(struct bpf_prog_info);
TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, BTF_F_COMPACT,
TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info,
TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, 0,
TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, BTF_F_COMPACT,
TEST_BTF_DUMP_DATA(btf, d, "struct", str, struct bpf_prog_info, BTF_F_COMPACT,
struct bpf_prog_info info;
__u32 len = sizeof(struct bpf_prog_info);
struct bpf_prog_info info;
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info prog_info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info prog_info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info prog_info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
__u32 info_len = sizeof(struct bpf_prog_info);
struct bpf_prog_info info = {};
struct bpf_prog_info info;
struct bpf_prog_info info = {};
struct bpf_prog_info info;
struct bpf_prog_info info;
struct bpf_prog_info prog_info;
struct bpf_prog_info prog_info = {};
__u32 len = sizeof(struct bpf_prog_info);
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info info = {};
__u32 len = sizeof(struct bpf_prog_info), duration = 0, prog_id;
struct bpf_prog_info prog_info;
TEST_BTF(str, struct bpf_prog_info, 0,
TEST_BTF(str, struct bpf_prog_info, BTF_F_NONAME,
TEST_BTF(str, struct bpf_prog_info, 0,
TEST_BTF(str, struct bpf_prog_info, 0,
struct bpf_prog_info prog_info = {};
struct bpf_prog_info info = {};
struct bpf_prog_info info;
struct bpf_prog_info info = {};
struct bpf_prog_info prog_info;
prog_info = (struct bpf_prog_info) {