|
From: Josef W. <Jos...@gm...> - 2008-01-11 08:55:20
|
On Thursday 10 January 2008, sv...@va... wrote: > Uninitialised byte(s) found during client check request > at 0x4005FE: croak (dsyms2.c:23) > by 0x40066D: main (dsyms2.c:49) > Address 0x601043 is 7 bytes inside global var "global_i2" > > Not terribly useful, but it's a start. It is useful. An interesting thing for cachegrind/callgrind would be to get global figures on cache events related to data names. This would involve calling VG_(get_dataname_and_offset) for every read/write access, which is a lot of overhead. A solution would be that a tool can build up its own optimized data structure at the time the debug info of an ELF object is read in. One would need a hook for this... Do you have plans to resolve variable names for addresses from stack frames, ie. something like VG_(get_dataname_and_offset_from_stackframe)(Char* function, Int stackoffset, ...) ? Cheers, Josef |