Hello,
I have installed Xen 4.9-unstable with source on Ubuntu 15.10 and uses 4.2.0-42-generic kernel.
Before installing Xen, I used perf to check which events are supported.I found that hardware event are supported by it. Now, I want to use performance counters from virtual machine, so after installing Xen,I installed XenOprof which allows to access performance counter through virtual layer also.
When I executed the following command, I got the message that OProfile is in timer mode.
sudo opcontrol --start-daemon --event=GLOBAL_POWER_EVENTS --vmlinux=/home/dhbuch/vmlinux --xen=/home/dhbuch/xen-4.9-unstable
As per the documentation, timer mode is set automatically when hardware events are not supported by the kernel, but through perf it was tested that hardware events are supported.