csky: ftrace call graph supported.
With csky-gcc -pg -mbacktrace, ftrace call graph supported. Signed-off-by: Guo Ren <ren_guo@c-sky.com>
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
#ifndef __ASM_CSKY_FTRACE_H
|
||||
#define __ASM_CSKY_FTRACE_H
|
||||
|
||||
extern void _mcount(unsigned long from_pc);
|
||||
#define MCOUNT_INSN_SIZE 4
|
||||
|
||||
#define HAVE_FUNCTION_GRAPH_FP_TEST
|
||||
|
||||
#define HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
|
||||
|
||||
#endif /* __ASM_CSKY_FTRACE_H */
|
||||
|
Reference in New Issue
Block a user