diff options
author | Alan Kao <alankao@andestech.com> | 2018-02-13 06:13:18 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-04-03 04:59:12 +0200 |
commit | bc1a4c3a842556852bb02039887d73899d513532 (patch) | |
tree | 122084b028e4384e9acfd6fa0ebc73a435c5715c /samples | |
parent | riscv/ftrace: Add dynamic function tracer support (diff) | |
download | linux-bc1a4c3a842556852bb02039887d73899d513532.tar.xz linux-bc1a4c3a842556852bb02039887d73899d513532.zip |
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 'samples')
0 files changed, 0 insertions, 0 deletions