diff options
author | Guo Ren | 2018-12-09 07:29:59 +0100 |
---|---|---|
committer | Guo Ren | 2018-12-31 16:16:46 +0100 |
commit | 230c77a5e92a29bf21e98ee35e22b0537f61c55b (patch) | |
tree | 78aa6ee2843c765edd87b1a9a824f50558c0888a /arch/csky/Kconfig | |
parent | csky: remove unused members in processor.h (diff) | |
download | kernel-qcow2-linux-230c77a5e92a29bf21e98ee35e22b0537f61c55b.tar.gz kernel-qcow2-linux-230c77a5e92a29bf21e98ee35e22b0537f61c55b.tar.xz kernel-qcow2-linux-230c77a5e92a29bf21e98ee35e22b0537f61c55b.zip |
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>
Diffstat (limited to 'arch/csky/Kconfig')
-rw-r--r-- | arch/csky/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig index 65804d1628a8..0b9a290c0157 100644 --- a/arch/csky/Kconfig +++ b/arch/csky/Kconfig @@ -29,6 +29,7 @@ config CSKY select GENERIC_SCHED_CLOCK select GENERIC_SMP_IDLE_THREAD select HAVE_ARCH_TRACEHOOK + select HAVE_FUNCTION_TRACER select HAVE_GENERIC_DMA_COHERENT select HAVE_KERNEL_GZIP select HAVE_KERNEL_LZO |