Reference

pfm_get_num_pmcs(3) on Linux

The text ab89d9605213, as Debian 4.0 (Etch) shipped it.

return bitmask of implemented PMU registers or number of PMU registers

pfm_get_num_pmcs(3) on Linux now