aboutsummaryrefslogtreecommitdiff
path: root/kernel/events/Makefile
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-10-26 20:24:03 +0200
committerBorislav Petkov <borislav.petkov@amd.com>2011-05-03 12:59:43 +0200
commitfae85b7c8bcc7de9c0a2698587e20c15beb7d5a6 (patch)
tree96ea37ea08d52b2ef89f823f6e43ba8b15cc66bb /kernel/events/Makefile
parentac0a3260f37b8616da8d33488ec94b94e6ae5b31 (diff)
perf: Start the restructuring
mv kernel/perf_event.c -> kernel/events/core.c. From there, all further sensible splitting can happen. The idea is that due to perf_event.c becoming pretty sizable and with the advent of the marriage with ftrace, splitting functionality into its logical parts should help speeding up the unification and to manage the complexity of the subsystem. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'kernel/events/Makefile')
-rw-r--r--kernel/events/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/events/Makefile b/kernel/events/Makefile
new file mode 100644
index 00000000000..26c00e4570e
--- /dev/null
+++ b/kernel/events/Makefile
@@ -0,0 +1,5 @@
+ifdef CONFIG_FUNCTION_TRACER
+CFLAGS_REMOVE_core.o = -pg
+endif
+
+obj-y += core.o