diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-11-26 13:11:46 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-26 13:17:43 +0100 |
commit | 4d795fb17a02a87e35782773b88b7a63acfbeaae (patch) | |
tree | 929e0a0a2ad1b9bfa4fd090d09808682d730c2d4 | |
parent | ba005e1f417295d28cd1563ab82bc33af07fb16a (diff) | |
download | linux-4d795fb17a02a87e35782773b88b7a63acfbeaae.tar.bz2 |
tracing: Fix kmem event exports
Commit 53d0422 ("tracing: Convert some kmem events to DEFINE_EVENT")
moved the kmem tracepoint creation from util.c to page_alloc.c,
but forgot to move the exports.
Move them back.
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mel Gorman <mel@csn.ul.ie>
LKML-Reference: <4B0E286A.2000405@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | mm/page_alloc.c | 4 | ||||
-rw-r--r-- | mm/util.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index bdb22f55d006..2bc2ac63f41e 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -48,14 +48,12 @@ #include <linux/page_cgroup.h> #include <linux/debugobjects.h> #include <linux/kmemleak.h> +#include <trace/events/kmem.h> #include <asm/tlbflush.h> #include <asm/div64.h> #include "internal.h" -#define CREATE_TRACE_POINTS -#include <trace/events/kmem.h> - /* * Array of node states. */ diff --git a/mm/util.c b/mm/util.c index 15d197571b4d..7c35ad95f927 100644 --- a/mm/util.c +++ b/mm/util.c @@ -6,6 +6,9 @@ #include <linux/sched.h> #include <asm/uaccess.h> +#define CREATE_TRACE_POINTS +#include <trace/events/kmem.h> + /** * kstrdup - allocate space for and copy an existing string * @s: the string to duplicate |