18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci/* Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd. */
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci#ifndef _ASM_RISCV_PERF_REGS_H
58c2ecf20Sopenharmony_ci#define _ASM_RISCV_PERF_REGS_H
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cienum perf_event_riscv_regs {
88c2ecf20Sopenharmony_ci	PERF_REG_RISCV_PC,
98c2ecf20Sopenharmony_ci	PERF_REG_RISCV_RA,
108c2ecf20Sopenharmony_ci	PERF_REG_RISCV_SP,
118c2ecf20Sopenharmony_ci	PERF_REG_RISCV_GP,
128c2ecf20Sopenharmony_ci	PERF_REG_RISCV_TP,
138c2ecf20Sopenharmony_ci	PERF_REG_RISCV_T0,
148c2ecf20Sopenharmony_ci	PERF_REG_RISCV_T1,
158c2ecf20Sopenharmony_ci	PERF_REG_RISCV_T2,
168c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S0,
178c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S1,
188c2ecf20Sopenharmony_ci	PERF_REG_RISCV_A0,
198c2ecf20Sopenharmony_ci	PERF_REG_RISCV_A1,
208c2ecf20Sopenharmony_ci	PERF_REG_RISCV_A2,
218c2ecf20Sopenharmony_ci	PERF_REG_RISCV_A3,
228c2ecf20Sopenharmony_ci	PERF_REG_RISCV_A4,
238c2ecf20Sopenharmony_ci	PERF_REG_RISCV_A5,
248c2ecf20Sopenharmony_ci	PERF_REG_RISCV_A6,
258c2ecf20Sopenharmony_ci	PERF_REG_RISCV_A7,
268c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S2,
278c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S3,
288c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S4,
298c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S5,
308c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S6,
318c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S7,
328c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S8,
338c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S9,
348c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S10,
358c2ecf20Sopenharmony_ci	PERF_REG_RISCV_S11,
368c2ecf20Sopenharmony_ci	PERF_REG_RISCV_T3,
378c2ecf20Sopenharmony_ci	PERF_REG_RISCV_T4,
388c2ecf20Sopenharmony_ci	PERF_REG_RISCV_T5,
398c2ecf20Sopenharmony_ci	PERF_REG_RISCV_T6,
408c2ecf20Sopenharmony_ci	PERF_REG_RISCV_MAX,
418c2ecf20Sopenharmony_ci};
428c2ecf20Sopenharmony_ci#endif /* _ASM_RISCV_PERF_REGS_H */
43