summaryrefslogtreecommitdiffstats
path: root/arch/arm/oprofile/Makefile
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2021-01-14 12:35:15 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2021-01-22 07:41:54 +0100
commitd50b870b272aaad8757a2b240f038b1c204e2f8e (patch)
tree249a66a89200d44614d943a99c8e06a1c5212178 /arch/arm/oprofile/Makefile
parentarch: alpha: Remove CONFIG_OPROFILE support (diff)
downloadlinux-d50b870b272aaad8757a2b240f038b1c204e2f8e.tar.xz
linux-d50b870b272aaad8757a2b240f038b1c204e2f8e.zip
arch: arm: Remove CONFIG_OPROFILE support
The "oprofile" user-space tools don't use the kernel OPROFILE support any more, and haven't in a long time. User-space has been converted to the perf interfaces. Remove the old oprofile's architecture specific support. Suggested-by: Christoph Hellwig <hch@infradead.org> Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Robert Richter <rric@kernel.org> Acked-by: William Cohen <wcohen@redhat.com> Acked-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm/oprofile/Makefile')
-rw-r--r--arch/arm/oprofile/Makefile14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/oprofile/Makefile b/arch/arm/oprofile/Makefile
deleted file mode 100644
index 39688dc9f181..000000000000
--- a/arch/arm/oprofile/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_OPROFILE) += oprofile.o
-
-DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
- oprof.o cpu_buffer.o buffer_sync.o \
- event_buffer.o oprofile_files.o \
- oprofilefs.o oprofile_stats.o \
- timer_int.o )
-
-ifeq ($(CONFIG_HW_PERF_EVENTS),y)
-DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o)
-endif
-
-oprofile-y := $(DRIVER_OBJS) common.o