freebsd-dev/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 - Add support for PMCs in Intel CPUs of Family 6, model 0xE (Core Solo 2008-11-27 09:00:47 +00:00
Makefile Update hwpmc to support core events for Atom Silvermont microarchitecture. 2014-03-20 20:51:08 +00:00
pmc_allocate.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc_attach.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc_capabilities.3 mdoc: sort SEE ALSO. 2015-01-04 12:38:00 +00:00
pmc_configure_logfile.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc_disable.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc_event_names_of_class.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc_get_driver_stats.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc_get_msr.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc_init.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc_name_of_capability.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc_read.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc_set.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc_start.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmc.3 Add manpage for Haswell Xeon pmc implementation 2015-03-10 01:22:43 +00:00
pmc.atom.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.atomsilvermont.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.core2.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.core.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.corei7.3 mdoc: sort SEE ALSO. 2015-01-04 12:38:00 +00:00
pmc.corei7uc.3 mdoc: sort SEE ALSO. 2015-01-04 12:38:00 +00:00
pmc.h pmc(3) does not document a dependency on <sys/types.h> but <pmc.h> 2013-11-25 18:31:13 +00:00
pmc.haswell.3 Fix Sandy Bridge+ hwpmc branch counters 2015-03-10 01:23:47 +00:00
pmc.haswelluc.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.haswellxeon.3 Fix Sandy Bridge+ hwpmc branch counters 2015-03-10 01:23:47 +00:00
pmc.iaf.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
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 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.k8.3 mdoc: remove superfluous paragraph macros. 2014-06-23 18:40:21 +00:00
pmc.mips24k.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.octeon.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.p4.3 mdoc: remove superfluous paragraph macros. 2014-06-23 18:40:21 +00:00
pmc.p5.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.p6.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.sandybridge.3 Fix Sandy Bridge+ hwpmc branch counters 2015-03-10 01:23:47 +00:00
pmc.sandybridgeuc.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.sandybridgexeon.3 Fix Sandy Bridge+ hwpmc branch counters 2015-03-10 01:23:47 +00:00
pmc.soft.3 mdoc: sort SEE ALSO. 2015-01-04 12:38:00 +00:00
pmc.tsc.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
pmc.ucf.3 mdoc: sort SEE ALSO. 2015-01-04 12:38:00 +00:00
pmc.westmere.3 mdoc: sort SEE ALSO. 2015-01-04 12:38:00 +00:00
pmc.westmereuc.3 mdoc: sort SEE ALSO. 2015-01-04 12:38:00 +00:00
pmc.xscale.3 mdoc: sort SEE ALSO. 2015-01-04 12:38:00 +00:00
pmclog.3 Switch the license boilerplates to our standard one. 2012-02-17 11:09:51 +00:00
pmclog.c Add software PMC support. 2012-03-28 20:58:30 +00:00
pmclog.h Add software PMC support. 2012-03-28 20:58:30 +00:00