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