From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
To: Stephane Eranian <eranian@google.com>
Cc: linux-kernel@vger.kernel.org, peterz@infradead.org,
mingo@elte.hu, jolsa@redhat.com, ak@linux.intel.com,
zheng.z.yan@intel.com, namhyung.kim@lge.com
Subject: Re: [PATCH] perf stat: fix per-socket output bug for uncore events
Date: Fri, 5 Jul 2013 17:37:43 -0300 [thread overview]
Message-ID: <20130705203743.GB16414@ghostprotocols.net> (raw)
In-Reply-To: <20130705170645.GA32519@quad>
Em Fri, Jul 05, 2013 at 07:06:45PM +0200, Stephane Eranian escreveu:
>
> This patch fixes a problem reported by Andi Kleen on perf
> stat when measuring uncore events:
>
> # perf stat --per-socket -e uncore_pcu/event=0x0/ -I1000 -a sleep 2
>
> It would not report counts for the second socket. That was due to a
> cpu mapping bug in print_aggr().
>
> This patch also fixes the socket numbering bug for <not counted>
> events.
>
> Reported-by: Andi Kleen <ak@linux.intel.com>
> Signed-off-by: Stephane Eranian <eranian@google.com>
Thanks, applied.
- Arnaldo
next prev parent reply other threads:[~2013-07-05 20:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-05 17:06 [PATCH] perf stat: fix per-socket output bug for uncore events Stephane Eranian
2013-07-05 19:12 ` Andi Kleen
2013-07-05 20:37 ` Arnaldo Carvalho de Melo [this message]
2013-07-12 8:52 ` [tip:perf/urgent] perf stat: Fix " tip-bot for Stephane Eranian
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=20130705203743.GB16414@ghostprotocols.net \
--to=acme@ghostprotocols.net \
--cc=ak@linux.intel.com \
--cc=eranian@google.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=namhyung.kim@lge.com \
--cc=peterz@infradead.org \
--cc=zheng.z.yan@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