[Arm64-baikalm] Perf counters with Alt kernel
Alexey Sheplyakov
asheplyakov на basealt.ru
Чт Окт 21 12:02:26 MSK 2021
On 21.10.2021 12:57, Andrey Slepuhin wrote:
> On Thu, Oct 21, 2021 at 11:44 AM Дмитрий Терехин <jqt4 at basealt.ru> wrote:
>
>> Успешно использовал perf на TF307-MB-S-D с SDK5.3rc1 и с установленной
>> Alt Workstation 9.2 с ядром 5.10.52-un-def-alt1.
>>
>
> Успешно - это как именно? Что perf list показывает?
List of pre-defined events (to be used in -e):
branch-misses [Hardware event]
bus-cycles [Hardware event]
cache-misses [Hardware event]
cache-references [Hardware event]
cpu-cycles OR cycles [Hardware event]
instructions [Hardware event]
alignment-faults [Software event]
bpf-output [Software event]
cgroup-switches [Software event]
context-switches OR cs [Software event]
cpu-clock [Software event]
cpu-migrations OR migrations [Software event]
dummy [Software event]
emulation-faults [Software event]
major-faults [Software event]
minor-faults [Software event]
page-faults OR faults [Software event]
task-clock [Software event]
duration_time [Tool event]
L1-dcache-load-misses [Hardware cache event]
L1-dcache-loads [Hardware cache event]
L1-dcache-store-misses [Hardware cache event]
L1-dcache-stores [Hardware cache event]
L1-icache-load-misses [Hardware cache event]
L1-icache-loads [Hardware cache event]
branch-load-misses [Hardware cache event]
branch-loads [Hardware cache event]
dTLB-load-misses [Hardware cache event]
dTLB-store-misses [Hardware cache event]
iTLB-load-misses [Hardware cache event]
node-loads [Hardware cache event]
node-stores [Hardware cache event]
br_mis_pred OR armv8_cortex_a57/br_mis_pred/ [Kernel PMU event]
br_pred OR armv8_cortex_a57/br_pred/ [Kernel PMU event]
bus_access OR armv8_cortex_a57/bus_access/ [Kernel PMU event]
bus_cycles OR armv8_cortex_a57/bus_cycles/ [Kernel PMU event]
cid_write_retired OR armv8_cortex_a57/cid_write_retired/ [Kernel PMU event]
cpu_cycles OR armv8_cortex_a57/cpu_cycles/ [Kernel PMU event]
exc_return OR armv8_cortex_a57/exc_return/ [Kernel PMU event]
exc_taken OR armv8_cortex_a57/exc_taken/ [Kernel PMU event]
inst_retired OR armv8_cortex_a57/inst_retired/ [Kernel PMU event]
inst_spec OR armv8_cortex_a57/inst_spec/ [Kernel PMU event]
l1d_cache OR armv8_cortex_a57/l1d_cache/ [Kernel PMU event]
l1d_cache_refill OR armv8_cortex_a57/l1d_cache_refill/ [Kernel PMU event]
l1d_cache_wb OR armv8_cortex_a57/l1d_cache_wb/ [Kernel PMU event]
l1d_tlb_refill OR armv8_cortex_a57/l1d_tlb_refill/ [Kernel PMU event]
l1i_cache OR armv8_cortex_a57/l1i_cache/ [Kernel PMU event]
l1i_cache_refill OR armv8_cortex_a57/l1i_cache_refill/ [Kernel PMU event]
l1i_tlb_refill OR armv8_cortex_a57/l1i_tlb_refill/ [Kernel PMU event]
l2d_cache OR armv8_cortex_a57/l2d_cache/ [Kernel PMU event]
l2d_cache_refill OR armv8_cortex_a57/l2d_cache_refill/ [Kernel PMU event]
l2d_cache_wb OR armv8_cortex_a57/l2d_cache_wb/ [Kernel PMU event]
mem_access OR armv8_cortex_a57/mem_access/ [Kernel PMU event]
memory_error OR armv8_cortex_a57/memory_error/ [Kernel PMU event]
sw_incr OR armv8_cortex_a57/sw_incr/ [Kernel PMU event]
ttbr_write_retired OR armv8_cortex_a57/ttbr_write_retired/ [Kernel PMU event]
core imp def:
ase_spec
[Operation speculatively executed, Advanced SIMD instruction]
br_immed_spec
[Branch speculatively executed, immediate branch]
br_indirect_spec
[Branch speculatively executed, indirect branch]
br_return_spec
[Branch speculatively executed, procedure return]
bus_access_normal
[Bus access, Normal]
bus_access_not_shared
[Bus access, not Normal, Cacheable, Shareable]
bus_access_periph
[Bus access, peripheral]
bus_access_rd
[Bus access read]
bus_access_shared
[Bus access, Normal, Cacheable, Shareable]
bus_access_wr
[Bus access write]
crypto_spec
[Operation speculatively executed, Cryptographic instruction]
dmb_spec
[Barrier speculatively executed, DMB]
dp_spec
[Operation speculatively executed, integer data processing]
dsb_spec
[Barrier speculatively executed, DSB]
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]
isb_spec
[Barrier speculatively executed, ISB]
l1d_cache_inval
[L1D cache invalidate]
l1d_cache_rd
[L1D cache access, read]
l1d_cache_refill_rd
[L1D cache refill, read]
l1d_cache_refill_wr
[L1D cache refill, write]
l1d_cache_wb_clean
[L1D cache Write-Back, cleaning and coherency]
l1d_cache_wb_victim
[L1D cache Write-Back, victim]
l1d_cache_wr
[L1D cache access, write]
l1d_tlb_refill_rd
[L1D tlb refill, read]
l1d_tlb_refill_wr
[L1D tlb refill, write]
l2d_cache_inval
[L2D cache invalidate]
l2d_cache_rd
[L2D cache access, read]
l2d_cache_refill_rd
[L2D cache refill, read]
l2d_cache_refill_wr
[L2D cache refill, write]
l2d_cache_wb_clean
[L2D cache Write-Back, cleaning and coherency]
l2d_cache_wb_victim
[L2D cache Write-Back, victim]
l2d_cache_wr
[L2D cache access, write]
ld_spec
[Operation speculatively executed, load]
ldrex_spec
[Exclusive operation speculatively executed, LDREX or LDX]
ldst_spec
[Operation speculatively executed, load or store]
mem_access_rd
[Data memory access, read]
mem_access_wr
[Data memory access, write]
pc_write_spec
[Operation speculatively executed, software change of the PC]
rc_ld_spec
[Release consistency operation speculatively executed, Load-Acquire]
rc_st_spec
[Release consistency operation speculatively executed, Store-Release]
st_spec
[Operation speculatively executed, store]
strex_fail_spec
[Exclusive operation speculatively executed, STREX or STX fail]
strex_pass_spec
[Exclusive operation speculatively executed, STREX or STX pass]
unaligned_ld_spec
[Unaligned access, read]
unaligned_ldst_spec
[Unaligned access]
unaligned_st_spec
[Unaligned access, write]
vfp_spec
[Operation speculatively executed, floating-point instruction]
Подробная информация о списке рассылки Arm64-baikalm