diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-03-24 17:38:36 (GMT) |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-25 03:22:58 (GMT) |
commit | 425480081e936d8725f0d44b8829d699bf088c6b (patch) | |
tree | 214bd7f813fde6b71f624b85756b27ec5078c3fd /kernel/trace/trace_workqueue.c | |
parent | ee000b7f9fe429d2470c674ccec8d344f6789e0d (diff) | |
download | linux-fsl-qoriq-425480081e936d8725f0d44b8829d699bf088c6b.tar.xz |
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_workqueue.c')
-rw-r--r-- | kernel/trace/trace_workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_workqueue.c b/kernel/trace/trace_workqueue.c index 9ab035b..ee533c2 100644 --- a/kernel/trace/trace_workqueue.c +++ b/kernel/trace/trace_workqueue.c @@ -152,7 +152,7 @@ static struct cpu_workqueue_stats *workqueue_stat_start_cpu(int cpu) return ret; } -static void *workqueue_stat_start(void) +static void *workqueue_stat_start(struct tracer_stat *trace) { int cpu; void *ret = NULL; |