Lines Matching refs:output
144 FILE *output; member
1372 color_fprintf(trace->output, PERF_COLOR_RED, in trace__process_event()
1625 trace->output); in trace__validate_ev_qualifier()
1666 fputs("\nError:\t Not enough memory for parsing\n", trace->output); in trace__validate_ev_qualifier()
1865 fprintf(trace->output, "Invalid syscall %d id, skipping (%s, %" PRIu64 ") ...\n", in trace__syscall_info()
1888 …fprintf(trace->output, "Problems reading syscall %d: %d (%s)", id, -err, str_error_r(-err, sbuf, s… in trace__syscall_info()
1890 fprintf(trace->output, "(%s)", trace->syscalls.table[id].name); in trace__syscall_info()
1891 fputs(" information\n", trace->output); in trace__syscall_info()
1936 …d = trace__fprintf_entry_head(trace, trace->current, 0, false, ttrace->entry_time, trace->output); in trace__printf_interrupted_entry()
1937 printed += len = fprintf(trace->output, "%s)", ttrace->entry_str); in trace__printf_interrupted_entry()
1940 printed += fprintf(trace->output, "%-*s", trace->args_alignment - 4 - len, " "); in trace__printf_interrupted_entry()
1942 printed += fprintf(trace->output, " ...\n"); in trace__printf_interrupted_entry()
1958 printed += fprintf(trace->output, "%22s %10.3f %s %d/%d [%d]\n", in trace__fprintf_sample()
2011 ttrace = thread__trace(thread, trace->output); in trace__sys_enter()
2050 trace__fprintf_entry_head(trace, thread, 0, false, ttrace->entry_time, trace->output); in trace__sys_enter()
2051 printed = fprintf(trace->output, "%s)", ttrace->entry_str); in trace__sys_enter()
2054 fprintf(trace->output, "%*s= ?\n", alignment, " "); in trace__sys_enter()
2087 ttrace = thread__trace(thread, trace->output); in trace__fprintf_sys_enter()
2098 fprintf(trace->output, "%s", msg); in trace__fprintf_sys_enter()
2130 …intf_callchain(sample, 38, print_opts, &callchain_cursor, symbol_conf.bt_stop_list, trace->output); in trace__fprintf_callchain()
2158 ttrace = thread__trace(thread, trace->output); in trace__sys_exit()
2195 …printf_entry_head(trace, thread, duration, duration_calculated, ttrace->entry_time, trace->output); in trace__sys_exit()
2198 printed = fprintf(trace->output, "%s", ttrace->entry_str); in trace__sys_exit()
2200 printed += fprintf(trace->output, " ... ["); in trace__sys_exit()
2201 color_fprintf(trace->output, PERF_COLOR_YELLOW, "continued"); in trace__sys_exit()
2203 printed += fprintf(trace->output, "]: %s()", sc->name); in trace__sys_exit()
2213 fprintf(trace->output, ")%*s= ", alignment, " "); in trace__sys_exit()
2219 fprintf(trace->output, "%ld", ret); in trace__sys_exit()
2226 fprintf(trace->output, "-1 %s (%s)", e, emsg); in trace__sys_exit()
2229 fprintf(trace->output, "0 (Timeout)"); in trace__sys_exit()
2239 fprintf(trace->output, "%s", bf); in trace__sys_exit()
2241 fprintf(trace->output, "%#lx", ret); in trace__sys_exit()
2246 fprintf(trace->output, "%ld", ret); in trace__sys_exit()
2248 fprintf(trace->output, " (%s)", thread__comm_str(child)); in trace__sys_exit()
2254 fputc('\n', trace->output); in trace__sys_exit()
2345 struct thread_trace *ttrace = thread__trace(thread, trace->output); in trace__sched_stat_runtime()
2357 fprintf(trace->output, "%s: comm=%s,pid=%u,runtime=%" PRIu64 ",vruntime=%" PRIu64 ")\n", in trace__sched_stat_runtime()
2394 bpf_output__printer, NULL, trace->output); in bpf_output__fprintf()
2425 trace__fprintf_tstamp(trace, sample->time, trace->output); in trace__event_handler()
2428 fprintf(trace->output, "( ): "); in trace__event_handler()
2431 trace__fprintf_comm_tid(trace, thread, trace->output); in trace__event_handler()
2438 fprintf(trace->output, "%s(", sc->name); in trace__event_handler()
2440 fputc(')', trace->output); in trace__event_handler()
2451 fprintf(trace->output, "%s:", evsel->name); in trace__event_handler()
2460 trace->output); in trace__event_handler()
2471 fprintf(trace->output, "\n"); in trace__event_handler()
2522 ttrace = thread__trace(thread, trace->output); in trace__pgfault()
2536 trace__fprintf_entry_head(trace, thread, 0, true, sample->time, trace->output); in trace__pgfault()
2538 fprintf(trace->output, "%sfault [", in trace__pgfault()
2542 print_location(trace->output, sample, &al, false, true); in trace__pgfault()
2544 fprintf(trace->output, "] => "); in trace__pgfault()
2557 print_location(trace->output, sample, &al, true, false); in trace__pgfault()
2559 fprintf(trace->output, " (%c%c)\n", map_type, al.level); in trace__pgfault()
2740 fprintf(trace->output, "Unknown tp ID %" PRIu64 ", skipping...\n", sample->id); in trace__handle_event()
2751 …fprintf(trace->output, "%s sample with no payload for tid: %d, cpu %d, raw_size=%d, skipping...\n", in trace__handle_event()
3265 fprintf(trace->output, "Can't parse sample, err = %d, skipping...\n", err); in __trace__deliver_event()
3385 fprintf(trace->output, "Problems parsing the target to trace, check your options!\n"); in trace__run()
3391 fprintf(trace->output, "Problems initializing symbol libraries!\n"); in trace__run()
3404 fprintf(trace->output, "Couldn't run the workload!\n"); in trace__run()
3462 bpf_map__fprintf(trace->dump.map, trace->output); in trace__run()
3551 trace__fprintf_thread_summary(trace, trace->output); in trace__run()
3554 fprintf(trace->output, "Stats:\n " in trace__run()
3589 fprintf(trace->output, "%s\n", errbuf); in trace__run()
3593 fprintf(trace->output, in trace__run()
3600 fprintf(trace->output, "Not enough memory to run!\n"); in trace__run()
3604 fprintf(trace->output, "errno=%d,%s\n", errno, strerror(errno)); in trace__run()
3699 trace__fprintf_thread_summary(trace, trace->output); in trace__replay()
3888 trace->output = fopen(filename, "w"); in trace__open_output()
3890 return trace->output == NULL ? -errno : 0; in trace__open_output()
4019 fputs("Not enough memory to parse event qualifier", trace->output); in trace__parse_events_option()
4141 .output = stderr, in cmd_trace()
4458 fprintf(trace.output, "%s", bf); in cmd_trace()
4465 fprintf(trace.output, "%s", bf); in cmd_trace()
4479 fclose(trace.output); in cmd_trace()