-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf vendor events: Syntax corrections in Neoverse N1 json
There are some syntactical mistakes in the json files for the Cortex A76 N1 (Neoverse N1). This was obstructing parsing from an external tool. This patch fixes the erroneous placement of commas causing the problems. Reviewed-by: John Garry <john.garry@huawei.com> Signed-off-by: Andrew Kilroy <andrew.kilroy@arm.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Will Deacon <will@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Link: https://lore.kernel.org/r/20211006081106.8649-1-andrew.kilroy@arm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
- Loading branch information
Andrew Kilroy
authored and
Arnaldo Carvalho de Melo
committed
Oct 20, 2021
1 parent
b85a4d6
commit 25bc479
Showing
8 changed files
with
40 additions
and
40 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/branch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[ | ||
{ | ||
"PublicDescription": "This event counts any predictable branch instruction which is mispredicted either due to dynamic misprediction or because the MMU is off and the branches are statically predicted not taken", | ||
"ArchStdEvent": "BR_MIS_PRED", | ||
"ArchStdEvent": "BR_MIS_PRED" | ||
}, | ||
{ | ||
"PublicDescription": "This event counts all predictable branches.", | ||
"ArchStdEvent": "BR_PRED", | ||
"ArchStdEvent": "BR_PRED" | ||
} | ||
] |
12 changes: 6 additions & 6 deletions
12
tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/bus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
[ | ||
{ | ||
"PublicDescription": "The number of core clock cycles" | ||
"PublicDescription": "The number of core clock cycles", | ||
"ArchStdEvent": "CPU_CYCLES", | ||
"BriefDescription": "The number of core clock cycles." | ||
}, | ||
{ | ||
"PublicDescription": "This event counts for every beat of data transferred over the data channels between the core and the SCU. If both read and write data beats are transferred on a given cycle, this event is counted twice on that cycle. This event counts the sum of BUS_ACCESS_RD and BUS_ACCESS_WR.", | ||
"ArchStdEvent": "BUS_ACCESS", | ||
"ArchStdEvent": "BUS_ACCESS" | ||
}, | ||
{ | ||
"PublicDescription": "This event duplicates CPU_CYCLES." | ||
"ArchStdEvent": "BUS_CYCLES", | ||
"PublicDescription": "This event duplicates CPU_CYCLES.", | ||
"ArchStdEvent": "BUS_CYCLES" | ||
}, | ||
{ | ||
"ArchStdEvent": "BUS_ACCESS_RD", | ||
"ArchStdEvent": "BUS_ACCESS_RD" | ||
}, | ||
{ | ||
"ArchStdEvent": "BUS_ACCESS_WR", | ||
"ArchStdEvent": "BUS_ACCESS_WR" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/exception.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/instruction.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[ | ||
{ | ||
"ArchStdEvent": "REMOTE_ACCESS", | ||
"ArchStdEvent": "REMOTE_ACCESS" | ||
} | ||
] |
4 changes: 2 additions & 2 deletions
4
tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/pipeline.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[ | ||
{ | ||
"PublicDescription": "The counter counts on any cycle when there are no fetched instructions available to dispatch.", | ||
"ArchStdEvent": "STALL_FRONTEND", | ||
"ArchStdEvent": "STALL_FRONTEND" | ||
}, | ||
{ | ||
"PublicDescription": "The counter counts on any cycle fetched instructions are not dispatched due to resource constraints.", | ||
"ArchStdEvent": "STALL_BACKEND", | ||
"ArchStdEvent": "STALL_BACKEND" | ||
} | ||
] |