Messages in this thread | | | Date | Tue, 23 May 2023 10:34:38 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH v2 4/5] LoongArch: ftrace: Add direct call trampoline samples support |
| |
On Thu, 27 Apr 2023 10:12:31 +0800 Youling Tang <tangyouling@loongson.cn> wrote:
> The ftrace samples need per-architecture trampoline implementations > to save and restore argument registers around the calls to > my_direct_func* and to restore polluted registers (eg: ra). > > Signed-off-by: Qing Zhang <zhangqing@loongson.cn> > Signed-off-by: Youling Tang <tangyouling@loongson.cn> > --- > arch/loongarch/Kconfig | 2 + > samples/ftrace/ftrace-direct-modify.c | 34 +++++++++++++++++ > samples/ftrace/ftrace-direct-multi-modify.c | 41 +++++++++++++++++++++ > samples/ftrace/ftrace-direct-multi.c | 25 +++++++++++++ > samples/ftrace/ftrace-direct-too.c | 27 ++++++++++++++ > samples/ftrace/ftrace-direct.c | 23 ++++++++++++ > 6 files changed, 152 insertions(+)
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-- Steve
| |