Messages in this thread | | | From | Jiri Olsa <> | Subject | [PATCH 0/3] ftrace: Add ftrace-direct-multi-modify sample module | Date | Mon, 6 Dec 2021 00:20:33 +0100 |
| |
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.
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/Kconfig | 8 ++++++++ samples/ftrace/Makefile | 1 + samples/ftrace/ftrace-direct-multi-modify.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 samples/ftrace/ftrace-direct-multi-modify.c
| |