xref: /linux/arch/loongarch/include/asm/perf_event.h (revision 9f2c9170934eace462499ba0bfe042cc72900173)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Author: Huacai Chen <chenhuacai@loongson.cn>
4  * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
5  */
6 
7 #ifndef __LOONGARCH_PERF_EVENT_H__
8 #define __LOONGARCH_PERF_EVENT_H__
9 
10 #define perf_arch_bpf_user_pt_regs(regs) (struct user_pt_regs *)regs
11 
12 #endif /* __LOONGARCH_PERF_EVENT_H__ */
13