1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00
freebsd/lib/libpmc
Ryan Stone 9e60f3acd2 Fix Sandy Bridge+ hwpmc branch counters
On Sandy Bridge and later, to count branch-related events you
have to or together a mask indicating the type of branch
instruction to count (e.g. direct jump, branch, etc) and a bits
indicating whether to count taken and not-taken branches.  The
current counter definitions where defining this bits individually,
so the counters never worked and always just counted 0.

Fix the counter definitions to instead contain the proper
combination of masks.  Also update the man pages to reflect the
new counters.

Differential Revision:	https://reviews.freebsd.org/D1587
MFC after:	1 month
Sponsored by:	Sandvine Inc.
2015-03-10 01:23:47 +00:00
..
libpmc.c Add ARMv7 performance monitoring counters. 2015-01-28 16:08:07 +00:00
libpmcinternal.h
Makefile
pmc_allocate.3
pmc_attach.3
pmc_capabilities.3
pmc_configure_logfile.3
pmc_disable.3
pmc_event_names_of_class.3
pmc_get_driver_stats.3
pmc_get_msr.3
pmc_init.3
pmc_name_of_capability.3
pmc_read.3
pmc_set.3
pmc_start.3
pmc.3 Add manpage for Haswell Xeon pmc implementation 2015-03-10 01:22:43 +00:00
pmc.atom.3
pmc.atomsilvermont.3
pmc.core2.3
pmc.core.3
pmc.corei7.3
pmc.corei7uc.3
pmc.h
pmc.haswell.3 Fix Sandy Bridge+ hwpmc branch counters 2015-03-10 01:23:47 +00:00
pmc.haswelluc.3
pmc.haswellxeon.3 Fix Sandy Bridge+ hwpmc branch counters 2015-03-10 01:23:47 +00:00
pmc.iaf.3
pmc.ivybridge.3 Fix Sandy Bridge+ hwpmc branch counters 2015-03-10 01:23:47 +00:00
pmc.ivybridgexeon.3 Fix Sandy Bridge+ hwpmc branch counters 2015-03-10 01:23:47 +00:00
pmc.k7.3
pmc.k8.3
pmc.mips24k.3
pmc.octeon.3
pmc.p4.3
pmc.p5.3
pmc.p6.3
pmc.sandybridge.3 Fix Sandy Bridge+ hwpmc branch counters 2015-03-10 01:23:47 +00:00
pmc.sandybridgeuc.3
pmc.sandybridgexeon.3 Fix Sandy Bridge+ hwpmc branch counters 2015-03-10 01:23:47 +00:00
pmc.soft.3
pmc.tsc.3
pmc.ucf.3
pmc.westmere.3
pmc.westmereuc.3
pmc.xscale.3
pmclog.3
pmclog.c
pmclog.h