I noticed that when I do a histogram on a Java application, the execution in the Java application threads can be a mixture of JITted code and the underlying JVM code. For the JITted code, the histogram tool doesn't know how to map an address to a symbolic function name. However, the JVM itself can output the limits for the JITted methods in a number of ways. Would it be possible to have a "symbol lookup plugin" that the histogram tool would call to get a map an address to a function name when it's unable to get the name from a static image?
I noticed that for hot basic blocks it is possible to postprocess and add the symbol names, but this doesn't help the per-function statistics.