Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
H A Djit_disasm_helpers.c91 static int disasm_one_func(FILE *text_out, uint8_t *image, __u32 len) in disasm_one_func() argument
151 fprintf(text_out, "%x:\t", pc); in disasm_one_func()
153 fprintf(text_out, "%02x ", image[pc + i]); in disasm_one_func()
155 fputc(' ', text_out); in disasm_one_func()
156 fprintf(text_out, "%s%s%s\n", label, colon, buf); in disasm_one_func()
174 FILE *text_out = NULL; in get_jited_program_text() local
185 text_out = fmemopen(text, text_sz, "w"); in get_jited_program_text()
186 if (!ASSERT_OK_PTR(text_out, "open_memstream")) { in get_jited_program_text()
220 fprintf(text_out, "func #%d:\n", i); in get_jited_program_text()
221 disasm_one_func(text_out, image + pc, func_lens[i]); in get_jited_program_text()
[all …]