linux/arch/riscv
Alan Kao 10626c32e3
riscv/ftrace: Add basic support
This patch contains basic ftrace support for RV64I platform.
Specifically, function tracer (HAVE_FUNCTION_TRACER), function graph
tracer (HAVE_FUNCTION_GRAPH_TRACER), and a frame pointer test
(HAVE_FUNCTION_GRAPH_FP_TEST) are implemented following the
instructions in Documentation/trace/ftrace-design.txt.

Note that the functions in both ftrace.c and setup.c should not be
hooked with the compiler's -pg option: to prevent infinite self-
referencing for the former, and to ignore early setup stuff for the
latter.

Signed-off-by: Alan Kao <alankao@andestech.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-01-30 19:10:54 -08:00
..
configs RISC-V: Add a basic defconfig 2018-01-07 15:14:36 -08:00
include riscv/ftrace: Add basic support 2018-01-30 19:10:54 -08:00
kernel riscv/ftrace: Add basic support 2018-01-30 19:10:54 -08:00
lib RISC-V: Export some expected symbols for modules 2017-11-30 10:01:10 -08:00
mm riscv: rename SR_* constants to match the spec 2018-01-07 15:14:39 -08:00
Kconfig riscv/ftrace: Add basic support 2018-01-30 19:10:54 -08:00
Makefile