This is the mail archive of the
mailing list for the binutils project.
gprof does not display memset - callgrind does
- From: Chris Stankevitz <cstankevitz at toyon dot com>
- To: binutils at sourceware dot org
- Date: Wed, 28 Nov 2007 20:19:34 -0800
- Subject: gprof does not display memset - callgrind does
Why are calls to memset not appearing in my gprof output?
My c++ app was compiled and linked with -p -pg. gprof does not display
calls to memset (but does show functions I wrote). The same exe does
display calls to memset when it is run within callgrind. Below I
present how I envoke gprof and callgrind.
gprof ./bin/gcc/profile/prog -l
valgrind --tool=callgrind ./bin/gcc/profile/prog
Thank you for your help,