/*1* arch/xtensa/include/asm/ftrace.h2*3* This file is subject to the terms and conditions of the GNU General Public4* License. See the file "COPYING" in the main directory of this archive5* for more details.6*7* Copyright (C) 2013 Tensilica Inc.8*/9#ifndef _XTENSA_FTRACE_H10#define _XTENSA_FTRACE_H1112#include <asm/processor.h>1314#ifndef __ASSEMBLER__15extern unsigned long return_address(unsigned level);16#define ftrace_return_address(n) return_address(n)17#endif /* __ASSEMBLER__ */1819#ifdef CONFIG_FUNCTION_TRACER2021#define MCOUNT_ADDR ((unsigned long)(_mcount))22#define MCOUNT_INSN_SIZE 32324#ifndef __ASSEMBLER__25extern void _mcount(void);26#define mcount _mcount27#endif /* __ASSEMBLER__ */28#endif /* CONFIG_FUNCTION_TRACER */2930#endif /* _XTENSA_FTRACE_H */313233