Hi, On Mon, Nov 8, 2010 at 4:14 PM, <bes...@cs.uh.edu> wrote: > Hello, > > I am wondering if there is another event in Itanium 2 processor that can > return information about instruction pointer that trigger the event, other > than EAR. > Instruction pointer can be returned as soon as you use the sampling mode.
> Can INST_RETIRED event return the instruction pointer ? I recently read a > paper that used it to get the IP, but in perfmon doc, the following > script: > > pfmon -e cpu_cycles,IA64_inst_Retired ls /dev/null > That's counting. To sample: pfmon -e cpu_cycles,IA64_inst_Retired --long-smpl-period=2000000,2000000 ls /dev/null This samples on both events and print a histogram. Beware: the instruction pointer does not always point to the instruction which caused the counter to overflow, i.e., trigger the sample. There is always a skid which can be several instructions long. The skid does not exist with EAR. ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel