lkml.org 
[lkml]   [2014]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/4] tile/perf: Support perf_events on tilegx and tilepro
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.


\
 
 \ /
  Last update: 2014-03-06 11:02    [W:0.055 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site