Re: [PATCH] Enhance perf to collect KVM guest os statistics fromhost side

From: Arnaldo Carvalho de Melo
Date: Tue Mar 23 2010 - 10:10:36 EST


Em Tue, Mar 23, 2010 at 02:49:01PM +0100, Andi Kleen escreveu:
> Soeren Sandmann <sandmann@xxxxxxxxxxx> writes:
> > To fix that problem, it seems like we need some way to have python
> > export what is going on. Maybe the same mechanism could be used to
> > both access what is going on in qemu and python.
>
> oprofile already has an interface to let JITs export
> information about the JITed code. C Python is not a JIT,
> but presumably one of the python JITs could do it.
>
> http://oprofile.sourceforge.net/doc/devel/index.html
>
> I know it's not envogue anymore and you won't be a approved
> cool kid if you do, but you could just use oprofile?

perf also has supports for this and Pekka Enberg's jato uses it:

http://penberg.blogspot.com/2009/06/jato-has-profiler.html

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/