summaryrefslogtreecommitdiffstats
path: root/kernel/trace/kmemtrace.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-30 12:07:27 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-30 16:06:00 +0100
commit3fd4bc015ef879a7d2b955ce97fb125e3a51ba7e (patch)
tree7c33ee197cd97b72a44c0991ff4abc4c36f3a45c /kernel/trace/kmemtrace.c
parentb6ab4afee4ed56d0f69df59485585cff828c327d (diff)
downloadop-kernel-dev-3fd4bc015ef879a7d2b955ce97fb125e3a51ba7e.zip
op-kernel-dev-3fd4bc015ef879a7d2b955ce97fb125e3a51ba7e.tar.gz
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/kmemtrace.c b/kernel/trace/kmemtrace.c
index d69cbe3..2bfdcd3 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,
trace_wake_up();
}
+EXPORT_SYMBOL(kmemtrace_mark_alloc_node);
void kmemtrace_mark_free(enum kmemtrace_type_id type_id,
unsigned long call_site,
@@ -325,6 +326,7 @@ void kmemtrace_mark_free(enum kmemtrace_type_id type_id,
trace_wake_up();
}
+EXPORT_SYMBOL(kmemtrace_mark_free);
static struct tracer kmem_tracer __read_mostly = {
.name = "kmemtrace",
OpenPOWER on IntegriCloud