]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/perf: xgene_pmu: Fix IOB SLOW PMU parser error
authorHoan Tran <hoan.tran@amperecomputing.com>
Thu, 7 Jun 2018 13:35:01 +0000 (14:35 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 18 Jun 2018 16:48:42 +0000 (17:48 +0100)
commit821e92bcac5c762ef6eb98a538b78466a4b3a9a7
tree2b0a0c700ef960a04d0bddb0ebb92a93b9a4891b
parent0d5624e606504772b89d3c3d6b1be740ef176c61
drivers/perf: xgene_pmu: Fix IOB SLOW PMU parser error

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@amperecomputing.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/xgene_pmu.c