gprof cannot profile multi-threaded programs
See
http://opensource.corel.com/cprof.html
I haven't used it yet, myself.
- Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines
http://opensource.corel.com/cprof.html
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.
- Mohit
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 9 lines · Mohit Aron
Quoted 5 lines
http://opensource.corel.com/cprof.html
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.
try the (currently rather alpha) oprofile, this will generate profile info perfectly well :
http://oprofile.sourceforge.net/
(note: use CVS version, NOT the available tarball - and you might want to wait a while for some pending updates).
I suppose further discussion should go to [email protected] or [email protected]
thanks
john
Signature · 8 lines
"Existence of programs that do the impossible is not a proof that that "impossible" is now possible." - Tigran Aivazian - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Quoted 8 lines · Mohit Aron
Quoted 5 lines
http://opensource.corel.com/cprof.html
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.
http://wordindex.sourceforge.net/testdata/usenet.col-20000817-1548/028-123.col.txt.txt
mentioned a workaround for gprof, I don't know if it's real:
Quoted 5 lines
AFAIK gprof doesn't support multithreaded apps profiling, but you can workaround it if you call
getitimer()in the main thread forITIMER_PROFthen using that value in a call tosetitimer()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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/