diff options
author | adrian <adrian@FreeBSD.org> | 2015-04-05 02:57:02 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-04-05 02:57:02 +0000 |
commit | bc81ea301e2e39ee714b97087200dda9cec8f661 (patch) | |
tree | a5a46d151e026f5b1410ee7a9c0896f1bed72265 /sys/conf | |
parent | 0a710223cee56a5033851e0e97f657f980d6e664 (diff) | |
download | FreeBSD-src-bc81ea301e2e39ee714b97087200dda9cec8f661.zip FreeBSD-src-bc81ea301e2e39ee714b97087200dda9cec8f661.tar.gz |
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".)
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files.mips | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.mips b/sys/conf/files.mips index 3677de4..4bc6775a1 100644 --- a/sys/conf/files.mips +++ b/sys/conf/files.mips @@ -89,3 +89,4 @@ dev/nvram2env/nvram2env.c optional nvram2env # hwpmc support dev/hwpmc/hwpmc_mips.c optional hwpmc dev/hwpmc/hwpmc_mips24k.c optional hwpmc_mips24k +dev/hwpmc/hwpmc_mips74k.c optional hwpmc_mips74k |