Re: [PATCH] perf: xgene: Fix IOB SLOW PMU parser error
From: Will Deacon
Date: Thu Jun 07 2018 - 12:01:39 EST
On Wed, Jun 06, 2018 at 02:06:54PM -0700, Hoan Tran wrote:
> This patch fixes the below parser error of the IOB SLOW PMU.
> # perf stat -a -e iob-slow0/cycle-count/ sleep 1
> evenf syntax error: 'iob-slow0/cycle-count/'
> \___ parser error
> It replaces the "-" character by "_" character inside the PMU name.
> Signed-off-by: Hoan Tran <hoan.tran@xxxxxxxxxxxxxxxxxxx>
Hmm, why did you only notice this now? :(
Anyway, whilst this could in theory break something, we did this for the CPU
PMUs in the past without issues so I'll pick this up.