|
From: Erdem G. <zu...@ya...> - 2004-05-10 13:16:26
|
Hi,
I patched valgrind-2.0.0 with 12-vgprof.patch.
I had added MUL & UMUL enums to code to able to
compile.
I run valgrind with vgprof skin and it outputs
'vgmon.out.23746' file.
File size is 216439 bytes.
When I run 'vgprof vgmon.out.23746' it prints
'vgmon.out.23814: not in
a.out format'.
After that I tried to patch gprof and debug it but
it's too complicated.
I tried to patch 2.1.1 version and added
ULong VG_(get_tsc_ticks_per_millisecond)(void)
{
return 100; //rdtsc_ticks_per_millisecond;
}
to vg_mylib.c. I could compile it but while runing
it's crushing.
Can someone help me?
Thanks.
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
|
|
From: Nicholas N. <nj...@ca...> - 2004-05-10 14:15:06
|
On Mon, 10 May 2004, Erdem Guven wrote: > I patched valgrind-2.0.0 with 12-vgprof.patch. > I had added MUL & UMUL enums to code to able to > compile. > I run valgrind with vgprof skin and it outputs > 'vgmon.out.23746' file. > File size is 216439 bytes. > When I run 'vgprof vgmon.out.23746' it prints > 'vgmon.out.23814: not in > a.out format'. > After that I tried to patch gprof and debug it but > it's too complicated. Have you patched gprof with the patch from www.goop.org/~jeremy/valgrind/vgprof.html? If that's too hard, you could try the pre-compiled version from the same page. HTH N |