All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Ian Campbell <ian.campbell@citrix.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	xen-devel@lists.xen.org
Cc: george.dunlap@citrix.com, jbeulich@suse.com
Subject: Re: [PATCH] perfc: count number of explicit vcpu yields
Date: Mon, 9 Nov 2015 16:47:20 +0100	[thread overview]
Message-ID: <1447084040.2722.12.camel@citrix.com> (raw)
In-Reply-To: <1447082626.9407.4.camel@citrix.com>


[-- Attachment #1.1: Type: text/plain, Size: 2483 bytes --]

On Mon, 2015-11-09 at 15:23 +0000, Ian Campbell wrote:
> On Mon, 2015-11-09 at 16:14 +0100, Dario Faggioli wrote:
> >  
> > > As far as xl accessibility --- doesn't xenperf already read them
> > > out?
> > > 
> > 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.
> 
> I happened to have an xterm with this in its scroll buffer from
> earlier:
> 
> root@marilith-n0:~# xenperf 
> invalid hypercalls                  T=         0           0         
>  0          0          0
> trap: wfi                           T=     85068       56068     
>  11762       8461       8777
> trap: wfe                           T=      2811         614       
>  716        964        517
> trap: cp15 32-bit access            T=         4           1         
>  1          1          1
> trap: cp15 64-bit access            T=         0           0         
>  0          0          0
> trap: cp14 32-bit access            T=         0           0         
>  0          0          0
> trap: cp14 64-bit access            T=         0           0         
>  0          0          0
> trap: cp14 dbg access               T=         0           0         
>  0          0          0
> trap: cp access                     T=         0           0         
>  0          0          0
> trap: 32-bit smc                    T=         0           0         
>  0          0          0
> trap: 32-bit hvc                    T=      1291         510       
>  568        161         52
> trap: guest instr abort             T=         0           0         
>  0          0          0
> trap: guest data abort              T=     16446        6885      
>  4358       3431       1772
> trap: condition failed              T=         0           0         
>  0          0          0
> [...]
> 
> So I think it works.
> 
Ok, thanks for the confirmation, and sorry for the noise then.

> You need to build the hypervisor binary with perfc=y (and optionally
> perfc_arrays=y) or it doesn't do anything.
> 
Yeah, that I knew.

Thanks again and Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2015-11-09 15:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-09 14:00 [PATCH] perfc: count number of explicit vcpu yields Ian Campbell
2015-11-09 14:09 ` Jan Beulich
2015-11-09 14:14 ` George Dunlap
2015-11-09 14:53 ` Dario Faggioli
2015-11-09 15:02   ` Boris Ostrovsky
2015-11-09 15:14     ` Dario Faggioli
2015-11-09 15:23       ` Ian Campbell
2015-11-09 15:47         ` Dario Faggioli [this message]
2015-11-09 16:03           ` Konrad Rzeszutek Wilk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1447084040.2722.12.camel@citrix.com \
    --to=dario.faggioli@citrix.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=george.dunlap@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.