Generic hardware counter events
By Darryl Gove-Oracle on May 23, 2014
A while back, Solaris introduced support for PAPI - which is probably as close as we can get to a de-facto standard for performance counter naming. For performance counter geeks like me, this is not quite enough information, I actually want to know the names of the raw counters used. Fortunately this is provided in the generic_events man page:
$ man generic_events Reformatting page. Please Wait... done CPU Performance Counters Library Functions generic_events(3CPC) NAME generic_events - generic performance counter events DESCRIPTION The Solaris cpc(3CPC) subsystem implements a number of predefined, generic performance counter events. Each generic ... Intel Pentium Pro/II/III Processor Generic Event Platform Event Event Mask _____________________________________________________________ PAPI_ca_shr l2_ifetch 0xf PAPI_ca_cln bus_tran_rfo 0x0 PAPI_ca_itv bus_tran_inval 0x0 PAPI_tlb_im itlb_miss 0x0 PAPI_btac_m btb_misses 0x0 PAPI_hw_int hw_int_rx 0x0 ...