tracing/stat: Add stat_release() callback
authorLai Jiangshan <laijs@cn.fujitsu.com>
Mon, 6 Jul 2009 08:10:18 +0000 (16:10 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Jul 2009 10:14:05 +0000 (12:14 +0200)
commitd8ea37d5de58d35a39d0b4e7d209751aaa1b8174
treea64ffb2c844ad0f0e99616a69e6f548370d31665
parent80098c200e2ee3b4c86a9d1e156dbcd05380e08f
tracing/stat: Add stat_release() callback

Add stat_release() callback to struct tracer_stat, so a stat tracer
can release it's entries after the stat file has been read out.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A51B16A.6020708@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_stat.c
kernel/trace/trace_stat.h