Lines Matching refs:btf_prog_table
1217 build_btf_tables(struct hashmap *btf_prog_table, in build_btf_tables() argument
1226 err = build_btf_type_table(btf_prog_table, BPF_OBJ_PROG, &prog_info, in build_btf_tables()
1234 hashmap__free(btf_prog_table); in build_btf_tables()
1243 struct hashmap *btf_prog_table, in show_btf_plain() argument
1260 hashmap__for_each_key_entry(btf_prog_table, entry, info->id) { in show_btf_plain()
1276 struct hashmap *btf_prog_table, in show_btf_json() argument
1288 hashmap__for_each_key_entry(btf_prog_table, entry, info->id) { in show_btf_json()
1311 show_btf(int fd, struct hashmap *btf_prog_table, in show_btf() argument
1340 show_btf_json(&info, fd, btf_prog_table, btf_map_table); in show_btf()
1342 show_btf_plain(&info, fd, btf_prog_table, btf_map_table); in show_btf()
1349 struct hashmap *btf_prog_table; in do_show() local
1366 btf_prog_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
1370 if (IS_ERR(btf_prog_table) || IS_ERR(btf_map_table)) { in do_show()
1371 hashmap__free(btf_prog_table); in do_show()
1378 err = build_btf_tables(btf_prog_table, btf_map_table); in do_show()
1387 err = show_btf(fd, btf_prog_table, btf_map_table); in do_show()
1419 err = show_btf(fd, btf_prog_table, btf_map_table); in do_show()
1429 hashmap__free(btf_prog_table); in do_show()