[Bionic] Update ThunderX2 implementation defined pmu core events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
High
|
Canonical Kernel Team | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
[IMPACT]
=======
The ARM architecture defines several events as part of the Performance Monitor Unit (PMU) Extension. In addition, Cavium has added "implementation defined" pmu core events, which Cavium deems most useful for analyzing performance. Currently perf does not list these "implementation defined" events.
[FIX]
====
b9b77222d4ff perf vendor events arm64: Update ThunderX2 implementation defined pmu core events
[TEST]
====
With the patch applied perf lists the additional PMU events.
ubuntu@starbuck:~$ perf list
List of pre-defined events (to be used in -e):
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
armv8_
core imp def:
bus_access_rd
[Bus access read]
bus_access_wr
[Bus access write]
exc_dabort
[Exception taken, Data Abort and SError]
exc_fiq
[Exception taken, FIQ]
exc_hvc
[Exception taken, Hypervisor Call]
exc_irq
[Exception taken, IRQ]
exc_pabort
[Exception taken, Instruction Abort]
exc_smc
[Exception taken, Secure Monitor Call]
exc_svc
[Exception taken, Supervisor Call]
exc_trap_dabort
[Exception taken, Data Abort or SError not taken locally]
exc_trap_fiq
[Exception taken, FIQ not taken locally]
exc_trap_irq
[Exception taken, IRQ not taken locally]
exc_trap_other
[Exception taken, Other traps not taken locally]
exc_trap_pabort
[Exception taken, Instruction Abort not taken locally]
exc_undef
[Exception taken, Other synchronous]
l1d_cache_inval
[L1D cache invalidate]
l1d_cache_rd
[L1D cache access, read]
l1d_cache_
[L1D cache refill, inner]
l1d_cache_
[L1D cache refill, outer]
l1d_cache_
[L1D cache refill, read]
l1d_cache_
[L1D cache refill, write]
l1d_cache_
[L1D cache Write-Back, cleaning and coherency]
l1d_cache_
[L1D cache Write-Back, victim]
l1d_cache_wr
[L1D cache access, write]
l1d_tlb_rd
[L1D tlb access, read]
l1d_tlb_refill_rd
[L1D tlb refill, read]
l1d_tlb_refill_wr
[L1D tlb refill, write]
l1d_tlb_wr
[L1D tlb access, write]
l2d_tlb_rd
[L2D cache access, read]
l2d_tlb_refill_rd
[L2D cache refill, read]
l2d_tlb_refill_wr
[L2D cache refill, write]
l2d_tlb_wr
[L2D cache access, write]
mem_access_rd
[Data memory access, read]
mem_access_wr
[Data memory access, write]
unaligned_ld_spec
[Unaligned access, read]
unaligned_
[Unaligned access]
unaligned_st_spec
[Unaligned access, write]
rNNN [Raw hardware event descrip
cpu/t1=
(see 'man perf-list' on how to encode it)
mem:<
ubuntu@starbuck:~$
[REGRESSION POTENTIAL]
=======
The patch is limited to ARM64, ThunderX2 PMU core definitions json file. No regression potential for any kernel subsystems.
CVE References
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | New → Triaged |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Bionic): | |
status: | Triaged → Fix Committed |
tags: | added: cscc |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1796904
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.