aboutsummaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-11-26 07:11:46 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-26 07:17:43 -0500
commit4d795fb17a02a87e35782773b88b7a63acfbeaae (patch)
tree929e0a0a2ad1b9bfa4fd090d09808682d730c2d4 /mm/util.c
parentba005e1f417295d28cd1563ab82bc33af07fb16a (diff)
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>
Diffstat (limited to 'mm/util.c')
-rw-r--r--mm/util.c3
1 files changed, 3 insertions, 0 deletions
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 @@
6#include <linux/sched.h> 6#include <linux/sched.h>
7#include <asm/uaccess.h> 7#include <asm/uaccess.h>
8 8
9#define CREATE_TRACE_POINTS
10#include <trace/events/kmem.h>
11
9/** 12/**
10 * kstrdup - allocate space for and copy an existing string 13 * kstrdup - allocate space for and copy an existing string
11 * @s: the string to duplicate 14 * @s: the string to duplicate