xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] xenoprof: improve handling of 32-bit guests on 64-bit xen
@ 2012-01-20 18:44 Marcus Granado
  0 siblings, 0 replies; only message in thread
From: Marcus Granado @ 2012-01-20 18:44 UTC (permalink / raw)
  To: xen-devel; +Cc: George Dunlap

Hi,
this patch series for xen fixes some xenoprofile type glitches between 
64-bit xen and 32-bit guests, enablingthe opcontrol callgraph option to 
walk the call stack in both 32-bit and 64-bit guests when they are 
running on 64-bit xen.

The escape-code patch (3/3) should be used with a corresponding patch in 
the guest kernel definition of XENOPROF_ESCAPE_CODE so that both ends 
agree on the same escape constant value.


A few comments from my tests with oprofile 0.9.6 in userspace:
- to obtain callgraphs of the xen code, you need to enable the 
CONFIG_FRAME_POINTER flag during compilation of the xen binary, eg. 
using "make" with "frame_pointer=y".
- if the oprofiled daemon is running in a 32-bit guest, it needs to 
receive the xen-range in 32-bits, eg. --xen-image=/boot/xen-syms-4.1.1 
--xen-range=80100000,801fe5ee

cheers,
Marcus

(1/3) xenoprof: Adjust indentation
(2/3) xenoprof: Handle 32-bit guest stacks properly in a 64-bit hypervisor
(3/3) xenoprof: Make the escape code consistent across 32 and 64-bit xen

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-20 18:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-20 18:44 [PATCH 0/3] xenoprof: improve handling of 32-bit guests on 64-bit xen Marcus Granado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).