Lines Matching refs:jitdump
113 static FILE *jitdump; variable
202 jitdump = safe_fopen_w(jitdump_file); in perf_enable_jitdump()
203 if (jitdump == NULL) { in perf_enable_jitdump()
216 MAP_PRIVATE, fileno(jitdump), 0); in perf_enable_jitdump()
220 fclose(jitdump); in perf_enable_jitdump()
221 jitdump = NULL; in perf_enable_jitdump()
233 fwrite(&header, sizeof(header), 1, jitdump); in perf_enable_jitdump()
266 fwrite(&rec, sizeof(rec), 1, jitdump); in write_jr_code_debug_info()
275 fwrite(&ent, sizeof(ent), 1, jitdump); in write_jr_code_debug_info()
276 fwrite(q[insn].file, strlen(q[insn].file) + 1, 1, jitdump); in write_jr_code_debug_info()
284 fwrite(&ent, sizeof(ent), 1, jitdump); in write_jr_code_debug_info()
285 fwrite("", 1, 1, jitdump); in write_jr_code_debug_info()
307 fwrite(&rec, sizeof(rec), 1, jitdump); in write_jr_code_load()
308 fwrite(symbol, symbol_size, 1, jitdump); in write_jr_code_load()
309 fwrite(start, host_size, 1, jitdump); in write_jr_code_load()
319 if (!perfmap && !jitdump) { in perf_report_code()
340 q[insn].flags = DEBUGINFO_SYMBOL | (jitdump ? DEBUGINFO_LINE : 0); in perf_report_code()
354 if (jitdump) { in perf_report_code()
355 flockfile(jitdump); in perf_report_code()
359 funlockfile(jitdump); in perf_report_code()
378 if (jitdump) { in perf_exit()
379 fclose(jitdump); in perf_exit()
380 jitdump = NULL; in perf_exit()