Re: [PATCH 16/18] arch: xtensa: Remove CONFIG_OPROFILE support

From: Max Filippov
Date: Thu Jan 14 2021 - 15:38:41 EST


On Thu, Jan 14, 2021 at 3:36 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxxx>
> Suggested-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---
> 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 --------------------
> 10 files changed, 1 insertion(+), 70 deletions(-)
> delete mode 100644 arch/xtensa/oprofile/Makefile
> delete mode 100644 arch/xtensa/oprofile/backtrace.c
> delete mode 100644 arch/xtensa/oprofile/init.c

Although I still keep userspace oprofile tools that use this interface,
I haven't run them for ages.

Acked-by: Max Filippov <jcmvbkbc@xxxxxxxxx>

--
Thanks.
-- Max