From: Steven Rostedt <rostedt@goodmis.org>
To: Jeff Xie <xiehuan09@gmail.com>
Cc: mingo@redhat.com, mhiramat@kernel.org, zanussi@kernel.org,
linux-kernel@vger.kernel.org, chensong_2000@189.cn
Subject: Re: [PATCH v15 2/4] trace/objtrace: Get the value of the object
Date: Sun, 25 Sep 2022 11:53:35 -0400 [thread overview]
Message-ID: <20220925115335.44b58732@rorschach.local.home> (raw)
In-Reply-To: <CAEr6+ECbocOnr_fSp_rwnu7ugg_q0wrYWShYsW3XOJffqwSOYA@mail.gmail.com>
On Sun, 25 Sep 2022 13:27:10 +0800
Jeff Xie <xiehuan09@gmail.com> wrote:
>
> It also looks like the "add" command field has been removed,
> Masami previously suggested I to add a reserved command field for the
> future (see [1] and [2]):
>
> [1]:
> https://lore.kernel.org/lkml/20211026225234.549ec8e9eb59f1fd1671edbc@kernel.org/
>
> [2]:
> https://lore.kernel.org/lkml/20211105004704.3f4aa456c2c537a56f64e65a@kernel.org/
Ah, I see. add means enable the tracing and del means disable.
Masami, perhaps we should call it "enable/disable" instead? Because, to
me "del" means to remove it (permanently), where as "enable/disable"
matches other triggers like the "enable/disable event" that starts and
stops another event.
>
>
> > This code is available in the kprobe code that eprobes also uses:
> >
> > See process_fetch_insn() in kernel/trace/trace_eprobe.c
> >
> > and the parsing of the string is in kernel/trace/trace_probe.c:
> >
> > parse_probe_arg()
> >
>
> Thanks for your guidance, but the next merge window is coming soon,
> and since I'm not doing full-time kernel development,
> I can't guarantee that the development and testing of this change will
> be completed before the next window merge.
>
> Anyone familiar with this code providing a patch is welcome ;-)
If I get a chance, I may see if I can quickly implement it.
>
> >
> > I think doing this will make it much more extensive, not to mention it
> > will match the syntax of other code in the tracing infrastructure.
>
> I super agree.
Thanks for you patience, and I'm sorry it took so long for me to review
it.
-- Steve
next prev parent reply other threads:[~2022-09-25 15:53 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-19 3:27 [PATCH v15 0/4] trace: Introduce objtrace trigger to trace the kernel object Jeff Xie
2022-08-19 3:27 ` [PATCH v15 1/4] trace: Add trace any " Jeff Xie
2022-10-17 19:58 ` Steven Rostedt
2022-10-18 8:35 ` Jeff Xie
2022-08-19 3:27 ` [PATCH v15 2/4] trace/objtrace: Get the value of the object Jeff Xie
2022-09-24 20:01 ` Steven Rostedt
2022-09-25 5:27 ` Jeff Xie
2022-09-25 15:53 ` Steven Rostedt [this message]
2022-09-25 16:49 ` Jeff Xie
2022-09-28 14:15 ` Jeff Xie
2022-09-28 14:40 ` Steven Rostedt
2022-08-19 3:27 ` [PATCH v15 3/4] selftests/ftrace: Add testcases for objtrace Jeff Xie
2022-08-19 3:27 ` [PATCH v15 4/4] Documentation: trace/objtrace: Add documentation " Jeff Xie
2022-10-17 19:40 ` [PATCH v15 0/4] trace: Introduce objtrace trigger to trace the kernel object Steven Rostedt
2022-10-18 7:01 ` Jeff Xie
2022-11-29 16:09 ` Jeff Xie
2022-11-29 16:30 ` Steven Rostedt
2022-12-17 8:27 ` Jeff Xie
2023-01-31 9:55 ` Jeff Xie
2023-01-31 15:36 ` Steven Rostedt
2023-01-31 15:48 ` Jeff Xie
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=20220925115335.44b58732@rorschach.local.home \
--to=rostedt@goodmis.org \
--cc=chensong_2000@189.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=mhiramat@kernel.org \
--cc=mingo@redhat.com \
--cc=xiehuan09@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
all inboxes | Powered by JetHome®