RISC-V: Remove the current perf implementation
authorAtish Patra <atish.patra@wdc.com>
Wed, 17 Mar 2021 22:36:30 +0000 (15:36 -0700)
committerminda.chen <minda.chen@starfivetech.com>
Tue, 3 Jan 2023 06:26:17 +0000 (14:26 +0800)
commitd3e58d74917cc81279dd8ba0c1ce8640443e12dd
treeb228dcb75fb59edc6bfa07a4b91d66e8f2e80ece
parent66b76083dd21220dde229d0dd9ec606fc7fb220d
RISC-V: Remove the current perf implementation

The current perf implementation in RISC-V is not very useful as it can not
count any events other than cycle/instructions. Moreover, perf record
can not be used or the events can not be started or stopped.

Remove the implementation now for a better platform driver in future
that will implement most of the missing functionality.

Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
arch/riscv/Kconfig
arch/riscv/include/asm/perf_event.h
arch/riscv/kernel/Makefile
arch/riscv/kernel/perf_event.c [deleted file]