linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: linux-kernel@vger.kernel.org
Cc: Ingo Molnar <mingo@kernel.org>,
	Alexei Starovoitov <alexei.starovoitov@gmail.com>
Subject: [RFC][PATCH 0/2] ftrace: Add modify_ftrace_direct()
Date: Thu, 14 Nov 2019 14:46:36 -0500	[thread overview]
Message-ID: <20191114194636.811109457@goodmis.org> (raw)

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

             reply	other threads:[~2019-11-14 19:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-14 19:46 Steven Rostedt [this message]
2019-11-14 19:46 ` [RFC][PATCH 1/2] ftrace: Add modify_ftrace_direct() Steven Rostedt
2019-11-15 21:51   ` Alexei Starovoitov
2019-11-17 22:18     ` Steven Rostedt
2019-11-19  6:04       ` Alexei Starovoitov
2019-11-19 14:13         ` Steven Rostedt
2019-11-19 15:37           ` Alexei Starovoitov
2019-11-14 19:46 ` [RFC][PATCH 2/2] ftrace/samples: Add a sample module that implements modify_ftrace_direct() Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191114194636.811109457@goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=alexei.starovoitov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).