-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main missing #55
Comments
There are 2 problems here:
Both issues are in gcc/gprof domain, not the gprof2dot tool. The missing main issue is minor IMO. But the strlen is a showstopper -- if time spent in libc functions is not accurately billed to the callers, then the whole graph will end up biased and useless. I hope this helps. |
Thank you very much for the explaination! It's very much appreciated. I am sure it will help our m68k gprof. Happy New Year! |
I had
|
I try to get familiar with gprof profiling and use gprof2dot to visualize the results. The used gcc is a cross compiler that produces Amiga executables. gprof2dot produces pretty pictures for big projects.. Now I have an understanding problem. Please see the attached tiny example. In the produced picture I see no main(). Is that abug or am I doing something wrong?
gprof test | gprof2dot -n0 -e0 | dot -Tpng -o output.png && mirage output.png
granularity: each sample hit covers 2 byte(s) for 100.00% of 0.02 seconds
test.tar.gz
The text was updated successfully, but these errors were encountered: