Lines Matching refs:ftrace_debug
54 FILE *ftrace_debug; variable
429 ftrace_debug = fopen(fname, "wb"); in trace_init()
430 if (ftrace_debug == NULL) { in trace_init()
435 ftrace_debug = NULL; in trace_init()
740 if (ftrace_debug) in trace_cleanup()
741 fclose(ftrace_debug); in trace_cleanup()
1392 if (ftrace_debug) { in trace_exception()
1393 …fprintf(ftrace_debug, "t%llu exc pc: 0x%x bb_addr: 0x%x num_insns: %d current_pc: 0x%x bb_num %llu… in trace_exception()
1461 if (ftrace_debug && trace_pid.fstream) in trace_switch()
1462 fprintf(ftrace_debug, "t%lld switch %d\n", sim_time, pid); in trace_switch()
1471 if (ftrace_debug && trace_pid.fstream) in trace_fork()
1472 fprintf(ftrace_debug, "t%lld fork %d\n", sim_time, pid); in trace_fork()
1480 if (ftrace_debug && trace_pid.fstream) in trace_clone()
1481 fprintf(ftrace_debug, "t%lld clone %d\n", sim_time, pid); in trace_clone()
1489 if (ftrace_debug && trace_pid.fstream) in trace_exit()
1490 fprintf(ftrace_debug, "t%lld exit %d\n", sim_time, exitcode); in trace_exit()
1498 if (ftrace_debug && trace_pid.fstream) { in trace_name()
1499 fprintf(ftrace_debug, "t%lld pid %d name %s\n", in trace_name()
1544 if (ftrace_debug) { in trace_execve()
1545 fprintf(ftrace_debug, "t%lld argc: %d\n", sim_time, argc); in trace_execve()
1549 fprintf(ftrace_debug, " argv[%d]: %s\n", ii, ptr); in trace_execve()
1587 if (ftrace_debug) in trace_mmap()
1588 fprintf(ftrace_debug, "t%lld mmap %08lx - %08lx, offset %08lx '%s'\n", in trace_mmap()
1617 if (ftrace_debug) in trace_munmap()
1618 fprintf(ftrace_debug, "t%lld munmap %08lx - %08lx\n", in trace_munmap()
1643 if (ftrace_debug) in trace_dynamic_symbol_add()
1644 fprintf(ftrace_debug, "t%lld sym %08lx '%s'\n", sim_time, vaddr, name); in trace_dynamic_symbol_add()
1670 if (ftrace_debug) in trace_dynamic_symbol_remove()
1671 fprintf(ftrace_debug, "t%lld remove %08lx\n", sim_time, vaddr); in trace_dynamic_symbol_remove()
1694 if (ftrace_debug) in trace_init_name()
1695 fprintf(ftrace_debug, "t%lld kthread %d %s\n", sim_time, pid, name); in trace_init_name()
1735 if (ftrace_debug) in trace_bb_helper()
1736 fprintf(ftrace_debug, "t%lld %lld\n", sim_time, bb_num); in trace_bb_helper()
1804 if (ftrace_debug) { in trace_insn_helper()
1806 fprintf(ftrace_debug, "%llu %x\n", sim_time, current_pc); in trace_insn_helper()