Lines Matching refs:btf_prog_table
835 build_btf_tables(struct hashmap *btf_prog_table, in build_btf_tables() argument
844 err = build_btf_type_table(btf_prog_table, BPF_OBJ_PROG, &prog_info, in build_btf_tables()
852 hashmap__free(btf_prog_table); in build_btf_tables()
861 struct hashmap *btf_prog_table, in show_btf_plain() argument
878 hashmap__for_each_key_entry(btf_prog_table, entry, in show_btf_plain()
898 struct hashmap *btf_prog_table, in show_btf_json() argument
910 hashmap__for_each_key_entry(btf_prog_table, entry, in show_btf_json()
935 show_btf(int fd, struct hashmap *btf_prog_table, in show_btf() argument
964 show_btf_json(&info, fd, btf_prog_table, btf_map_table); in show_btf()
966 show_btf_plain(&info, fd, btf_prog_table, btf_map_table); in show_btf()
973 struct hashmap *btf_prog_table; in do_show() local
990 btf_prog_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
994 if (IS_ERR(btf_prog_table) || IS_ERR(btf_map_table)) { in do_show()
995 hashmap__free(btf_prog_table); in do_show()
1002 err = build_btf_tables(btf_prog_table, btf_map_table); in do_show()
1011 err = show_btf(fd, btf_prog_table, btf_map_table); in do_show()
1043 err = show_btf(fd, btf_prog_table, btf_map_table); in do_show()
1053 hashmap__free(btf_prog_table); in do_show()