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> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
13 lines
335 B
C
13 lines
335 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2018 SiFive
|
|
* Copyright (C) 2018 Andes Technology Corporation
|
|
*
|
|
*/
|
|
|
|
#ifndef _ASM_RISCV_PERF_EVENT_H
|
|
#define _ASM_RISCV_PERF_EVENT_H
|
|
|
|
#include <linux/perf_event.h>
|
|
#define perf_arch_bpf_user_pt_regs(regs) (struct user_regs_struct *)regs
|
|
#endif /* _ASM_RISCV_PERF_EVENT_H */
|