The PentiumIV architecture's performance counters support many different events, only few of which we support (Table 2). Adding support for other counters is not difficult, but rather time consuming. As such, we have decided to take the lazy road -- each programmer is welcome to add support for the events she needs.
Adding support is very simple. It only involves copying bit configuration from the long list of events listed in Appendix A of [5] (available online at http://developer.intel.com/design/Pentium4/documentation.htm) into the Perl hash named %EVENTS found in KERNEL_ROOT/scripts/klogger/PentiumIV.pm (the module implementing the hardware counters for the PentiumIV architecture). The copying is straight forward as each entry in the hash uses similar naming as that in the architecture's manual, with only two new fields: the event name, and its description. Please send us any new hash entries you add so it can be added to the main distribution.