[lkml]   [2010]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Enhance perf to collect KVM guest os statistics from host side
    Andi Kleen <> writes:

    > Soeren Sandmann <> 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.

    It's not that I personally want to profile a particular python
    program. I'm interested in the more general problem of extracting more
    information from profiled user space programs than just stack traces.


    - What is going on inside QEMU?

    - Which client is the X server servicing?

    - What parts of a python/shell/scheme/javascript program is
    taking the most CPU time?

    I don't think the oprofile JIT interface solves any of these
    problems. (In fact, I don't see why the JIT problem is even hard. The
    JIT compiler can just generate a little ELF file with symbols in it,
    and the profiler can pick it up through the mmap events that you get
    through the perf interface).

    > 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?

    I am bringing this up because I want to extend sysprof to be more


     \ /
      Last update: 2010-03-23 15:07    [W:0.024 / U:145.252 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site