[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191114194636.811109457@goodmis.org>
Date: Thu, 14 Nov 2019 14:46:36 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org
Cc: Ingo Molnar <mingo@...nel.org>,
Alexei Starovoitov <alexei.starovoitov@...il.com>
Subject: [RFC][PATCH 0/2] ftrace: Add modify_ftrace_direct()
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
Powered by blists - more mailing lists