]> git.baikalelectronics.ru Git - kernel.git/commit
csky: basic ftrace supported
authorGuo Ren <ren_guo@c-sky.com>
Sun, 9 Dec 2018 06:29:59 +0000 (14:29 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Mon, 31 Dec 2018 15:16:46 +0000 (23:16 +0800)
commit7ac7fd1ab3523f6c55aabfffe734c3b33b29d257
tree78aa6ee2843c765edd87b1a9a824f50558c0888a
parent1ae58f77262a10768b488b790bbcb5519a96e006
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: Guo Ren <ren_guo@c-sky.com>
arch/csky/Kconfig
arch/csky/abiv2/Makefile
arch/csky/abiv2/mcount.S [new file with mode: 0644]
arch/csky/include/asm/ftrace.h [new file with mode: 0644]
arch/csky/kernel/Makefile
arch/csky/kernel/ftrace.c [new file with mode: 0644]