Home
last modified time | relevance | path

Searched refs:dump_buf_file (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_split.c8 static FILE *dump_buf_file; variable
67 dump_buf_file = open_memstream(&dump_buf, &dump_buf_sz); in test_btf_split()
68 if (!ASSERT_OK_PTR(dump_buf_file, "dump_memstream")) in test_btf_split()
70 d = btf_dump__new(btf2, btf_dump_printf, dump_buf_file, NULL); in test_btf_split()
77 fflush(dump_buf_file); in test_btf_split()
91 if (dump_buf_file) in test_btf_split()
92 fclose(dump_buf_file); in test_btf_split()
H A Dbtf_dump.c131 static FILE *dump_buf_file; variable
139 dump_buf_file = open_memstream(&dump_buf, &dump_buf_sz); in test_btf_dump_incremental()
140 if (!ASSERT_OK_PTR(dump_buf_file, "dump_memstream")) in test_btf_dump_incremental()
145 d = btf_dump__new(btf, btf_dump_printf, dump_buf_file, NULL); in test_btf_dump_incremental()
190 fflush(dump_buf_file); in test_btf_dump_incremental()
224 fseek(dump_buf_file, 0, SEEK_SET); in test_btf_dump_incremental()
240 fflush(dump_buf_file); in test_btf_dump_incremental()
252 fclose(dump_buf_file); in test_btf_dump_incremental()