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 */ 11struct pt_regs; 12unsigned long perf_instruction_pointer(struct pt_regs *regs); 13unsigned long perf_misc_flags(struct pt_regs *regs); 14#define perf_misc_flags(regs) perf_misc_flags(regs) 15 16#endif 17