From mboxrd@z Thu Jan 1 00:00:00 1970 From: dhara buch Subject: XenOprof not coming out of Timer Mode Date: Sat, 18 Feb 2017 07:42:33 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6448809598597205596==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============6448809598597205596== Content-Type: multipart/alternative; boundary=94eb2c034cb237774c0548c49056 --94eb2c034cb237774c0548c49056 Content-Type: text/plain; charset=UTF-8 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. Kindly help to come out of the timer mode so that performance counter values can be monitored. Thank you, Dhara Buch --94eb2c034cb237774c0548c49056 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I h= ave installed Xen 4.9-unstable with source on Ubuntu 15.10 and uses 4.2.0-4= 2-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 ins= talling Xen,I installed XenOprof which allows to access performance counter= through virtual layer also.

When I executed the following com= mand, I got the message that OProfile is in timer mode.


sudo opc= ontrol --start-daemon --event=3DGLOBAL_POWER_EVENTS --vmlinux=3D/home/dhbuc= h/vmlinux --xen=3D/home/dhbuch/xen-4.9-unstable


As per the= documentation, timer mode is set automatically when hardware events are no= t supported by the kernel, but through perf it was tested that hardware eve= nts are supported.

Kindly help to come out of the timer mode s= o that performance counter values can be monitored.

Thank you,=

Dhara Buch
--94eb2c034cb237774c0548c49056-- --===============6448809598597205596== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============6448809598597205596==--