I use callgrind a lot when I am trying to view the execution path of C++ 
programs (call it an alternate use case of the execution profiler). I was 
wondering if it is possible to do the same thing for a Java program running in 
a JVM. Also, is it possible to do the same thing for a Perl script?

Callgrind tracks only call+return at the level of machine instructions,
or perhaps also when a compiler annotates the generated machine language
to mark the call+return.  In general callgrind does not track call+return
which are handled entirely within a higher-level interpreter such as JVM
or Perl.  Callgrind does track the call+return of the internal
implementation of the interpreter, and sometimes this may give clues
to what is happening at the level of the input language.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to