[lkml]   [2001]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: gprof cannot profile multi-threaded programs
    Mohit Aron wrote:
    > >
    > >
    > > I haven't used it yet, myself.
    > >
    > I have. cprof is no good - extremely slow and generates a 100MB trace
    > even with a simple hello world program.

    Oh. Bleh.
    mentioned a workaround for gprof, I don't know if it's real:

    > AFAIK gprof doesn't support multithreaded apps profiling, but you can
    > workaround it if you call getitimer() in the main thread for ITIMER_PROF
    > then using that value in a call to setitimer() in every thread you
    > spawn. Other alternative is using the open source cprof by Corel [I
    > never

    - Dan
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:26    [W:0.020 / U:8.656 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site