From: Rick K. <rk...@nc...> - 2005-01-18 01:03:08
|
Vangal, I'll copy the mailing list on this one because I think it's a good question and a little hard to try to figure out based on the error message you got, which is not especially descriptive. I believe what is going on here is that you are trying to profile using a derived PAPI event. On Itanium 2, PAPI defines PAPI_TLB_TL as the sum of the two native events ITLB_MISSES_FETCH_L2ITLB and L2DTLB_MISSES. Although recent releases of PAPI (I think) support profiling based on derived events, this is not possible when profiling through PerfSuite, and that's why you're getting that error. There is nothing wrong in principle with the XML configuration you're using, though (just the event). To double check on this, you might try profiling on either PAPI_TLB_DM or PAPI_TLB_IM and see if you get past the error. Those two are not derived events (they're just one of the events above). Rick On Mon, 17 Jan 2005, Venkatesh, Vangal wrote: > Rick, > Do you know if I can do a profile of TLB misses and correspond to > source? I modified the papi_profile_cycles.xml files for TLB misses: > > I tried > <?xml version="1.0" encoding="UTF-8" ?> > <ps_hwpc_profile class="PAPI"> > <!-- ========================================================== > This is a configuration file that can be used to ask for > profiling, based on total cycles with a period of 100,000. > You will probably want to adjust the period based on your > event selection and also on your processor. There are no > particular recommended values. > > $Id: papi_profile_cycles.xml,v 1.1 2004/01/12 01:01:43 rkufrin > Exp $ > ========================================================== --> > <ps_hwpc_event type="preset" name="PAPI_TLB_TL" threshold="100000"/> > </ps_hwpc_profile> > > And got > psrun fatal error: error reported by PAPI > > Vangal > |