summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmccontrol
Commit message (Collapse)AuthorAgeFilesLines
* Ignore absent CPUs when listing the current state of PMC hardware.jkoshy2008-11-161-1/+4
|
* - Document the changed meaning of a '*' argument to option "-c".jkoshy2008-11-091-7/+7
| | | | - Tweak grammar.
* Change the meaning of a "*" argument to option -c to mean 'alljkoshy2008-11-091-7/+21
| | | | | unhalted CPUs', instead of 'all CPUs'. This change brings pmccontrol(8) in line with pmcstat(8).
* Fix pmccontrol(8) on Intel Xeon's running in 64 bit mode.jkoshy2006-02-271-1/+1
| | | | PR: kern/93773
* The 'intr_bufferfull' driver statistic actually counts the numberjkoshy2005-09-291-1/+1
| | | | | | | of times sampling was stopped due to a space shortage; change its description in the output of `pmcstat -s` to match reality. MFC after: 3 days
* Tidy up the markup, fixed the HISTORY section (1).ru2005-06-241-28/+23
| | | | | | Reviewed by: jkoshy Submitted by: jkoshy (1) Approved by: re (blanket)
* Sync the usage message with the code.jkoshy2005-06-241-0/+1
| | | | | Approved by: re (hwpmc blanket) Pointed out by: ru
* MFP4:jkoshy2005-06-091-10/+13
| | | | | | | | | | | | | | | | - 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.
* Add convenience APIs pmc_width() and pmc_capabilities() to -lpmc.jkoshy2005-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have pmcstat(8) and pmccontrol(8) use these APIs. Return PMC class-related constants (PMC widths and capabilities) with the OP GETCPUINFO call leaving OP PMCINFO to return only the dynamic information associated with a PMC (i.e., whether enabled, owner pid, reload count etc.). Allow pmc_read() (i.e., OPS PMCRW) on active self-attached PMCs to get upto-date values from hardware since we can guarantee that the hardware is running the correct PMC at the time of the call. Bug fixes: - (x86 class processors) Fix a bug that prevented an RDPMC instruction from being recognized as permitted till after the attached process had context switched out and back in again after a pmc_start() call. Tighten the rules for using RDPMC class instructions: a GETMSR OP is now allowed only after an OP ATTACH has been done by the PMC's owner to itself. OP GETMSR is not allowed for PMCs that track descendants, for PMCs attached to processes other than their owner processes. - (P4/HTT processors only) Fix a bug that caused the MI and MD layers to get out of sync. Add a new MD operation 'get_config()' as part of this fix. - Allow multiple system-mode PMCs at the same row-index but on different CPUs to be allocated. - Reject allocation of an administratively disabled PMC. Misc. code cleanups and refactoring. Improve a few comments.
* Remove superfluous CFLAGS lines. Use the conditional '?=' constructjkoshy2005-04-191-3/+1
| | | | | | for WARNS lines. Submitted by: ru
* Bring a working snapshot of hwpmc(4), its associated libraries, userland ↵jkoshy2005-04-193-0/+625
utilities and documentation into -CURRENT. Bump FreeBSD_version. Reviewed by: alc, jhb (kernel changes)
OpenPOWER on IntegriCloud