From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Tom Zanussi <zanussi@kernel.org>, Ingo Molnar <mingo@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] tracing/hist: Add percentage histogram suffixes
Date: Tue, 2 Aug 2022 14:41:30 +0900 [thread overview]
Message-ID: <20220802144130.52a75346b03fcb7c92f29db6@kernel.org> (raw)
In-Reply-To: <20220801165840.2fe7e5b0@gandalf.local.home>
On Mon, 1 Aug 2022 16:58:40 -0400
Steven Rostedt <rostedt@goodmis.org> wrote:
> On Mon, 1 Aug 2022 12:00:40 +0900
> "Masami Hiramatsu (Google)" <mhiramat@kernel.org> wrote:
>
> > Here are a couple of patches to add .percent and .graph histogram
> > value suffixes to show the value in percentage and in bar-graph.
> >
> > This will help us to check the trend of the histogram instantly
> > without the post processing tool.
> >
> > Here shows the example of the percentage and the bar graph of
> > the runtime of the running tasks.
> >
> > /sys/kernel/tracing # echo hist:keys=pid:vals=runtime.percent,runtime.graph:sort
> > =pid >> events/sched/sched_stat_runtime/trigger
> > /sys/kernel/tracing # sleep 10
> > /sys/kernel/tracing # cat events/sched/sched_stat_runtime/hist
> > # event histogram
> > #
> > # trigger info: hist:keys=pid:vals=hitcount,runtime.percent,runtime.graph:sort=pid:size=2048 [active]
> > #
> >
> > { pid: 8 } hitcount: 11 runtime: 4.11 runtime: #
> > { pid: 9 } hitcount: 4 runtime: 1.28 runtime:
> > { pid: 14 } hitcount: 10 runtime: 2.22 runtime:
> > { pid: 15 } hitcount: 1 runtime: 0.07 runtime:
> > { pid: 16 } hitcount: 21 runtime: 3.35 runtime: #
> > { pid: 57 } hitcount: 6 runtime: 2.41 runtime: #
> > { pid: 61 } hitcount: 42 runtime: 9.79 runtime: ####
> > { pid: 66 } hitcount: 5 runtime: 0.69 runtime:
> > { pid: 147 } hitcount: 36 runtime: 45.33 runtime: ####################
> > { pid: 8548 } hitcount: 9 runtime: 17.25 runtime: #######
> > { pid: 8549 } hitcount: 8 runtime: 13.43 runtime: #####
> >
> > Totals:
> > Hits: 153
> > Entries: 11
> > Dropped: 0
> >
>
> Hi Masami,
>
> Thanks for this as well. But as it's a new feature, and I freeze new
> features when the merge window starts, I'll add this to my queue for the
> next window.
Yeah, that's no problem. Please queue it for the next window :)
Thank you!
>
> -- Steve
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
prev parent reply other threads:[~2022-08-02 5:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-01 3:00 [PATCH 0/2] tracing/hist: Add percentage histogram suffixes Masami Hiramatsu (Google)
2022-08-01 3:00 ` [PATCH 1/2] tracing: Add .percent suffix option to histogram values Masami Hiramatsu (Google)
2022-08-02 6:49 ` kernel test robot
2022-08-02 14:56 ` Steven Rostedt
2022-08-04 14:57 ` Masami Hiramatsu
2022-08-01 3:00 ` [PATCH 2/2] tracing: Add .graph suffix option to histogram value Masami Hiramatsu (Google)
2022-08-01 20:58 ` [PATCH 0/2] tracing/hist: Add percentage histogram suffixes Steven Rostedt
2022-08-02 5:41 ` 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=20220802144130.52a75346b03fcb7c92f29db6@kernel.org \
--to=mhiramat@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
--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