Lines Matching refs:info_linear
53 struct bpf_prog_info_linear *info_linear; in machine__process_bpf_event_load() local
66 info_linear = info_node->info_linear; in machine__process_bpf_event_load()
68 for (i = 0; i < info_linear->info.nr_jited_ksyms; i++) { in machine__process_bpf_event_load()
69 u64 *addrs = (u64 *)(uintptr_t)(info_linear->info.jited_ksyms); in machine__process_bpf_event_load()
184 struct bpf_prog_info_linear *info_linear; in perf_event__synthesize_one_bpf_prog() local
208 info_linear = bpf_program__get_prog_info_linear(fd, arrays); in perf_event__synthesize_one_bpf_prog()
209 if (IS_ERR_OR_NULL(info_linear)) { in perf_event__synthesize_one_bpf_prog()
210 info_linear = NULL; 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()
216 free(info_linear); in perf_event__synthesize_one_bpf_prog()
221 info = &info_linear->info; in perf_event__synthesize_one_bpf_prog()
223 free(info_linear); in perf_event__synthesize_one_bpf_prog()
231 free(info_linear); in perf_event__synthesize_one_bpf_prog()
240 free(info_linear); in perf_event__synthesize_one_bpf_prog()
302 info_node->info_linear = info_linear; in perf_event__synthesize_one_bpf_prog()
304 info_linear = NULL; in perf_event__synthesize_one_bpf_prog()
315 free(info_linear); in perf_event__synthesize_one_bpf_prog()
461 struct bpf_prog_info_linear *info_linear; in perf_env__add_bpf_info() local
480 info_linear = bpf_program__get_prog_info_linear(fd, arrays); in perf_env__add_bpf_info()
481 if (IS_ERR_OR_NULL(info_linear)) { in perf_env__add_bpf_info()
486 btf_id = info_linear->info.btf_id; in perf_env__add_bpf_info()
490 info_node->info_linear = info_linear; in perf_env__add_bpf_info()
493 free(info_linear); in perf_env__add_bpf_info()