From: Masami Hiramatsu <mhiramat@kernel.org>
To: Tom Zanussi <tom.zanussi@linux.intel.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
linux-kernel@vger.kernel.org, Ingo Molnar <mingo@kernel.org>,
Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Subject: Re: [RFC PATCH 0/5] tracing: Unifying dynamic event interface
Date: Tue, 2 Oct 2018 16:45:26 +0900 [thread overview]
Message-ID: <20181002164526.09f93bffa5d543f3a00e1080@kernel.org> (raw)
In-Reply-To: <f360d9c67bb9bc3418fad290399b8f27cb61c80f.camel@linux.intel.com>
Hi Tom,
On Mon, 01 Oct 2018 08:49:24 -0500
Tom Zanussi <tom.zanussi@linux.intel.com> wrote:
> Hi Masami,
>
> On Fri, 2018-09-28 at 00:58 +0900, Masami Hiramatsu wrote:
> > Hi,
> >
> > This is an RFC series of unifying dynamic event interface on ftrace.
> > Currently ftrace has 3 dynamic event interfaces, kprobes, uprobes
> > and synthetic. This series unifies kprobes and uprobes event
> > interface on "dynamic_events". This enables us to add new dynamic
> > events easily on same interface, e.g. function events.
>
> This seems like a nice idea to me and I don't see any problems with the
> patches themselves, so consider it
>
> Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Thanks!
>
> > The older interfaces are left on the tracefs for backward
> > compatibility at this moment.
> >
> > dynamic_events syntax has no different from kprobe_events and
> > uprobe_events. You can use same syntax for dynamic_events interface.
> >
> > I think we can integrate synthetic events to this dynamic_events
> > interface but it will requires new syntax. e.g.
> >
> > echo "s:<event-name> <args>" >> dynamic_events
> >
>
> So that's just the existing syntax, prefaced by s: , right?
Yes, just for identifying.
> > If it is OK, I'll add it in next version.
> >
>
> Makes sense to me.
OK, I'll try :)
>
> > BTW, since this dynamic_events interface derived from *probe_events,
> > it inherits "all clear when truncate file open" behavior. But if you
> > think this is too aggressive, I can drop it. (even in that case,
> > kprobe_events/uprobe_events behavior is not changed)
> >
> > I also introduced a widely used way to erase entries in other
> > interfaces of ftrace, that is '!'. So you can now use '!event-name'
> > or '!group/event' to erase an entry in dynamic_events.
> > (Wait... it has to be '!p:event' as others do??)
> >
>
> I'd think the full form should always be accepted, but would only be
> necessary in cases requiring disambiguation.
OK, I'll add full form support.
Thank you,
--
Masami Hiramatsu <mhiramat@kernel.org>
prev parent reply other threads:[~2018-10-02 7:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-27 15:58 [RFC PATCH 0/5] tracing: Unifying dynamic event interface Masami Hiramatsu
2018-09-27 15:59 ` [RFC PATCH 1/5] tracing/uprobes: Add busy check when cleanup all uprobes Masami Hiramatsu
2018-09-27 15:59 ` [RFC PATCH 2/5] tracing: Add a unified dynamic event framework Masami Hiramatsu
2018-09-27 15:59 ` [RFC PATCH 3/5] tracing/kprobes: Use dyn_event framework for kprobe events Masami Hiramatsu
2018-09-27 16:00 ` [RFC PATCH 4/5] tracing/uprobes: Use dyn_event framework for uprobe events Masami Hiramatsu
2018-09-27 16:00 ` [RFC PATCH 5/5] tracing: Add generic event-name based remove event method Masami Hiramatsu
2018-10-01 13:49 ` [RFC PATCH 0/5] tracing: Unifying dynamic event interface Tom Zanussi
2018-10-02 7:45 ` Masami Hiramatsu [this message]
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=20181002164526.09f93bffa5d543f3a00e1080@kernel.org \
--to=mhiramat@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=ravi.bangoria@linux.vnet.ibm.com \
--cc=rostedt@goodmis.org \
--cc=tom.zanussi@linux.intel.com \
/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