freebsd-nq/lib/libpmc
Adrian Chadd f6e6460dfc Add support for the MIPS74K SoC family performance counters events.
These are similar to the mips24k performance counters - some are
available on perfcnt0/3, some are available on perfcnt1/4.
However, the events aren't all the same.

* Add the events, named the same as from Linux oprofile.
* Verify they're the same as  "MIPS32(R) 74KTM Processor Core Family
  Software User's Manual"; Document Number: MD00519; Revision 01.05.
* Rename INSTRUCTIONS to something else, so it doesn't clash with
  the alias INSTRUCTIONS.  I'll try to tidy this up later; there
  are a few other aliases to add and shuffle around.

Tested:

* QCA9558 SoC (AP135 board) - MIPS74Kc core (no FPU.)
* make universe; where it didn't fail for other reasons.

TODO:

* It'd be nice to support the four performance counters
  in at least this hardware, rather than just two.

Reviewed by:	bsdimp ("looks good; don't break world".)
2015-04-05 02:57:02 +00:00
..
libpmc.c Add support for the MIPS74K SoC family performance counters events. 2015-04-05 02:57:02 +00:00
libpmcinternal.h
Makefile
pmc_allocate.3
pmc_attach.3
pmc_capabilities.3 mdoc: sort SEE ALSO. 2015-01-04 12:38:00 +00:00
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 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.haswell.3 Fix Ivy Bridge+ MEM_UOPS_RETIRED counters 2015-03-10 01:24:08 +00:00
pmc.haswelluc.3
pmc.haswellxeon.3 Fix Ivy Bridge+ MEM_UOPS_RETIRED counters 2015-03-10 01:24:08 +00:00
pmc.iaf.3
pmc.ivybridge.3 Fix Ivy Bridge+ MEM_UOPS_RETIRED counters 2015-03-10 01:24:08 +00:00
pmc.ivybridgexeon.3 Fix Ivy Bridge+ MEM_UOPS_RETIRED counters 2015-03-10 01:24:08 +00:00
pmc.k7.3
pmc.k8.3 mdoc: remove superfluous paragraph macros. 2014-06-23 18:40:21 +00:00
pmc.mips24k.3
pmc.octeon.3
pmc.p4.3 mdoc: remove superfluous paragraph macros. 2014-06-23 18:40:21 +00:00
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 mdoc: sort SEE ALSO. 2015-01-04 12:38:00 +00:00
pmc.tsc.3
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
pmclog.c
pmclog.h