Re: [perfmon2] installing perfmon2 on Ubuntu 8.04 - Hardy
Status: Beta
Brought to you by:
seranian
From: Andrej v. d. Z. <and...@gm...> - 2008-08-25 14:25:51
|
I applied the patch to 1.35 and it worked. Didn't try CVS yet, but will do that soon. Thank you all! Andrej On Mon, Aug 25, 2008 at 11:06 PM, stephane eranian <er...@go...>wrote: > Andrej, > > Will's patch has been applied after 3.5. You might want to try pulling > from CVS instead of using the 3.5 release. > > > On Mon, Aug 25, 2008 at 3:42 PM, William Cohen <wc...@re...> wrote: > > stephane eranian wrote: > >> > >> Hi, > >>> > >>> event name: L2_LD > >>> event name: L2_LINES_IN > >>> event name: L2_LINES_OUT > >>> event name: L2_M_LINES_OUTM > >>> event name: (null) > >>> Segmentation fault (core dumped) > >> > >> I think there is something wrong with the event names (strings). > >> There is no L2_M_LINES_OUTM event, there is: > >> > >> { .pme_name = "L2_M_LINES_OUT", > >> .pme_code = 0x27, > >> .pme_flags = PFMLIB_CORE_CSPEC, > >> .pme_desc = "Modified lines evicted from the L2 cache", > >> .pme_umasks = { > >> INTEL_CORE_SPECIFICITY_UMASKS, > >> INTEL_CORE_HW_PREFETCH_UMASKS > >> }, > >> .pme_numasks = 4 > >> }, > >> > >> So it looks like something gets overwritten. Not clear what. I don't > >> have the problem myself, so it must be compiler version dependent. > > > > That failure mode sounds similar to what I encounted a week or so ago > > running things on a pentium M. Might try the attached patch and see if > that > > resolves the problem. > > > > -Will > > > -- Andrej van der Zee 2-40-19 Koenji-minami Suginami-ku, Tokyo 166-0003 JAPAN Mobile: 0031-(0)80-65251092 Phone/Fax: 0031-(0)3-3318-3155 |