Lines Matching refs:trace
132 struct trace_instance *trace = context; in timerlat_top_handler() local
137 top = container_of(trace, struct osnoise_tool, trace); in timerlat_top_handler()
153 struct trace_seq *s = top->trace.seq; in timerlat_top_header()
183 struct trace_seq *s = top->trace.seq; in timerlat_top_print()
240 struct trace_instance *trace = &top->trace; in timerlat_print_stats() local
248 clear_terminal(trace->seq); in timerlat_print_stats()
258 trace_seq_do_printf(trace->seq); in timerlat_print_stats()
259 trace_seq_reset(trace->seq); in timerlat_print_stats()
563 tep_register_event_handler(top->trace.tep, -1, "ftrace", "timerlat", in timerlat_init_top()
597 struct trace_instance *trace; in timerlat_top_main() local
618 trace = &top->trace; in timerlat_top_main()
620 retval = enable_timerlat(trace); in timerlat_top_main()
642 trace_instance_start(trace); in timerlat_top_main()
652 retval = trace_events_enable(&record->trace, params->events); in timerlat_top_main()
657 trace_instance_start(&record->trace); in timerlat_top_main()
666 retval = tracefs_iterate_raw_events(trace->tep, in timerlat_top_main()
667 trace->inst, in timerlat_top_main()
671 trace); in timerlat_top_main()
680 if (trace_is_off(&top->trace, &record->trace)) in timerlat_top_main()
689 if (trace_is_off(&top->trace, &record->trace)) { in timerlat_top_main()
693 save_trace_to_file(record->trace.inst, params->trace_output); in timerlat_top_main()
700 trace_events_destroy(&record->trace, params->events); in timerlat_top_main()