freebsd-nq/sys/dev/hwpmc
Adrian Chadd 81c4f79f18 Update the mis-predicted branch PMC names (for sandy bridge) to not clash.
The SDM (June 2013) tables on these are rather confusing.  Yes, they
assign the same name (BR_MISP_RETIRED.ALL_BRANCHES) to two codes
(C5H/00H and C5H/04H.) The latter however is the PEBS version.

So, to make it easier to see the difference - and yes, we can use
both without having to actually enable the PEBS specific bits! -
just rename the PEBS one to _PS so there's no clashing.

Tested:

* Sandy bridge
2013-08-25 12:58:34 +00:00
..
hwpmc_amd.c
hwpmc_amd.h
hwpmc_arm.c
hwpmc_core.c Fix a >80 character long line, introduced in my previous commit. 2013-08-25 12:02:20 +00:00
hwpmc_core.h
hwpmc_ia64.c
hwpmc_intel.c
hwpmc_logging.c
hwpmc_mips24k.c
hwpmc_mips.c
hwpmc_mod.c Rename the kld_unload event handler to kld_unload_try, and add a new 2013-08-24 21:13:38 +00:00
hwpmc_octeon.c
hwpmc_pentium.c
hwpmc_pentium.h
hwpmc_piv.c
hwpmc_piv.h
hwpmc_powerpc.c
hwpmc_ppro.c
hwpmc_ppro.h
hwpmc_soft.c
hwpmc_soft.h
hwpmc_sparc64.c
hwpmc_tsc.c
hwpmc_tsc.h
hwpmc_uncore.c
hwpmc_uncore.h
hwpmc_x86.c
hwpmc_xscale.c
hwpmc_xscale.h
pmc_events.h Update the mis-predicted branch PMC names (for sandy bridge) to not clash. 2013-08-25 12:58:34 +00:00