[PATCHv2 0/3] ftrace: Add ftrace-direct-multi-modify sample module

From: Jiri Olsa
Date: Mon Dec 06 2021 - 13:20:38 EST


hi,
this patchset adds ftrace-direct-multi-modify.ko kernel module
that shows the usage of modify_ftrace_direct_multi API. Plus
two additional small fixes for ftrace direct code.

v2 changes:
- rebased on top of v5.16-rc4
- added s390x trampolines

thanks,
jirka


---
Jiri Olsa (3):
ftrace: Use direct_ops hash in unregister_ftrace_direct
ftrace: Add cleanup to unregister_ftrace_direct_multi
ftrace/samples: Add module to test multi direct modify interface

kernel/trace/ftrace.c | 8 +++++-
samples/ftrace/Makefile | 1 +
samples/ftrace/ftrace-direct-multi-modify.c | 152 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 160 insertions(+), 1 deletion(-)
create mode 100644 samples/ftrace/ftrace-direct-multi-modify.c