This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Don't mount hardware performance counter using xenoprof

On Tue, Jan 11, 2011 at 12:34:58AM +0900, Yuto Nakai wrote:
> 2011/1/11 Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> > > > Do they exist when booting a baremetal kernel?
> > > >
> > > >
> > > Thank you for your response.
> > >
> > >
> > > Does booting a baremetal kernel means booting Dom0?
> >
> > No. Baremetal means booting the same kernel but without the Xen hypervisor.
> >
> I understood.
> They exist when booting a baremetal kernel.

Ok, then the answer is that nobody has looked in a long time (I think
since 2.6.18) to hook up the oprofile (or rather the code that
that gets invoked when a perf counter is triggered) to the Xen hypervisor.

It might make sense to look at how 2.6.18 did it (especially what were
the hypercalls and where) and see how to port it over to a pvops kernel.

Xen-devel mailing list