Searched refs:prog_btf (Results 1 – 2 of 2) sorted by relevance
416 struct btf *prog_btf = NULL; in get_prog_full_name() local434 prog_btf = btf__load_from_kernel_by_id(info.btf_id); in get_prog_full_name()435 if (!prog_btf) in get_prog_full_name()438 func_type = btf__type_by_id(prog_btf, finfo.type_id); in get_prog_full_name()442 prog_name = btf__name_by_offset(prog_btf, func_type->name_off); in get_prog_full_name()447 if (prog_btf) in get_prog_full_name()448 btf__free(prog_btf); in get_prog_full_name()
40 struct btf *prog_btf = NULL; in dump_prog_id_as_func_ptr() local77 prog_btf = btf__load_from_kernel_by_id(info.btf_id); in dump_prog_id_as_func_ptr()78 if (!prog_btf) in dump_prog_id_as_func_ptr()80 func_type = btf__type_by_id(prog_btf, finfo.type_id); in dump_prog_id_as_func_ptr()84 prog_name = btf__name_by_offset(prog_btf, func_type->name_off); in dump_prog_id_as_func_ptr()101 btf__free(prog_btf); in dump_prog_id_as_func_ptr()