From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Jiri Olsa <jolsa@redhat.com>
Cc: kan.liang@intel.com, namhyung@kernel.org, jolsa@kernel.org,
ak@linux.intel.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH V3 1/1] perf hists: clear dummy entry accumulated period
Date: Mon, 25 Apr 2016 20:26:52 -0300 [thread overview]
Message-ID: <20160425232652.GA15298@kernel.org> (raw)
In-Reply-To: <20160425181500.GA16635@krava>
Em Mon, Apr 25, 2016 at 08:15:00PM +0200, Jiri Olsa escreveu:
> On Sun, Apr 24, 2016 at 11:28:09PM -0700, kan.liang@intel.com wrote:
> > From: Kan Liang <kan.liang@intel.com>
> >
> > The accumulated period for dummy entry should also be 0.
> > Otherwise, the total overhead could be overcounted.
> > [perf]$ perf record -e '{LLC-load-misses,cpu/instructions/}'
> > --call-graph=lbr ./tchain
> > [perf]$ perf report --stdio
> > # To display the perf.data header info, please use
> > --header/--header-only options.
> > #
> > #
> > # Total Lost Samples: 0
> > #
> > # Samples: 21K of event 'anon group { LLC-load-misses,
> > cpu/instructions/
> > }'
> > # Event count (approx.): 16313667937
> > #
> > # Children Self Command Shared Object
> > Symbol
> > # ................ ................ ........... ................
> > ............................
> > #
> > 4769.98% 0.01% 0.00% 0.01% tchain_edit [kernel.vmlinux]
> > [k] update_fast_timekeeper
> > 4356.18% 0.01% 0.00% 0.01% tchain_edit [kernel.vmlinux]
> > [k] trigger_load_balance
> > 3181.12% 0.01% 0.00% 0.01% tchain_edit [kernel.vmlinux]
> > [k] irq_work_tick
> > 1592.37% 0.00% 0.00% 0.00% tchain_edit [kernel.vmlinux]
> > [k] cpu_needs_another_gp
> >
> > Signed-off-by: Kan Liang <kan.liang@intel.com>
> > ---
> >
> > Changes since V2:
> > - Use symbol_conf.cumulate_callchain check for existance of he->stat_acc
> > Changes since V1:
> > - check he->stat_acc. Because it only be available when option children is set
>
> Acked-by: Jiri Olsa <jolsa@kernel.org>
Thanks, applied.
- Arnaldo
next prev parent reply other threads:[~2016-04-25 23:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-25 6:28 [PATCH V3 1/1] perf hists: clear dummy entry accumulated period kan.liang
2016-04-25 18:15 ` Jiri Olsa
2016-04-25 23:26 ` Arnaldo Carvalho de Melo [this message]
2016-04-27 15:34 ` [tip:perf/core] perf hists: Clear " tip-bot for Kan Liang
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=20160425232652.GA15298@kernel.org \
--to=acme@kernel.org \
--cc=ak@linux.intel.com \
--cc=jolsa@kernel.org \
--cc=jolsa@redhat.com \
--cc=kan.liang@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=namhyung@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