To: perfctr-devel@lists.sourceforge.net Subject: perfctr-2.3.10 released perfctr-2.3.10 is now available at the usual place: http://www.csd.uu.se/~mikpe/linux/perfctr/ Version 2.3.10, 2002-07-19 - Added a script, `update-kernel', to simplify the process of patching the kernel source code. See INSTALL for details. - The counter and control registers are now cleared when the driver is idle. This should allow the counter hardware to power down when not used, especially on P4. - Some Pentium MMX and Pentium Pro processors have an erratum which causes System Management Mode to shut down if user-space has been granted access to the RDPMC instruction. The driver now avoids granting RDPMC access on the affected processors. The user-space library makes this change transparent. - New CPU type code for Model 2 Pentium 4s, due to a few but significant changes between Model 0 and 1 and Model 2 CPUs. - The driver now supports Replay Tagging on the Pentium 4. The perfex program has been updated to allow users to specify values to store in PEBS_ENABLE and PEBS_MATRIX_VERT. For example, the following command could be use to count the number of L1 cache read misses on a Pentium 4: perfex -e 0x0003B000/0x12000204@0x8000000C --p4pe=0x01000001 --p4pmv=0x1 some_program Explanation: IQ_CCCR0 is bound to CRU_ESCR2, CRU_ESCR2 is set up for replay_event with non-bogus uops and CPL>0, and PEBS_ENABLE and PEBS_MATRIX_VERT are set up for the 1stL_cache_load_miss_retired metric. Note that bit 25 is NOT set in PEBS_ENABLE. / Mikael Pettersson