projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d7a96f
)
kmemtrace: add kmemtrace_init()
author
Ingo Molnar
<mingo@elte.hu>
Tue, 6 Jan 2009 09:16:35 +0000
(10:16 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 6 Jan 2009 09:16:35 +0000
(10:16 +0100)
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>
kernel/trace/kmemtrace.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/kmemtrace.c
b/kernel/trace/kmemtrace.c
index 2bfdcd3262262f4089d4c3f01d6dae995936de76..faaa5ae7e75a44831cd065a6e483e9d5a47b7057 100644
(file)
--- 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);