I was issuing the command on host which was booted up with acpi=force.
Booting up the same system with acpi=off, the probing message is there
[ 2.106248] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7
counters available
and the support is there too:
$ perf stat sleep 1
Performance counter stats for 'sleep 1':
0.624936 task-clock:u (msec) # 0.001 CPUs
utilized
0 context-switches:u # 0.000 K/sec
0 cpu-migrations:u # 0.000 K/sec
35 page-faults:u # 0.056 M/sec
389,265 cycles:u # 0.623 GHz
184,079 instructions:u # 0.47 insn per
cycle
<not supported> branches:u
4,828 branch-misses:u # 0.00% of all
branches
1.013477604 seconds time elapsed
I'll apply the PMU probing patches for ACPI platforms and see if that helps.
On 7/10/16 5:09 AM, Marc Zyngier wrote:
$ perf stat sleep 5
Performance counter stats for 'sleep 5':
0.589480 task-clock:u (msec) # 0.000 CPUs
utilized
0 context-switches:u # 0.000 K/sec
0 cpu-migrations:u # 0.000 K/sec
35 page-faults:u # 0.059 M/sec
<not supported> cycles:u
<not supported> instructions:u
<not supported> branches:u
<not supported> branch-misses:u
5.024683421 seconds time elapsed
Userland is Fedora 24.
I'm pretty sure your QEMU doesn't have PMU support. Can you show the
PMU probe messages in the guest? And/or dump the guest DTB?
Thanks,
M.
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm