summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_pmc.c
Commit message (Collapse)AuthorAgeFilesLines
* Support sparsely numbered CPUs.jkoshy2008-09-221-7/+84
| | | | Requested by: obrien, alfred (long ago)
* Kernel and hwpmc(4) support for callchain capture.jkoshy2007-12-071-3/+15
| | | | Sponsored by: FreeBSD Foundation and Google Inc.
* Fix -Wundef.ru2005-12-041-1/+1
|
* Fail the module loading process if the currently executing kerneljkoshy2005-07-301-7/+14
| | | | | | | | was not compiled with 'options HWPMC_HOOKS' or if the compiled-in version numbers of the kernel and module are out of sync. Reported by: cracauer MFC after: 3 days
* MFP4:jkoshy2005-06-091-1/+8
| | | | | | | | | | | | | | | | - Implement sampling modes and logging support in hwpmc(4). - Separate MI and MD parts of hwpmc(4) and allow sharing of PMC implementations across different architectures. Add support for P4 (EMT64) style PMCs to the amd64 code. - New pmcstat(8) options: -E (exit time counts) -W (counts every context switch), -R (print log file). - pmc(3) API changes, improve our ability to keep ABI compatibility in the future. Add more 'alias' names for commonly used events. - bug fixes & documentation.
* Kernel hooks to support PMC sampling modes.jkoshy2005-05-301-2/+4
| | | | Reviewed by: alc
* Do not conditionally compile the contents of this file upon whethermarcel2005-04-201-5/+0
| | | | | | | | | | | | HWPMC_HOOKS is defined. The pmc_cpu_is_*() functions in this file are referenced unconditionally by hwpmc(4). This is mostly a stop-gap. The pmc_cpu_is*() function should probably be declared inline in <sys/pmc.h> or <sys/pmckern.h> and the function pointers with corresponding SX lock should probably be moved to another file and compiled conditionally upon HWPMC_HOOKS. Ok'd by: jkoshy@
* Bring a working snapshot of hwpmc(4), its associated libraries, userland ↵jkoshy2005-04-191-0/+82
utilities and documentation into -CURRENT. Bump FreeBSD_version. Reviewed by: alc, jhb (kernel changes)
OpenPOWER on IntegriCloud