aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-06 04:16:35 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-06 04:16:35 -0500
commit3e80680208ba6ce9635ca7c21ad0019442ea166a (patch)
tree8d7dc413a9ec611428ca1043b8748e6ec691e2aa /kernel
parent3d7a96f5a485b7d06c2379f343d7312af89ec9e2 (diff)
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')
-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 = {
337 .flags = &kmem_tracer_flags 337 .flags = &kmem_tracer_flags
338}; 338};
339 339
340void kmemtrace_init(void)
341{
342 /* earliest opportunity to start kmem tracing */
343}
344
340static int __init init_kmem_tracer(void) 345static int __init init_kmem_tracer(void)
341{ 346{
342 return register_tracer(&kmem_tracer); 347 return register_tracer(&kmem_tracer);