Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 2083fec

Browse files
committed
arch: sparc: 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 <[email protected]> Suggested-by: Linus Torvalds <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Acked-by: Robert Richter <[email protected]> Acked-by: William Cohen <[email protected]> Acked-by: Al Viro <[email protected]> Acked-by: Thomas Gleixner <[email protected]>
1 parent 482cae0 commit 2083fec

File tree

6 files changed

+0
-101
lines changed

6 files changed

+0
-101
lines changed

Documentation/kbuild/makefiles.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,6 @@ When kbuild executes, the following steps are followed (roughly):
13171317
libs-y += arch/sparc/lib/
13181318

13191319
drivers-$(CONFIG_PM) += arch/sparc/power/
1320-
drivers-$(CONFIG_OPROFILE) += arch/sparc/oprofile/
13211320

13221321
7.5 Architecture-specific boot images
13231322
-------------------------------------

arch/sparc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ config SPARC
2020
select OF_PROMTREE
2121
select HAVE_ASM_MODVERSIONS
2222
select HAVE_IDE
23-
select HAVE_OPROFILE
2423
select HAVE_ARCH_KGDB if !SMP || SPARC64
2524
select HAVE_ARCH_TRACEHOOK
2625
select HAVE_ARCH_SECCOMP if SPARC64

arch/sparc/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ libs-y += arch/sparc/prom/
6565
libs-y += arch/sparc/lib/
6666

6767
drivers-$(CONFIG_PM) += arch/sparc/power/
68-
drivers-$(CONFIG_OPROFILE) += arch/sparc/oprofile/
6968

7069
boot := arch/sparc/boot
7170

arch/sparc/configs/sparc64_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ CONFIG_PERF_EVENTS=y
88
# CONFIG_COMPAT_BRK is not set
99
CONFIG_SLAB=y
1010
CONFIG_PROFILING=y
11-
CONFIG_OPROFILE=m
1211
CONFIG_KPROBES=y
1312
CONFIG_MODULES=y
1413
CONFIG_MODULE_UNLOAD=y

arch/sparc/oprofile/Makefile

Lines changed: 0 additions & 10 deletions
This file was deleted.

arch/sparc/oprofile/init.c

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)