summaryrefslogtreecommitdiffstats
path: root/sys/dev/hwpmc/hwpmc_mips.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC 282641,282658:jhb2015-06-011-6/+6
| | | | | | | | - Move hwpmc(4) debugging code under a new HWPMC_DEBUG option instead of the broader DEBUG option. - Convert hwpmc(4) debug printfs over to KTR. Sponsored by: Norse Corp, Inc.
* Fix class malloc init for mips and powerpc that was not convertedfabient2012-04-231-3/+1
| | | | | | | by r233628. Found by: monthadar, adrian MFC after: 1 week
* Add software PMC support.fabient2012-03-281-1/+1
| | | | | | | | | | | | | New kernel events can be added at various location for sampling or counting. This will for example allow easy system profiling whatever the processor is with known tools like pmcstat(8). Simultaneous usage of software PMC and hardware PMC is possible, for example looking at the lock acquire failure, page fault while sampling on instructions. Sponsored by: NETASQ MFC after: 1 month
* Rework MIPS PMC code:gonzo2012-03-221-11/+438
| | | | | | | | - Replace MIPS24K-specific code with more generic framework that will make adding new CPU support easier - Add MIPS24K support for new framework - Limit backtrace depth to 1 for stability reasons and add option HWPMC_MIPS_BACKTRACE to override this limitation
* - Remove unncessary type castsgonzo2012-03-141-6/+15
| | | | | | - Make kernel backtrace routine more robust by refusing to backtrace further when encountered function that is possibly modifies SP value
* Implement pmc_save_user_callchain and pmc_save_kernel_callchain for MIPSgonzo2012-03-121-10/+308
|
* Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor.gnn2010-03-031-0/+75
Add macros for properly accessing coprocessor 0 registers that support performance counters. Reviewed by: jkoshy rpaulo fabien imp MFC after: 1 month
OpenPOWER on IntegriCloud