From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH] perfc: count number of explicit vcpu yields Date: Mon, 9 Nov 2015 16:47:20 +0100 Message-ID: <1447084040.2722.12.camel@citrix.com> References: <1447077658-6997-1-git-send-email-ian.campbell@citrix.com> <1447080838.2722.8.camel@citrix.com> <5640B595.6050803@oracle.com> <1447082052.2722.11.camel@citrix.com> <1447082626.9407.4.camel@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8723232864021034855==" Return-path: In-Reply-To: <1447082626.9407.4.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , Boris Ostrovsky , xen-devel@lists.xen.org Cc: george.dunlap@citrix.com, jbeulich@suse.com List-Id: xen-devel@lists.xenproject.org --===============8723232864021034855== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-gdZaODuvlX6QVSP70/E7" --=-gdZaODuvlX6QVSP70/E7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2015-11-09 at 15:23 +0000, Ian Campbell wrote: > On Mon, 2015-11-09 at 16:14 +0100, Dario Faggioli wrote: > > =20 > > > As far as xl accessibility --- doesn't xenperf already read them > > > out? > > >=20 > > Mmm... ISTR having tried without much luck, and having heard that > > it > > wasn't functional any longer, but maybe I'm confusing it with > > something > > else. I'll try again. >=20 > I happened to have an xterm with this in its scroll buffer from > earlier: >=20 > root@marilith-n0:~# xenperf=20 > invalid hypercalls T=3D 0 0 = =20 > 0 0 0 > trap: wfi T=3D 85068 56068 =20 > 11762 8461 8777 > trap: wfe T=3D 2811 614 =20 > 716 964 517 > trap: cp15 32-bit access T=3D 4 1 = =20 > 1 1 1 > trap: cp15 64-bit access T=3D 0 0 = =20 > 0 0 0 > trap: cp14 32-bit access T=3D 0 0 = =20 > 0 0 0 > trap: cp14 64-bit access T=3D 0 0 = =20 > 0 0 0 > trap: cp14 dbg access T=3D 0 0 = =20 > 0 0 0 > trap: cp access T=3D 0 0 = =20 > 0 0 0 > trap: 32-bit smc T=3D 0 0 = =20 > 0 0 0 > trap: 32-bit hvc T=3D 1291 510 =20 > 568 161 52 > trap: guest instr abort T=3D 0 0 = =20 > 0 0 0 > trap: guest data abort T=3D 16446 6885 =20 > 4358 3431 1772 > trap: condition failed T=3D 0 0 = =20 > 0 0 0 > [...] >=20 > So I think it works. >=20 Ok, thanks for the confirmation, and sorry for the noise then. > You need to build the hypervisor binary with perfc=3Dy (and optionally > perfc_arrays=3Dy) or it doesn't do anything. >=20 Yeah, that I knew. Thanks again and Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-gdZaODuvlX6QVSP70/E7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlZAwAgACgkQk4XaBE3IOsT/9wCeJKsOENm+nD8U9GP9Eh5RhvVc vBAAn38dgdMlBv8ZQRKNwsT3nNeK7DZt =SQxY -----END PGP SIGNATURE----- --=-gdZaODuvlX6QVSP70/E7-- --===============8723232864021034855== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============8723232864021034855==--