xref: /OK3568_Linux_fs/kernel/arch/nds32/include/asm/perf_event.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2008-2018 Andes Technology Corporation */
3 
4 #ifndef __ASM_PERF_EVENT_H
5 #define __ASM_PERF_EVENT_H
6 
7 /*
8  * This file is request by Perf,
9  * please refer to tools/perf/design.txt for more details
10  */
11 struct pt_regs;
12 unsigned long perf_instruction_pointer(struct pt_regs *regs);
13 unsigned long perf_misc_flags(struct pt_regs *regs);
14 #define perf_misc_flags(regs)   perf_misc_flags(regs)
15 
16 #endif
17