This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Profiling (Was: Memory residence)
Tom Tromey writes:
> >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>
> Andrew> I've had no trouble at all, so I don't know where the bugs other
> Andrew> people found may lie.
>
> I thought you ran into something where some specific version of
> oprofile was finding the wrong symbols, giving misleading results...?
Not me. It happened to overholt, but I have always had perfect
results.
> Andrew> I just start oprofile, run the code, stop oprofile, and print the
> Andrew> reports with opreport -l. It really is as easy as that.
>
> Do you exclude the kernel and other things?
Unless you have kernel syms installed it'll just batch everything as
[kernel].
> Even this simple recipe would be helpful to have on the wiki
> actually. We could just point people to a URL.
OK.
The docs for oprofile make it look very hard to use, when in fact the
exact opposite is true. The docs, or at least the dos that I have
seen, are the worst thing about oprofile.
Andrew.