File perf-metrics-fix-parse-errors-in-power9-metrics.patch of Package perf
50
1
From: Ian Rogers <irogers@google.com>
2
Date: Fri, 1 May 2020 10:33:30 -0700
3
Subject: perf metrics: Fix parse errors in power9 metrics
4
Git-commit: f2682a8fe9b0429eef9fb3cc96e33c4b136a15bb
5
References: git-fixes
6
7
Mismatched parentheses.
8
9
Fixes: 7f3cf5ac7743 (perf vendor events power9: Cpi_breakdown & estimated_dcache_miss_cpi metrics)
10
Signed-off-by: Ian Rogers <irogers@google.com>
11
Reviewed-by: Paul Clarke <pc@us.ibm.com>
12
Acked-by: Jiri Olsa <jolsa@redhat.com>
13
Cc: Adrian Hunter <adrian.hunter@intel.com>
14
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
15
Cc: Andi Kleen <ak@linux.intel.com>
16
Cc: Haiyan Song <haiyanx.song@intel.com>
17
Cc: Jin Yao <yao.jin@linux.intel.com>
18
Cc: John Garry <john.garry@huawei.com>
19
Cc: Kajol Jain <kjain@linux.ibm.com>
20
Cc: Kan Liang <kan.liang@linux.intel.com>
21
Cc: Leo Yan <leo.yan@linaro.org>
22
Cc: Mark Rutland <mark.rutland@arm.com>
23
Cc: Namhyung Kim <namhyung@kernel.org>
24
Cc: Paul Clarke <pc@us.ibm.com>
25
Cc: Peter Zijlstra <peterz@infradead.org>
26
Cc: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
27
Cc: Song Liu <songliubraving@fb.com>
28
Cc: Stephane Eranian <eranian@google.com>
29
Link: http://lore.kernel.org/lkml/20200501173333.227162-10-irogers@google.com
30
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
31
Acked-by: Tony Jones <tonyj@suse.de>
32
---
33
tools/perf/pmu-events/arch/powerpc/power9/metrics.json | 2 +-
34
1 file changed, 1 insertion(+), 1 deletion(-)
35
36
diff --git a/tools/perf/pmu-events/arch/powerpc/power9/metrics.json b/tools/perf/pmu-events/arch/powerpc/power9/metrics.json
37
index 811c2a8c1c9e..f427436f2c0a 100644
38
--- a/tools/perf/pmu-events/arch/powerpc/power9/metrics.json
39
+++ b/tools/perf/pmu-events/arch/powerpc/power9/metrics.json
40
41
},
42
{
43
"BriefDescription": "Completion stall for other reasons",
44
- "MetricExpr": "PM_CMPLU_STALL - PM_CMPLU_STALL_NTC_DISP_FIN - PM_CMPLU_STALL_NTC_FLUSH - PM_CMPLU_STALL_LSU - PM_CMPLU_STALL_EXEC_UNIT - PM_CMPLU_STALL_BRU)/PM_RUN_INST_CMPL",
45
+ "MetricExpr": "(PM_CMPLU_STALL - PM_CMPLU_STALL_NTC_DISP_FIN - PM_CMPLU_STALL_NTC_FLUSH - PM_CMPLU_STALL_LSU - PM_CMPLU_STALL_EXEC_UNIT - PM_CMPLU_STALL_BRU)/PM_RUN_INST_CMPL",
46
"MetricGroup": "cpi_breakdown",
47
"MetricName": "other_stall_cpi"
48
},
49
50