diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-11-12 08:09:30 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-12 08:13:11 -0500 |
commit | 68d119f0a66f7e3663304343b072e56a2693446b (patch) | |
tree | 1bca906c6955cc9043e0d6e3b0d4404e238cb5fd | |
parent | 2b7d0390a6d6d595f43ea3806639664afe5b9ebe (diff) |
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>
-rw-r--r-- | kernel/trace/trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 728a46ec6b06..d842db14a59b 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -1657,7 +1657,7 @@ print_lat_fmt(struct trace_iterator *iter, unsigned int trace_idx, int cpu) | |||
1657 | trace_assign_type(field, entry); | 1657 | trace_assign_type(field, entry); |
1658 | 1658 | ||
1659 | trace_seq_printf(s, "[%s] %s:%s:%d\n", | 1659 | trace_seq_printf(s, "[%s] %s:%s:%d\n", |
1660 | field->correct ? " .... " : " MISS ", | 1660 | field->correct ? " ok " : " MISS ", |
1661 | field->func, | 1661 | field->func, |
1662 | field->file, | 1662 | field->file, |
1663 | field->line); | 1663 | field->line); |
@@ -1808,7 +1808,7 @@ static enum print_line_t print_trace_fmt(struct trace_iterator *iter) | |||
1808 | trace_assign_type(field, entry); | 1808 | trace_assign_type(field, entry); |
1809 | 1809 | ||
1810 | trace_seq_printf(s, "[%s] %s:%s:%d\n", | 1810 | trace_seq_printf(s, "[%s] %s:%s:%d\n", |
1811 | field->correct ? " .... " : " MISS ", | 1811 | field->correct ? " ok " : " MISS ", |
1812 | field->func, | 1812 | field->func, |
1813 | field->file, | 1813 | field->file, |
1814 | field->line); | 1814 | field->line); |