freebsd-dev/sys/dev/hwpmc
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
..
hwpmc_amd.c
hwpmc_amd.h
hwpmc_arm.c Rather than defining our own magic checks here use INKERNEL() for 2015-03-27 08:47:16 +00:00
hwpmc_armv7.c Remove all the handcrafted assembly in hwpmc_armv7.c and use the 2015-03-28 18:57:13 +00:00
hwpmc_armv7.h Add ARMv7 performance monitoring counters. 2015-01-28 16:08:07 +00:00
hwpmc_core.c hwpmc: Fix event number to match enum name 2015-03-12 23:44:28 +00:00
hwpmc_core.h Remove some prototypes for undefined functions. 2014-05-15 21:19:13 +00:00
hwpmc_intel.c Update the hwpmc driver to have the new type HASWELL_XEON. Also 2015-01-14 12:46:58 +00:00
hwpmc_logging.c You need to have the capabilities and not skip it if you are 2015-03-11 20:15:49 +00:00
hwpmc_mips24k.c
hwpmc_mips74k.c Add support for the MIPS74K SoC family performance counters events. 2015-04-05 02:57:02 +00:00
hwpmc_mips.c
hwpmc_mod.c Update the hwpmc driver to have the new type HASWELL_XEON. Also 2015-01-14 12:46:58 +00:00
hwpmc_mpc7xxx.c Fix hwpmc sampling for MPC74xxx (G4) processors. 2014-11-27 06:42:34 +00:00
hwpmc_octeon.c
hwpmc_pentium.c
hwpmc_pentium.h
hwpmc_piv.c Update the hwpmc driver to have the new type HASWELL_XEON. Also 2015-01-14 12:46:58 +00:00
hwpmc_piv.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
hwpmc_powerpc.c Fix PowerPC backtraces. Since kernel and user have completely separate address 2014-09-14 22:03:41 +00:00
hwpmc_powerpc.h Add hwpmc(4) support for the PowerPC 970 class processors, direct events. 2014-02-01 02:03:50 +00:00
hwpmc_ppc970.c Fix hwpmc sampling for ppc970 (G5-class) processors. 2014-11-27 18:41:14 +00:00
hwpmc_ppro.c Move <machine/apicvar.h> to <x86/apicvar.h>. 2014-01-23 20:10:22 +00:00
hwpmc_ppro.h
hwpmc_soft.c malloc(9) cannot return NULL if M_WAITOK flag is specified. 2013-04-30 15:59:22 +00:00
hwpmc_soft.h
hwpmc_sparc64.c
hwpmc_tsc.c
hwpmc_tsc.h
hwpmc_uncore.c Update the hwpmc driver to have the new type HASWELL_XEON. Also 2015-01-14 12:46:58 +00:00
hwpmc_uncore.h Remove some prototypes for undefined functions. 2014-05-15 21:19:13 +00:00
hwpmc_x86.c Update the hwpmc driver to have the new type HASWELL_XEON. Also 2015-01-14 12:46:58 +00:00
hwpmc_xscale.c
hwpmc_xscale.h
pmc_events.h Add support for the MIPS74K SoC family performance counters events. 2015-04-05 02:57:02 +00:00