freebsd-nq/sys/dev/hwpmc
Davide Italiano 38179e6e76 The Intel PMC architectural events have encodings which are identical to
those of some non-architectural core events. This is not a problem in the
general case as long as there's an 1:1 mapping between the two, but there
are few exceptions. For example, 3CH_01H on Nehalem/Westmere represents
both unhalted-reference-cycles and CPU_CLK_UNHALTED.REF_P.
CPU_CLK_UNHALTED.REF_P on the aforementioned architectures does not measure
reference (i.e. bus) but TSC, so there's the need to disambiguate.
In order to avoid the namespace collision rename all the architectural
events in a way they cannot be ambigous and refactor the architectural
events handling function to reflect this change.
While here, per Jim Harris request, rename
iap_architectural_event_is_unsupported() to iap_event_is_architectural().

Discussed with:	jimharris
Reviewed by:	jimharris, gnn
2013-04-30 15:31:45 +00:00
..
hwpmc_amd.c hwpmc amd_pcpu_fini: fix a bug in code locked under DEBUG 2012-09-18 13:33:39 +00:00
hwpmc_amd.h
hwpmc_arm.c Remove all the checks on curthread != NULL with the exception of some MD 2012-09-13 22:26:22 +00:00
hwpmc_core.c The Intel PMC architectural events have encodings which are identical to 2013-04-30 15:31:45 +00:00
hwpmc_core.h Add Intel Ivy Bridge support to hwpmc(9). 2012-09-06 13:54:01 +00:00
hwpmc_ia64.c
hwpmc_intel.c Complete r250097: 2013-04-30 14:56:41 +00:00
hwpmc_logging.c Add software PMC support. 2012-03-28 20:58:30 +00:00
hwpmc_mips24k.c Rework MIPS PMC code: 2012-03-22 18:01:23 +00:00
hwpmc_mips.c Fix class malloc init for mips and powerpc that was not converted 2012-04-23 08:58:01 +00:00
hwpmc_mod.c Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
hwpmc_octeon.c Add Octeon PMC hardware backend 2012-03-23 00:09:27 +00:00
hwpmc_pentium.c
hwpmc_pentium.h
hwpmc_piv.c Add software PMC support. 2012-03-28 20:58:30 +00:00
hwpmc_piv.h
hwpmc_powerpc.c Fix class malloc init for mips and powerpc that was not converted 2012-04-23 08:58:01 +00:00
hwpmc_ppro.c Add software PMC support. 2012-03-28 20:58:30 +00:00
hwpmc_ppro.h
hwpmc_soft.c Add a generic way to call per event allocate / release function. 2013-03-05 10:18:48 +00:00
hwpmc_soft.h Add software PMC support. 2012-03-28 20:58:30 +00:00
hwpmc_sparc64.c
hwpmc_tsc.c Add software PMC support. 2012-03-28 20:58:30 +00:00
hwpmc_tsc.h
hwpmc_uncore.c Trailing whitespace cleanup along with 80 column enforcemnt. 2013-04-03 21:34:35 +00:00
hwpmc_uncore.h - Add support for the Intel Sandy Bridge microarchitecture (both core and uncore counting events) 2012-03-01 21:23:26 +00:00
hwpmc_x86.c Remove all the checks on curthread != NULL with the exception of some MD 2012-09-13 22:26:22 +00:00
hwpmc_xscale.c Add software PMC support. 2012-03-28 20:58:30 +00:00
hwpmc_xscale.h
pmc_events.h The Intel PMC architectural events have encodings which are identical to 2013-04-30 15:31:45 +00:00