I tried using the method and referring document by arm Official documents,but an exception appears in the kernel log
checked for the path without "/sys/bus/event_source/devices/arm_spe_XX."
The hardware is arm-cortex x3
Exception Message from above link:
> [ 0.774345] swapper/0: arm_spe_pmu spe-x3: [name:arm_spe_pmu&]profiling buffer owned by higher exception level
I don't know what causes this exception,
I've confirmed some things
bits[13:12] is ob11 and its meaning is as follows
Profiling Buffer uses Non-secure Virtual Addresses. Statistical Profiling enabled in Non-secure state and disabled in Secure state. Accesses to Statistical Profiling and Profiling Buffer control registers at EL2 and EL1 in Secure state generate Trap exceptions to EL3.
Please provide me with more Information ?