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>
This commit is contained in:
Steven Rostedt
2009-03-24 13:38:36 -04:00
parent ee000b7f9f
commit 425480081e
4 changed files with 5 additions and 5 deletions

View File

@@ -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;