diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-30 06:07:27 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-30 10:06:00 -0500 |
commit | 3fd4bc015ef879a7d2b955ce97fb125e3a51ba7e (patch) | |
tree | 7c33ee197cd97b72a44c0991ff4abc4c36f3a45c /kernel/trace/kmemtrace.c | |
parent | b6ab4afee4ed56d0f69df59485585cff828c327d (diff) |
tracing/kmemtrace: export kmemtrace_mark_alloc_node() / kmemtrace_mark_free()
Impact: build fix
Also fix up Kconfig dependencies and include files.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/kmemtrace.c')
-rw-r--r-- | kernel/trace/kmemtrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/kmemtrace.c b/kernel/trace/kmemtrace.c index d69cbe3c2a4b..2bfdcd326226 100644 --- a/kernel/trace/kmemtrace.c +++ b/kernel/trace/kmemtrace.c | |||
@@ -296,6 +296,7 @@ void kmemtrace_mark_alloc_node(enum kmemtrace_type_id type_id, | |||
296 | 296 | ||
297 | trace_wake_up(); | 297 | trace_wake_up(); |
298 | } | 298 | } |
299 | EXPORT_SYMBOL(kmemtrace_mark_alloc_node); | ||
299 | 300 | ||
300 | void kmemtrace_mark_free(enum kmemtrace_type_id type_id, | 301 | void kmemtrace_mark_free(enum kmemtrace_type_id type_id, |
301 | unsigned long call_site, | 302 | unsigned long call_site, |
@@ -325,6 +326,7 @@ void kmemtrace_mark_free(enum kmemtrace_type_id type_id, | |||
325 | 326 | ||
326 | trace_wake_up(); | 327 | trace_wake_up(); |
327 | } | 328 | } |
329 | EXPORT_SYMBOL(kmemtrace_mark_free); | ||
328 | 330 | ||
329 | static struct tracer kmem_tracer __read_mostly = { | 331 | static struct tracer kmem_tracer __read_mostly = { |
330 | .name = "kmemtrace", | 332 | .name = "kmemtrace", |