[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181011230151.25ba36f3@vmware.local.home>
Date: Thu, 11 Oct 2018 23:01:51 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
"H. Peter Anvin" <hpa@...or.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Andy Lutomirski <luto@...capital.net>,
Josh Poimboeuf <jpoimboe@...hat.com>
Subject: Re: [RFC][PATCH] x86: ptrace: Add function argument access API
On Thu, 11 Oct 2018 23:00:21 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:
> A while ago I posted an RFC patchset for dynamic function based
> events. But Masami pointed out that this could be done with kprobes
> with minimal changes. He posted a patch set back in March
> http://lkml.kernel.org/r/152049860385.7289.14079393589900496424.stgit@devbox
> I've pulled this in locally, but haven't had the time until recently
> to look at it seriously. I even plan to talk about these changes in
> my talk at Open Source Summit in Edinburgh less than two weeks away
> (talk about conference driven development!).
> Anyway, the one patch that really needs external approval is the one
> that creates a new architecture dependent API to retrieve function
> arguments from pt_regs if the ip is at the start of the function call
> (via a breakpoint or ftrace fentry). That's this patch.
>
> Anyone have any issues with it? If not, I'm going to start doing some
> serious testing of this code and try to get it into the next merge
> window.
You can also play with the full repo here:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
branch: ftrace/kprobes
-- Steve
Powered by blists - more mailing lists