From: Changbin Du <changbin.du@gmail.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Changbin Du <changbin.du@gmail.com>,
Ingo Molnar <mingo@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tracing: do not create option file latency-format
Date: Sun, 17 May 2020 09:34:52 +0000 [thread overview]
Message-ID: <20200517093451.uvm557aatmll62fo@mail.google.com> (raw)
In-Reply-To: <20200516131521.02005210@oasis.local.home>
Hi Steven,
On Sat, May 16, 2020 at 01:15:21PM -0400, Steven Rostedt wrote:
> On Sun, 17 May 2020 00:10:17 +0800
> Changbin Du <changbin.du@gmail.com> wrote:
>
> > The flag LATENCY_FMT actually is usually set by latency tracers internally.
> > So I think we should not export it to userspace. This patch removes the
> > option file 'latency-format' but keep the flag defined as usual.
> >
> > Signed-off-by: Changbin Du <changbin.du@gmail.com>
> > ---
>
> Sorry, I actually do sometimes use that option for things other than
> latency tracers. So NACK.
>
May I know which tracer use this option as well? As far as I know,
besides latency tracers, the fgraph tracer also uses it.
I think 'irq-info' and 'latency-format' is somewhat overlaps. So
my thought is:
1) function and function graph tracers should use irq-info.
2) latency tracers should set latency-format.
I am not quite sure whether this is a good idea. :)
> -- Steve
--
Cheers,
Changbin Du
prev parent reply other threads:[~2020-05-17 9:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-16 16:10 Changbin Du
2020-05-16 17:15 ` Steven Rostedt
2020-05-17 9:34 ` Changbin Du [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=20200517093451.uvm557aatmll62fo@mail.google.com \
--to=changbin.du@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.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®