linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: linux-trace-devel@vger.kernel.org
Cc: "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@gmail.com>,
	Tom Zanussi <zanussi@kernel.org>
Subject: [PATCH 0/2] tracing: addition of event probe
Date: Thu, 15 Jul 2021 23:26:32 -0400	[thread overview]
Message-ID: <20210716032632.272262604@goodmis.org> (raw)

Hi Tzvetomir,

Here's the updates to your patch. the first patch is your WIP that I forward
ported to the latest kernel. The second patches is my hacks to hook with the
triggers. It's still buggy and needs a bit of work (as we talked about).

I'll comment in the code. Please just merge the two patches together, and
fix them up to a proper patch that we can send to LKML in a week or two.

Tom, I Cc'd you because I wanted you to see where we are at, and because I
mentioned this work with the fix I sent to Linus (removing 'char *' as a
string for histograms). If you apply that patch, and these two, you can play
with it a little, but it is buggy. It's not even in a "RFC" level yet.
Thus, I'm Cc'ing you as more of an FYI than to ask you to review the
patches. There's more work to be done.

I'll reply to this patch set stating some of the know issues.


Steven Rostedt (VMware) (1):
      tracing: Update to the event probes

Tzvetomir (VMware) Stoyanov (1):
      Add new kprobe on tracepoint

----
 include/linux/kprobes.h      |  13 ++
 include/linux/trace_events.h |   4 +
 kernel/trace/trace.h         |   5 +
 kernel/trace/trace_kprobe.c  | 521 +++++++++++++++++++++++++++++++++++++++++--
 kernel/trace/trace_probe.c   |  25 ++-
 kernel/trace/trace_probe.h   |   7 +-
 kernel/trace/trace_uprobe.c  |   2 +-
 7 files changed, 554 insertions(+), 23 deletions(-)

             reply	other threads:[~2021-07-16  3:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-16  3:26 Steven Rostedt [this message]
2021-07-16  3:26 ` [PATCH 1/2] Add new kprobe on tracepoint Steven Rostedt
2021-07-16  3:26 ` [PATCH 2/2] tracing: Update to the event probes Steven Rostedt
2021-07-16  4:04   ` Steven Rostedt
2021-08-06 20:55     ` 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=20210716032632.272262604@goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=tz.stoyanov@gmail.com \
    --cc=zanussi@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).