csky: basic ftrace supported
When gcc with -pg, it'll add _mcount stub in every function. We need
implement the _mcount in kernel and ftrace depends on stackstrace.
To do: call-graph, dynamic ftrace
Signed-off-by: NGuo Ren <ren_guo@c-sky.com>
Showing
arch/csky/abiv2/mcount.S
0 → 100644
arch/csky/include/asm/ftrace.h
0 → 100644
arch/csky/kernel/ftrace.c
0 → 100644
想要评论请 注册 或 登录