tracing: finetune branch-tracer output
Steve suggested the to change the output from this: > bash-3471 [003] 357.014755: [ MISS ] sched_info_dequeued:sched_stats.h:177 > bash-3471 [003] 357.014756: [ .... ] update_curr:sched_fair.c:489 > bash-3471 [003] 357.014758: [ .... ] calc_delta_fair:sched_fair.c:411 to this: > bash-3471 [003] 357.014755: [ MISS ] sched_info_dequeued:sched_stats.h:177 > bash-3471 [003] 357.014756: [ ok ] update_curr:sched_fair.c:489 > bash-3471 [003] 357.014758: [ ok ] calc_delta_fair:sched_fair.c:411 as it makes it clearer to the user what it means exactly. Acked-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
2b7d0390a6
commit
68d119f0a6
|
@ -1657,7 +1657,7 @@ print_lat_fmt(struct trace_iterator *iter, unsigned int trace_idx, int cpu)
|
||||||
trace_assign_type(field, entry);
|
trace_assign_type(field, entry);
|
||||||
|
|
||||||
trace_seq_printf(s, "[%s] %s:%s:%d\n",
|
trace_seq_printf(s, "[%s] %s:%s:%d\n",
|
||||||
field->correct ? " .... " : " MISS ",
|
field->correct ? " ok " : " MISS ",
|
||||||
field->func,
|
field->func,
|
||||||
field->file,
|
field->file,
|
||||||
field->line);
|
field->line);
|
||||||
|
@ -1808,7 +1808,7 @@ static enum print_line_t print_trace_fmt(struct trace_iterator *iter)
|
||||||
trace_assign_type(field, entry);
|
trace_assign_type(field, entry);
|
||||||
|
|
||||||
trace_seq_printf(s, "[%s] %s:%s:%d\n",
|
trace_seq_printf(s, "[%s] %s:%s:%d\n",
|
||||||
field->correct ? " .... " : " MISS ",
|
field->correct ? " ok " : " MISS ",
|
||||||
field->func,
|
field->func,
|
||||||
field->file,
|
field->file,
|
||||||
field->line);
|
field->line);
|
||||||
|
|
Loading…
Reference in New Issue