diff options
author | Jiri Olsa <jolsa@redhat.com> | 2011-06-03 16:58:51 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-06-15 04:48:49 +0200 |
commit | 749230b06a753a22f6ed96e5dd60815d6ab12865 (patch) | |
tree | 32aa2fb64a4fe4c7a9effee21f379486703ecd28 /kernel/trace/ring_buffer.c | |
parent | tracing, function_graph: Remove lock-depth from latency trace (diff) | |
download | linux-749230b06a753a22f6ed96e5dd60815d6ab12865.tar.xz linux-749230b06a753a22f6ed96e5dd60815d6ab12865.zip |
tracing, function_graph: Add context-info support for function_graph tracer
The function_graph tracer does not follow global context-info option.
Adding TRACE_ITER_CONTEXT_INFO trace_flags check to enable it.
With following commands:
# echo function_graph > ./current_tracer
# echo 0 > options/context-info
# cat trace
This is what it looked like before:
# tracer: function_graph
#
# TIME CPU DURATION FUNCTION CALLS
# | | | | | | | |
1) 0.079 us | } /* __vma_link_rb */
1) 0.056 us | copy_page_range();
1) | security_vm_enough_memory() {
...
This is what it looks like now:
# tracer: function_graph
#
} /* update_ts_time_stats */
timekeeping_max_deferment();
...
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1307113131-10045-6-git-send-email-jolsa@redhat.com
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions