summaryrefslogtreecommitdiffstats
path: root/kernel/semaphore.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2011-06-03 16:58:51 +0200
committerSteven Rostedt <rostedt@goodmis.org>2011-06-14 22:48:49 -0400
commit749230b06a753a22f6ed96e5dd60815d6ab12865 (patch)
tree32aa2fb64a4fe4c7a9effee21f379486703ecd28 /kernel/semaphore.c
parent199abfab40389963b397c2982222e68ea782b2cf (diff)
downloadlinux-749230b06a753a22f6ed96e5dd60815d6ab12865.tar.bz2
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/semaphore.c')
0 files changed, 0 insertions, 0 deletions