summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorAlan Kao <alankao@andestech.com>2018-02-13 08:13:18 +0300
committerPalmer Dabbelt <palmer@sifive.com>2018-04-03 05:59:12 +0300
commitbc1a4c3a842556852bb02039887d73899d513532 (patch)
tree122084b028e4384e9acfd6fa0ebc73a435c5715c /arch/um
parentc15ac4fd60d5ffdb151bb2c7805f377fd7f90363 (diff)
downloadlinux-bc1a4c3a842556852bb02039887d73899d513532.tar.xz
riscv/ftrace: Add dynamic function graph tracer support
Once the function_graph tracer is enabled, a filtered function has the following call sequence: * ftracer_caller ==> on/off by ftrace_make_call/ftrace_make_nop * ftrace_graph_caller * ftrace_graph_call ==> on/off by ftrace_en/disable_ftrace_graph_caller * prepare_ftrace_return Considering the following DYNAMIC_FTRACE_WITH_REGS feature, it would be more extendable to have a ftrace_graph_caller function, instead of calling prepare_ftrace_return directly in ftrace_caller. Cc: Greentime Hu <greentime@andestech.com> Signed-off-by: Alan Kao <alankao@andestech.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions