[RFC][PATCH 0/2] ftrace: Add modify_ftrace_direct()
From: Steven Rostedt
Date: Thu Nov 14 2019 - 14:47:42 EST
As discussed with Alexei, here's a simple implementation of
modify_ftrace_direct() without the need for any architecture changes.
Steven Rostedt (VMware) (2):
ftrace: Add modify_ftrace_direct()
ftrace/samples: Add a sample module that implements modify_ftrace_direct()
----
include/linux/ftrace.h | 6 +++
kernel/trace/ftrace.c | 78 +++++++++++++++++++++++++++++++
samples/ftrace/Makefile | 1 +
samples/ftrace/ftrace-direct-modify.c | 88 +++++++++++++++++++++++++++++++++++
4 files changed, 173 insertions(+)
create mode 100644 samples/ftrace/ftrace-direct-modify.c