Lines Matching refs:btf_prog_table
1213 build_btf_tables(struct hashmap *btf_prog_table, in build_btf_tables() argument
1222 err = build_btf_type_table(btf_prog_table, BPF_OBJ_PROG, &prog_info, in build_btf_tables()
1230 hashmap__free(btf_prog_table); in build_btf_tables()
1239 struct hashmap *btf_prog_table, in show_btf_plain() argument
1256 hashmap__for_each_key_entry(btf_prog_table, entry, info->id) { in show_btf_plain()
1272 struct hashmap *btf_prog_table, in show_btf_json() argument
1284 hashmap__for_each_key_entry(btf_prog_table, entry, info->id) { in show_btf_json()
1307 show_btf(int fd, struct hashmap *btf_prog_table, in show_btf() argument
1336 show_btf_json(&info, fd, btf_prog_table, btf_map_table); in show_btf()
1338 show_btf_plain(&info, fd, btf_prog_table, btf_map_table); in show_btf()
1345 struct hashmap *btf_prog_table; in do_show() local
1362 btf_prog_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
1366 if (IS_ERR(btf_prog_table) || IS_ERR(btf_map_table)) { in do_show()
1367 hashmap__free(btf_prog_table); in do_show()
1374 err = build_btf_tables(btf_prog_table, btf_map_table); in do_show()
1383 err = show_btf(fd, btf_prog_table, btf_map_table); in do_show()
1415 err = show_btf(fd, btf_prog_table, btf_map_table); in do_show()
1425 hashmap__free(btf_prog_table); in do_show()