summaryrefslogtreecommitdiffstats
path: root/kernel/trace/kmemtrace.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-06 10:16:35 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-06 10:16:35 +0100
commit3e80680208ba6ce9635ca7c21ad0019442ea166a (patch)
tree8d7dc413a9ec611428ca1043b8748e6ec691e2aa /kernel/trace/kmemtrace.c
parent3d7a96f5a485b7d06c2379f343d7312af89ec9e2 (diff)
downloadtalos-op-linux-3e80680208ba6ce9635ca7c21ad0019442ea166a.tar.gz
talos-op-linux-3e80680208ba6ce9635ca7c21ad0019442ea166a.zip
kmemtrace: add kmemtrace_init()
Impact: build fix leftover from the relayfs version - but we want to keep it because this call is the earliest opportunity when we can start kmemtrace tracing. (after kmem_cache_init()). Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/kmemtrace.c')
-rw-r--r--kernel/trace/kmemtrace.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/trace/kmemtrace.c b/kernel/trace/kmemtrace.c
index 2bfdcd326226..faaa5ae7e75a 100644
--- a/kernel/trace/kmemtrace.c
+++ b/kernel/trace/kmemtrace.c
@@ -337,6 +337,11 @@ static struct tracer kmem_tracer __read_mostly = {
.flags = &kmem_tracer_flags
};
+void kmemtrace_init(void)
+{
+ /* earliest opportunity to start kmem tracing */
+}
+
static int __init init_kmem_tracer(void)
{
return register_tracer(&kmem_tracer);
OpenPOWER on IntegriCloud