diff options
author | Qing Zhang <[email protected]> | 2022-12-10 22:40:15 +0800 |
---|---|---|
committer | Huacai Chen <[email protected]> | 2022-12-14 08:41:53 +0800 |
commit | 5fcfad3d41cc70f39fb31e7ee314989cc4c5f02c (patch) | |
tree | f28299e0707c961a823c59fba914afb5da7534af /lib/mpi/mpiutil.c | |
parent | 4733f09d880745953b88c3358b49ad495aecd8e9 (diff) |
LoongArch/ftrace: Add dynamic function graph tracer support
Once the function_graph tracer is enabled, a filtered function has the
following call sequence:
1) ftracer_caller ==> on/off by ftrace_make_call/ftrace_make_nop
2) ftrace_graph_caller
3) ftrace_graph_call ==> on/off by ftrace_en/disable_ftrace_graph_caller
4) 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.
Co-developed-by: Jinyang He <[email protected]>
Signed-off-by: Jinyang He <[email protected]>
Signed-off-by: Qing Zhang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions