[GIT PULL] Remove oprofile and dcookies for v5.12

From: Viresh Kumar
Date: Mon Feb 15 2021 - 00:07:55 EST


Hi Linus,

The following changes since commit 7c53f6b671f4aba70ff15e1b05148b10d58c2837:

Linux 5.11-rc3 (2021-01-10 14:34:50 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux.git tags/oprofile-removal-5.12

for you to fetch changes up to be65de6b03aa638c46ea51e9d11a92e4914d8103:

fs: Remove dcookies support (2021-01-29 10:06:46 +0530)

----------------------------------------------------------------
Remove oprofile and dcookies 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.

The dcookies stuff is only used by the oprofile code. Now that oprofile's
support is getting removed from the kernel, there is no need for dcookies as
well.

Remove kernel's old oprofile and dcookies support.

----------------------------------------------------------------
Viresh Kumar (18):
arch: alpha: Remove CONFIG_OPROFILE support
arch: arm: Remove CONFIG_OPROFILE support
arch: arc: Remove CONFIG_OPROFILE support
arch: hexagon: Don't select HAVE_OPROFILE
arch: ia64: Remove CONFIG_OPROFILE support
arch: ia64: Remove rest of perfmon support
arch: microblaze: Remove CONFIG_OPROFILE support
arch: mips: Remove CONFIG_OPROFILE support
arch: parisc: Remove CONFIG_OPROFILE support
arch: powerpc: Stop building and using oprofile
arch: powerpc: Remove oprofile
arch: s390: Remove CONFIG_OPROFILE support
arch: sh: Remove CONFIG_OPROFILE support
arch: sparc: Remove CONFIG_OPROFILE support
arch: x86: Remove CONFIG_OPROFILE support
arch: xtensa: Remove CONFIG_OPROFILE support
drivers: Remove CONFIG_OPROFILE support
fs: Remove dcookies support

Documentation/RCU/NMI-RCU.rst | 3 +-
Documentation/admin-guide/kernel-parameters.txt | 14 -
Documentation/kbuild/makefiles.rst | 1 -
Documentation/process/magic-number.rst | 1 -
.../translations/it_IT/process/magic-number.rst | 1 -
.../translations/zh_CN/process/magic-number.rst | 1 -
MAINTAINERS | 11 -
arch/Kconfig | 32 -
arch/alpha/Kconfig | 1 -
arch/alpha/Makefile | 1 -
arch/alpha/oprofile/Makefile | 20 -
arch/alpha/oprofile/common.c | 189 ---
arch/alpha/oprofile/op_impl.h | 55 -
arch/alpha/oprofile/op_model_ev4.c | 114 --
arch/alpha/oprofile/op_model_ev5.c | 209 ---
arch/alpha/oprofile/op_model_ev6.c | 101 --
arch/alpha/oprofile/op_model_ev67.c | 261 ---
arch/arc/Kconfig | 1 -
arch/arc/Makefile | 2 -
arch/arc/oprofile/Makefile | 10 -
arch/arc/oprofile/common.c | 23 -
arch/arm/Kconfig | 1 -
arch/arm/Makefile | 2 -
arch/arm/configs/bcm2835_defconfig | 1 -
arch/arm/configs/cns3420vb_defconfig | 1 -
arch/arm/configs/corgi_defconfig | 1 -
arch/arm/configs/imx_v4_v5_defconfig | 1 -
arch/arm/configs/keystone_defconfig | 1 -
arch/arm/configs/multi_v5_defconfig | 1 -
arch/arm/configs/mv78xx0_defconfig | 1 -
arch/arm/configs/mvebu_v5_defconfig | 1 -
arch/arm/configs/omap1_defconfig | 1 -
arch/arm/configs/omap2plus_defconfig | 1 -
arch/arm/configs/orion5x_defconfig | 1 -
arch/arm/configs/pxa_defconfig | 1 -
arch/arm/configs/qcom_defconfig | 1 -
arch/arm/configs/socfpga_defconfig | 1 -
arch/arm/configs/spitz_defconfig | 1 -
arch/arm/configs/vexpress_defconfig | 1 -
arch/arm/oprofile/Makefile | 14 -
arch/arm/oprofile/common.c | 132 --
arch/hexagon/Kconfig | 1 -
arch/ia64/Kconfig | 1 -
arch/ia64/Makefile | 1 -
arch/ia64/configs/bigsur_defconfig | 1 -
arch/ia64/include/asm/hw_irq.h | 1 -
arch/ia64/include/asm/perfmon.h | 111 --
arch/ia64/include/uapi/asm/perfmon.h | 178 --
arch/ia64/include/uapi/asm/perfmon_default_smpl.h | 84 -
arch/ia64/kernel/palinfo.c | 41 -
arch/ia64/kernel/perfmon_default_smpl.c | 297 ----
arch/ia64/kernel/perfmon_generic.h | 46 -
arch/ia64/kernel/perfmon_itanium.h | 2 +-
arch/ia64/kernel/perfmon_mckinley.h | 188 ---
arch/ia64/kernel/perfmon_montecito.h | 270 ----
arch/ia64/oprofile/Makefile | 10 -
arch/ia64/oprofile/backtrace.c | 131 --
arch/ia64/oprofile/init.c | 28 -
arch/microblaze/Kconfig | 1 -
arch/microblaze/Makefile | 2 -
arch/microblaze/oprofile/Makefile | 14 -
arch/microblaze/oprofile/microblaze_oprofile.c | 22 -
arch/mips/Kconfig | 3 +-
arch/mips/Makefile | 1 -
arch/mips/configs/fuloong2e_defconfig | 1 -
arch/mips/configs/ip32_defconfig | 1 -
arch/mips/configs/lemote2f_defconfig | 1 -
arch/mips/configs/mtx1_defconfig | 1 -
arch/mips/configs/rs90_defconfig | 1 -
arch/mips/include/asm/mach-loongson2ef/loongson.h | 9 -
arch/mips/loongson2ef/fuloong-2e/irq.c | 2 +-
arch/mips/loongson2ef/lemote-2f/irq.c | 1 -
arch/mips/oprofile/Makefile | 18 -
arch/mips/oprofile/backtrace.c | 177 --
arch/mips/oprofile/common.c | 147 --
arch/mips/oprofile/op_impl.h | 41 -
arch/mips/oprofile/op_model_loongson2.c | 161 --
arch/mips/oprofile/op_model_loongson3.c | 213 ---
arch/mips/oprofile/op_model_mipsxx.c | 479 ------
arch/parisc/Kconfig | 1 -
arch/parisc/Makefile | 2 -
arch/parisc/oprofile/Makefile | 10 -
arch/parisc/oprofile/init.c | 23 -
arch/powerpc/Kconfig | 1 -
arch/powerpc/Makefile | 2 -
arch/powerpc/configs/44x/akebono_defconfig | 1 -
arch/powerpc/configs/44x/currituck_defconfig | 1 -
arch/powerpc/configs/44x/fsp2_defconfig | 1 -
arch/powerpc/configs/44x/iss476-smp_defconfig | 1 -
arch/powerpc/configs/cell_defconfig | 1 -
arch/powerpc/configs/g5_defconfig | 1 -
arch/powerpc/configs/maple_defconfig | 1 -
arch/powerpc/configs/pasemi_defconfig | 1 -
arch/powerpc/configs/pmac32_defconfig | 1 -
arch/powerpc/configs/powernv_defconfig | 1 -
arch/powerpc/configs/ppc64_defconfig | 1 -
arch/powerpc/configs/ppc64e_defconfig | 1 -
arch/powerpc/configs/ppc6xx_defconfig | 1 -
arch/powerpc/configs/ps3_defconfig | 1 -
arch/powerpc/configs/pseries_defconfig | 1 -
arch/powerpc/include/asm/cputable.h | 20 -
arch/powerpc/include/asm/oprofile_impl.h | 135 --
arch/powerpc/include/asm/spu.h | 33 -
arch/powerpc/kernel/cputable.c | 67 -
arch/powerpc/kernel/dt_cpu_ftrs.c | 2 -
arch/powerpc/oprofile/Makefile | 19 -
arch/powerpc/oprofile/backtrace.c | 120 --
arch/powerpc/oprofile/cell/pr_util.h | 110 --
arch/powerpc/oprofile/cell/spu_profiler.c | 248 ---
arch/powerpc/oprofile/cell/spu_task_sync.c | 657 --------
arch/powerpc/oprofile/cell/vma_map.c | 279 ----
arch/powerpc/oprofile/common.c | 243 ---
arch/powerpc/oprofile/op_model_7450.c | 207 ---
arch/powerpc/oprofile/op_model_cell.c | 1709 --------------------
arch/powerpc/oprofile/op_model_fsl_emb.c | 380 -----
arch/powerpc/oprofile/op_model_pa6t.c | 227 ---
arch/powerpc/oprofile/op_model_power4.c | 438 -----
arch/powerpc/platforms/cell/Kconfig | 5 -
arch/powerpc/platforms/cell/Makefile | 1 -
arch/powerpc/platforms/cell/spu_notify.c | 55 -
arch/powerpc/platforms/cell/spufs/run.c | 6 +-
arch/powerpc/platforms/cell/spufs/sched.c | 5 -
arch/powerpc/platforms/cell/spufs/spufs.h | 1 -
arch/s390/Kconfig | 1 -
arch/s390/Makefile | 3 -
arch/s390/configs/debug_defconfig | 1 -
arch/s390/configs/defconfig | 1 -
arch/s390/oprofile/Makefile | 10 -
arch/s390/oprofile/init.c | 37 -
arch/sh/Kconfig | 1 -
arch/sh/Makefile | 1 -
arch/sh/configs/espt_defconfig | 1 -
arch/sh/configs/migor_defconfig | 1 -
arch/sh/configs/r7780mp_defconfig | 1 -
arch/sh/configs/r7785rp_defconfig | 1 -
arch/sh/configs/rsk7201_defconfig | 1 -
arch/sh/configs/rsk7203_defconfig | 1 -
arch/sh/configs/rts7751r2d1_defconfig | 1 -
arch/sh/configs/rts7751r2dplus_defconfig | 1 -
arch/sh/configs/sdk7786_defconfig | 1 -
arch/sh/configs/se7206_defconfig | 1 -
arch/sh/configs/sh03_defconfig | 1 -
arch/sh/configs/sh7724_generic_defconfig | 1 -
arch/sh/configs/sh7763rdp_defconfig | 1 -
arch/sh/configs/sh7770_generic_defconfig | 1 -
arch/sh/configs/shx3_defconfig | 1 -
arch/sh/oprofile/Makefile | 16 -
arch/sh/oprofile/backtrace.c | 80 -
arch/sh/oprofile/common.c | 64 -
arch/sparc/Kconfig | 1 -
arch/sparc/Makefile | 1 -
arch/sparc/configs/sparc64_defconfig | 1 -
arch/sparc/oprofile/Makefile | 10 -
arch/sparc/oprofile/init.c | 87 -
arch/x86/Kconfig | 1 -
arch/x86/Makefile | 3 -
arch/x86/include/asm/nmi.h | 1 -
arch/x86/kernel/cpu/perfctr-watchdog.c | 11 +-
arch/x86/oprofile/Makefile | 12 -
arch/x86/oprofile/backtrace.c | 127 --
arch/x86/oprofile/init.c | 38 -
arch/x86/oprofile/nmi_int.c | 780 ---------
arch/x86/oprofile/op_counter.h | 30 -
arch/x86/oprofile/op_model_amd.c | 542 -------
arch/x86/oprofile/op_model_p4.c | 723 ---------
arch/x86/oprofile/op_model_ppro.c | 245 ---
arch/x86/oprofile/op_x86_model.h | 90 --
arch/xtensa/Kconfig | 1 -
arch/xtensa/Makefile | 1 -
arch/xtensa/configs/audio_kc705_defconfig | 1 -
arch/xtensa/configs/generic_kc705_defconfig | 1 -
arch/xtensa/configs/smp_lx200_defconfig | 1 -
arch/xtensa/configs/xip_kc705_defconfig | 1 -
arch/xtensa/kernel/stacktrace.c | 2 +-
arch/xtensa/oprofile/Makefile | 10 -
arch/xtensa/oprofile/backtrace.c | 27 -
arch/xtensa/oprofile/init.c | 26 -
drivers/oprofile/buffer_sync.c | 591 -------
drivers/oprofile/buffer_sync.h | 22 -
drivers/oprofile/cpu_buffer.c | 465 ------
drivers/oprofile/cpu_buffer.h | 121 --
drivers/oprofile/event_buffer.c | 209 ---
drivers/oprofile/event_buffer.h | 40 -
drivers/oprofile/nmi_timer_int.c | 157 --
drivers/oprofile/oprof.c | 286 ----
drivers/oprofile/oprof.h | 50 -
drivers/oprofile/oprofile_files.c | 201 ---
drivers/oprofile/oprofile_perf.c | 328 ----
drivers/oprofile/oprofile_stats.c | 84 -
drivers/oprofile/oprofile_stats.h | 33 -
drivers/oprofile/oprofilefs.c | 300 ----
drivers/oprofile/timer_int.c | 122 --
fs/Makefile | 1 -
fs/dcookies.c | 356 ----
include/linux/dcookies.h | 69 -
include/linux/oprofile.h | 209 ---
init/Kconfig | 2 +-
kernel/sys.c | 1 -
usr/include/Makefile | 2 -
199 files changed, 8 insertions(+), 15569 deletions(-)
delete mode 100644 arch/alpha/oprofile/Makefile
delete mode 100644 arch/alpha/oprofile/common.c
delete mode 100644 arch/alpha/oprofile/op_impl.h
delete mode 100644 arch/alpha/oprofile/op_model_ev4.c
delete mode 100644 arch/alpha/oprofile/op_model_ev5.c
delete mode 100644 arch/alpha/oprofile/op_model_ev6.c
delete mode 100644 arch/alpha/oprofile/op_model_ev67.c
delete mode 100644 arch/arc/oprofile/Makefile
delete mode 100644 arch/arc/oprofile/common.c
delete mode 100644 arch/arm/oprofile/Makefile
delete mode 100644 arch/arm/oprofile/common.c
delete mode 100644 arch/ia64/include/asm/perfmon.h
delete mode 100644 arch/ia64/include/uapi/asm/perfmon.h
delete mode 100644 arch/ia64/include/uapi/asm/perfmon_default_smpl.h
delete mode 100644 arch/ia64/kernel/perfmon_default_smpl.c
delete mode 100644 arch/ia64/kernel/perfmon_generic.h
delete mode 100644 arch/ia64/kernel/perfmon_mckinley.h
delete mode 100644 arch/ia64/kernel/perfmon_montecito.h
delete mode 100644 arch/ia64/oprofile/Makefile
delete mode 100644 arch/ia64/oprofile/backtrace.c
delete mode 100644 arch/ia64/oprofile/init.c
delete mode 100644 arch/microblaze/oprofile/Makefile
delete mode 100644 arch/microblaze/oprofile/microblaze_oprofile.c
delete mode 100644 arch/mips/oprofile/Makefile
delete mode 100644 arch/mips/oprofile/backtrace.c
delete mode 100644 arch/mips/oprofile/common.c
delete mode 100644 arch/mips/oprofile/op_impl.h
delete mode 100644 arch/mips/oprofile/op_model_loongson2.c
delete mode 100644 arch/mips/oprofile/op_model_loongson3.c
delete mode 100644 arch/mips/oprofile/op_model_mipsxx.c
delete mode 100644 arch/parisc/oprofile/Makefile
delete mode 100644 arch/parisc/oprofile/init.c
delete mode 100644 arch/powerpc/include/asm/oprofile_impl.h
delete mode 100644 arch/powerpc/oprofile/Makefile
delete mode 100644 arch/powerpc/oprofile/backtrace.c
delete mode 100644 arch/powerpc/oprofile/cell/pr_util.h
delete mode 100644 arch/powerpc/oprofile/cell/spu_profiler.c
delete mode 100644 arch/powerpc/oprofile/cell/spu_task_sync.c
delete mode 100644 arch/powerpc/oprofile/cell/vma_map.c
delete mode 100644 arch/powerpc/oprofile/common.c
delete mode 100644 arch/powerpc/oprofile/op_model_7450.c
delete mode 100644 arch/powerpc/oprofile/op_model_cell.c
delete mode 100644 arch/powerpc/oprofile/op_model_fsl_emb.c
delete mode 100644 arch/powerpc/oprofile/op_model_pa6t.c
delete mode 100644 arch/powerpc/oprofile/op_model_power4.c
delete mode 100644 arch/powerpc/platforms/cell/spu_notify.c
delete mode 100644 arch/s390/oprofile/Makefile
delete mode 100644 arch/s390/oprofile/init.c
delete mode 100644 arch/sh/oprofile/Makefile
delete mode 100644 arch/sh/oprofile/backtrace.c
delete mode 100644 arch/sh/oprofile/common.c
delete mode 100644 arch/sparc/oprofile/Makefile
delete mode 100644 arch/sparc/oprofile/init.c
delete mode 100644 arch/x86/oprofile/Makefile
delete mode 100644 arch/x86/oprofile/backtrace.c
delete mode 100644 arch/x86/oprofile/init.c
delete mode 100644 arch/x86/oprofile/nmi_int.c
delete mode 100644 arch/x86/oprofile/op_counter.h
delete mode 100644 arch/x86/oprofile/op_model_amd.c
delete mode 100644 arch/x86/oprofile/op_model_p4.c
delete mode 100644 arch/x86/oprofile/op_model_ppro.c
delete mode 100644 arch/x86/oprofile/op_x86_model.h
delete mode 100644 arch/xtensa/oprofile/Makefile
delete mode 100644 arch/xtensa/oprofile/backtrace.c
delete mode 100644 arch/xtensa/oprofile/init.c
delete mode 100644 drivers/oprofile/buffer_sync.c
delete mode 100644 drivers/oprofile/buffer_sync.h
delete mode 100644 drivers/oprofile/cpu_buffer.c
delete mode 100644 drivers/oprofile/cpu_buffer.h
delete mode 100644 drivers/oprofile/event_buffer.c
delete mode 100644 drivers/oprofile/event_buffer.h
delete mode 100644 drivers/oprofile/nmi_timer_int.c
delete mode 100644 drivers/oprofile/oprof.c
delete mode 100644 drivers/oprofile/oprof.h
delete mode 100644 drivers/oprofile/oprofile_files.c
delete mode 100644 drivers/oprofile/oprofile_perf.c
delete mode 100644 drivers/oprofile/oprofile_stats.c
delete mode 100644 drivers/oprofile/oprofile_stats.h
delete mode 100644 drivers/oprofile/oprofilefs.c
delete mode 100644 drivers/oprofile/timer_int.c
delete mode 100644 fs/dcookies.c
delete mode 100644 include/linux/dcookies.h
delete mode 100644 include/linux/oprofile.h

Attachment: signature.asc
Description: PGP signature