-
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 aarch64: Add JSON metrics for ARM Cortex-A53 Proce…
…ssor Add JSON metrics for ARM Cortex-A53 Processor. Unlike the Intel processors there isn't a script that automatically generated these files. The patch was manually generated from the documentation and the previous oprofile ARM Cortex ac53 event file patch I made. The relevant documentation is in the "12.9 Events" section of the ARM Cortex A53 MPCore Processor Revision: r0p4 Technical Reference Manual. The ARM Cortex A53 manual is available at: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0500g/DDI0500G_cortex_a53_trm.pdf Use that to look for additional information about the events. Signed-off-by: William Cohen <wcohen@redhat.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180131032813.9564-1-wcohen@redhat.com [ Added references provided by William Cohen ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
- Loading branch information
William Cohen
authored and
Arnaldo Carvalho de Melo
committed
Feb 15, 2018
1 parent
7928b2c
commit 0b7c152
Showing
7 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
{, | ||
"EventCode": "0x7A", | ||
"EventName": "BR_INDIRECT_SPEC", | ||
"BriefDescription": "Branch speculatively executed - Indirect branch" | ||
}, | ||
{, | ||
"EventCode": "0xC9", | ||
"EventName": "BR_COND", | ||
"BriefDescription": "Conditional branch executed" | ||
}, | ||
{, | ||
"EventCode": "0xCA", | ||
"EventName": "BR_INDIRECT_MISPRED", | ||
"BriefDescription": "Indirect branch mispredicted" | ||
}, | ||
{, | ||
"EventCode": "0xCB", | ||
"EventName": "BR_INDIRECT_MISPRED_ADDR", | ||
"BriefDescription": "Indirect branch mispredicted because of address miscompare" | ||
}, | ||
{, | ||
"EventCode": "0xCC", | ||
"EventName": "BR_COND_MISPRED", | ||
"BriefDescription": "Conditional branch mispredicted" | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{, | ||
"EventCode": "0x60", | ||
"EventName": "BUS_ACCESS_LD", | ||
"BriefDescription": "Bus access - Read" | ||
}, | ||
{, | ||
"EventCode": "0x61", | ||
"EventName": "BUS_ACCESS_ST", | ||
"BriefDescription": "Bus access - Write" | ||
}, | ||
{, | ||
"EventCode": "0xC0", | ||
"EventName": "EXT_MEM_REQ", | ||
"BriefDescription": "External memory request" | ||
}, | ||
{, | ||
"EventCode": "0xC1", | ||
"EventName": "EXT_MEM_REQ_NC", | ||
"BriefDescription": "Non-cacheable external memory request" | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
{, | ||
"EventCode": "0xC2", | ||
"EventName": "PREFETCH_LINEFILL", | ||
"BriefDescription": "Linefill because of prefetch" | ||
}, | ||
{, | ||
"EventCode": "0xC3", | ||
"EventName": "PREFETCH_LINEFILL_DROP", | ||
"BriefDescription": "Instruction Cache Throttle occurred" | ||
}, | ||
{, | ||
"EventCode": "0xC4", | ||
"EventName": "READ_ALLOC_ENTER", | ||
"BriefDescription": "Entering read allocate mode" | ||
}, | ||
{, | ||
"EventCode": "0xC5", | ||
"EventName": "READ_ALLOC", | ||
"BriefDescription": "Read allocate mode" | ||
}, | ||
{, | ||
"EventCode": "0xC8", | ||
"EventName": "EXT_SNOOP", | ||
"BriefDescription": "SCU Snooped data from another CPU for this CPU" | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{, | ||
"EventCode": "0x60", | ||
"EventName": "BUS_ACCESS_LD", | ||
"BriefDescription": "Bus access - Read" | ||
}, | ||
{, | ||
"EventCode": "0x61", | ||
"EventName": "BUS_ACCESS_ST", | ||
"BriefDescription": "Bus access - Write" | ||
}, | ||
{, | ||
"EventCode": "0xC0", | ||
"EventName": "EXT_MEM_REQ", | ||
"BriefDescription": "External memory request" | ||
}, | ||
{, | ||
"EventCode": "0xC1", | ||
"EventName": "EXT_MEM_REQ_NC", | ||
"BriefDescription": "Non-cacheable external memory request" | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[ | ||
{, | ||
"EventCode": "0x86", | ||
"EventName": "EXC_IRQ", | ||
"BriefDescription": "Exception taken, IRQ" | ||
}, | ||
{, | ||
"EventCode": "0x87", | ||
"EventName": "EXC_FIQ", | ||
"BriefDescription": "Exception taken, FIQ" | ||
}, | ||
{, | ||
"EventCode": "0xC6", | ||
"EventName": "PRE_DECODE_ERR", | ||
"BriefDescription": "Pre-decode error" | ||
}, | ||
{, | ||
"EventCode": "0xD0", | ||
"EventName": "L1I_CACHE_ERR", | ||
"BriefDescription": "L1 Instruction Cache (data or tag) memory error" | ||
}, | ||
{, | ||
"EventCode": "0xD1", | ||
"EventName": "L1D_CACHE_ERR", | ||
"BriefDescription": "L1 Data Cache (data, tag or dirty) memory error, correctable or non-correctable" | ||
}, | ||
{, | ||
"EventCode": "0xD2", | ||
"EventName": "TLB_ERR", | ||
"BriefDescription": "TLB memory error" | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[ | ||
{, | ||
"EventCode": "0xC7", | ||
"EventName": "STALL_SB_FULL", | ||
"BriefDescription": "Data Write operation that stalls the pipeline because the store buffer is full" | ||
}, | ||
{, | ||
"EventCode": "0xE0", | ||
"EventName": "OTHER_IQ_DEP_STALL", | ||
"BriefDescription": "Cycles that the DPU IQ is empty and that is not because of a recent micro-TLB miss, instruction cache miss or pre-decode error" | ||
}, | ||
{, | ||
"EventCode": "0xE1", | ||
"EventName": "IC_DEP_STALL", | ||
"BriefDescription": "Cycles the DPU IQ is empty and there is an instruction cache miss being processed" | ||
}, | ||
{, | ||
"EventCode": "0xE2", | ||
"EventName": "IUTLB_DEP_STALL", | ||
"BriefDescription": "Cycles the DPU IQ is empty and there is an instruction micro-TLB miss being processed" | ||
}, | ||
{, | ||
"EventCode": "0xE3", | ||
"EventName": "DECODE_DEP_STALL", | ||
"BriefDescription": "Cycles the DPU IQ is empty and there is a pre-decode error being processed" | ||
}, | ||
{, | ||
"EventCode": "0xE4", | ||
"EventName": "OTHER_INTERLOCK_STALL", | ||
"BriefDescription": "Cycles there is an interlock other than Advanced SIMD/Floating-point instructions or load/store instruction" | ||
}, | ||
{, | ||
"EventCode": "0xE5", | ||
"EventName": "AGU_DEP_STALL", | ||
"BriefDescription": "Cycles there is an interlock for a load/store instruction waiting for data to calculate the address in the AGU" | ||
}, | ||
{, | ||
"EventCode": "0xE6", | ||
"EventName": "SIMD_DEP_STALL", | ||
"BriefDescription": "Cycles there is an interlock for an Advanced SIMD/Floating-point operation." | ||
}, | ||
{, | ||
"EventCode": "0xE7", | ||
"EventName": "LD_DEP_STALL", | ||
"BriefDescription": "Cycles there is a stall in the Wr stage because of a load miss" | ||
}, | ||
{, | ||
"EventCode": "0xE8", | ||
"EventName": "ST_DEP_STALL", | ||
"BriefDescription": "Cycles there is a stall in the Wr stage because of a store" | ||
} | ||
] |
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