From: Peter Zijlstra <peterz@infradead.org>
To: Tony Lu <zlu@tilera.com>
Cc: Paul Mackerras <paulus@samba.org>, Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@ghostprotocols.net>,
Chris Metcalf <cmetcalf@tilera.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/4] tile/perf: Support perf_events on tilegx and tilepro
Date: Thu, 6 Mar 2014 10:06:55 +0100 [thread overview]
Message-ID: <20140306090655.GF9987@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <BAB94DBB0E89D8409949BC28AC95914C5D67FF3E@USMAExch1.tad.internal.tilera.com>
On Thu, Mar 06, 2014 at 06:26:11AM +0000, Tony Lu wrote:
> +static const int tile_cache_event_map[PERF_COUNT_HW_CACHE_MAX]
> + [PERF_COUNT_HW_CACHE_OP_MAX]
> + [PERF_COUNT_HW_CACHE_RESULT_MAX] = {
> +[C(L1D)] = {
> + [C(OP_READ)] = {
> + [C(RESULT_ACCESS)] = TILE_OP_UNSUPP,
> + [C(RESULT_MISS)] = 0x21, /* RD_MISS */
> + },
> + [C(OP_WRITE)] = {
> + [C(RESULT_ACCESS)] = 0x22, /* WR_MISS */
> + [C(RESULT_MISS)] = TILE_OP_UNSUPP,
> + },
If that's the wr_miss event as the comment says, it should probably be
listed one down.
next prev parent reply other threads:[~2014-03-06 9:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-06 6:26 [PATCH 3/4] tile/perf: Support perf_events on tilegx and tilepro Tony Lu
2014-03-06 9:06 ` Peter Zijlstra [this message]
2014-03-06 9:57 ` Tony Lu
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=20140306090655.GF9987@twins.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=acme@ghostprotocols.net \
--cc=cmetcalf@tilera.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=paulus@samba.org \
--cc=zlu@tilera.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.