1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * linux/arch/loongarch/include/asm/perf_event.h 4 * 5 * Author: Huacai Chen <chenhuacai@loongson.cn> 6 * Copyright (C) 2020 Loongson Technology Corporation Limited 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License version 2 as 10 * published by the Free Software Foundation. 11 */ 12 13 #ifndef __LOONGARCH_PERF_EVENT_H__ 14 #define __LOONGARCH_PERF_EVENT_H__ 15 16 #define perf_arch_bpf_user_pt_regs(regs) (struct user_pt_regs *)regs 17 18 #endif /* __LOONGARCH_PERF_EVENT_H__ */ 19