Skip to contentSkip to conversation

gprof for IA-64

Linux-ia64 Ahna, Christopher J 3 participants 3 messages Mar 20, 2001 – Mar 21, 2001

lore
Share & tools
lore
#0 lore raw

Does anybody have gprof working on their IA-64 box? I saw some 'gprof for IA-64' patches go into binutils recently, but I can't get things to work right on my BigSur. Are any steps other than downloading and building the latest binutils necessary? Thanks,

Chris

#1 lore raw
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

">" = Ahna, Christopher J <[email protected]> writes:

Does anybody have gprof working on their IA-64 box? I saw some 'gprof for IA-64' patches go into binutils recently, but I can't get things to work right on my BigSur. Are any steps other than downloading and building the latest binutils necessary? Thanks,

You need the latest glibc from CVS as well for it to work.

Jes

#2 lore raw
In reply to Ahna, Christopher J
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Christopher J

Ahna> Does anybody have gprof working on their IA-64 box? I saw Ahna> some 'gprof for IA-64' patches go into binutils recently, but Ahna> I can't get things to work right on my BigSur. Are any steps Ahna> other than downloading and building the latest binutils Ahna> necessary? Thanks,

IIRC, the libc that ships with "Fisher" supports profiling. So if you applied the gprof patch and have a recent enough version of libc, you should be all set.

What exactly do you mean by "can't get things to work right"? What's failing? How did you compile/link the program? I normally use:

gcc -profile -pg files...

--david