This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gprof and int overflow


Hi Everyone-

I can't get accurate results for functions called more than 2^32-1 times in
gprof; it looks like somewhere the function call counts are limited to 32-bit
integers, even though I am compiling on a 64-bit architecture. Does anyone know
if this is a limitation of gprof or of the gcc implementation of the -pg option?
Is there a workaround? I am using binutils 2.17 and gcc 4.1.2 on Debian. Thanks
very much.

-Lewis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]