Updated mechanism for getting perftr info in the init_substrate stuff. Allows compatibility with perfctr 2.6.15 without breaking backward compatibility. Tested against opteron, PIII, P4.
Updated mechanism for getting perftr info in the init_substrate stuff.
Allows compatibility with perfctr 2.6.15 without breaking backward compatibility.
Tested against opteron, PIII, P4.

pyrovski/papi,pyrovski/papi,pyrovski/papi,arm-hpc/papi,pyrovski/papi,arm-hpc/papi,pyrovski/papi,arm-hpc/papi,pyrovski/papi,arm-hpc/papi,pyrovski/papi,arm-hpc/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi