diff options
author | Jiri Olsa <jolsa@redhat.com> | 2011-06-03 16:58:49 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-06-14 22:48:48 -0400 |
commit | f56e7f8efb4ec200364f690a9902713410e24d47 (patch) | |
tree | f8708b5a7f82be989b987fbf190a55054dd41c7b /net/bluetooth | |
parent | ffeb80fc30acbf6bd51cb47a1815f621a9d017dc (diff) |
tracing, function: Fix trace header to follow context-info option
The header display of function tracer does not follow
the context-info option, so field names are displayed even
if this option is off.
Added check for TRACE_ITER_CONTEXT_INFO trace_flags.
With following commands:
# echo function > ./current_tracer
# echo 0 > options/context-info
# cat trace
This is what it looked like before:
# tracer: function
#
# TASK-PID CPU# TIMESTAMP FUNCTION
# | | | | |
add_preempt_count <-schedule
rcu_note_context_switch <-schedule
...
This is what it looks like now:
# tracer: function
#
_raw_spin_unlock_irqrestore <-hrtimer_try_to_cancel
...
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1307113131-10045-4-git-send-email-jolsa@redhat.com
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions