To: perfctr-devel@lists.sourceforge.net Subject: perfctr-2.3.8 released perfctr-2.3.8 is now available at the usual place: http://www.csd.uu.se/~mikpe/linux/perfctr/ Note that there are some data structure layout changes in this release which makes it binary incompatible with perfctr-2.3.7. I had hoped that this would be the only ABI and API change before perfctr-2.4.0, but recent changes in the 2.5 Linux kernel related to the way CPUs are numbered in SMP systems may force another change soon. That change would affect the "nrcpus" field and the API to the SMP-aware global-mode perfctrs. Also note that per-process perfctrs still don't work safely on hyperthreaded P4 Xeons. If you are desperate, you can work around this by hacking in a processor affinity mask which limits the process you want to monitor to each CPU's "logical processor 0". (But don't ask me how to do that.) Version 2.3.8, 2002-06-26 - Added counter overflow interrupt support for Intel P4. - New kernel support: standard kernels 2.2.21 and 2.4.19-rc1, and RedHat kernels 2.2.19-7.0.16, 2.4.9-34, and 2.4.18-5. - API changes: Removed unused and obsolete fields from the vperfctr state and control objects. Added fields to perfctr_cpu_control to enable future support for P4 replay tagging events. Incremented the vperfctr mmap() binary layout magic number. - Changed the "make" rule in INSTALL to build "vmlinux" before "modules". This change is needed for RedHat kernels. - Added build of a shared (.so) version of the user-space library. - When changing a process' vperfctr control data, the TSC sum is now preserved if the next control state includes the TSC. It used to be preserved only if both the previous and next states included the TSC. The difference matters when a running TSC is stopped and then restarted by a STOP;CONTROL command sequence. - Driver cleanups. Merged P6 and K7 driver procedures. / Mikael Pettersson