On Tue, 2007-01-09 at 09:54 -0800, Stephane Eranian wrote: > Phil, > > On Sun, Jan 07, 2007 at 10:56:32PM -0500, Philip Mucci wrote: > > > > Well, recently we have migrated the MIPS stuff to 64-bit builds and a > > funny problem has turned up. Unfortunately, it's one I have seen > > before. The symptom is that the static 64 bit build works fine, the > > shared build corrupts itself inside of pfm_get_event_name at the > > point of strncpy from pfm_current->get_event_name(i). > > > I don't recall seeing this anywhere else.
I saw this once before those memory overwrites were found by Will. > > While trying to debug this, I noticed something I've seen again and > > again. pfm_current is not visible by the debugger. No matter what I > > do, I can't see this variable. furthermore, various variables appear > > to be 'optimized out' even on code that has never seen a -O. > > > > That's because pfm_current is a #define to pfm_config.current Duh! Ok, that explains that one. Phil _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
