diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-03-24 13:38:36 -0400 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-24 23:22:58 -0400 |
commit | 425480081e936d8725f0d44b8829d699bf088c6b (patch) | |
tree | 214bd7f813fde6b71f624b85756b27ec5078c3fd /kernel/trace/trace_branch.c | |
parent | ee000b7f9fe429d2470c674ccec8d344f6789e0d (diff) |
tracing: add handler to trace_stat
Currently, if a trace_stat user wants a handle to some private data,
the trace_stat infrastructure does not supply a way to do that.
This patch passes the trace_stat structure to the start function of
the trace_stat code.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/trace_branch.c')
-rw-r--r-- | kernel/trace/trace_branch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c index ad8c22efff41..e6e32912ffb8 100644 --- a/kernel/trace/trace_branch.c +++ b/kernel/trace/trace_branch.c | |||
@@ -263,7 +263,7 @@ static int branch_stat_show(struct seq_file *m, void *v) | |||
263 | return 0; | 263 | return 0; |
264 | } | 264 | } |
265 | 265 | ||
266 | static void *annotated_branch_stat_start(void) | 266 | static void *annotated_branch_stat_start(struct tracer_stat *trace) |
267 | { | 267 | { |
268 | return __start_annotated_branch_profile; | 268 | return __start_annotated_branch_profile; |
269 | } | 269 | } |
@@ -338,7 +338,7 @@ static int all_branch_stat_headers(struct seq_file *m) | |||
338 | return 0; | 338 | return 0; |
339 | } | 339 | } |
340 | 340 | ||
341 | static void *all_branch_stat_start(void) | 341 | static void *all_branch_stat_start(struct tracer_stat *trace) |
342 | { | 342 | { |
343 | return __start_branch_profile; | 343 | return __start_branch_profile; |
344 | } | 344 | } |