summaryrefslogtreecommitdiffstats
path: root/lib/libpmc/pmc.3
Commit message (Collapse)AuthorAgeFilesLines
* Add manpage for Haswell Xeon pmc implementationrstone2015-03-101-0/+1
| | | | | | | Differential Revision: https://reviews.freebsd.org/D1584 Reviewed by: gnn MFC After: 1 month Sponsored by: Sandvine Inc
* Update the list of cross references to include the more modern set ofgnn2014-07-281-1/+13
| | | | processors that we now support.
* use .Mt to mark up email addresses consistently (part3)bapt2014-06-231-2/+1
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* mdoc: minor Bl improvements.joel2012-06-021-9/+13
|
* Add software PMC support.fabient2012-03-281-0/+3
| | | | | | | | | | | | | 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
* Remove superfluous paragraph macro.joel2012-03-251-1/+0
|
* Switch the license boilerplates to our standard one.brueffer2012-02-171-11/+11
| | | | | | | | | | | Advantages: - Reduces the number of different license versions in the tree - Eliminates a typo - Removes some incorrect author attributions due to c/p - Removes c/p error potential for future pmc manpages Approved by: jkoshy, gnn, rpaulo, fabient (copyright holders) MFC after: 1 week
* Add a flush of the current PMC log buffer before displaying the next top.fabient2011-10-181-0/+4
| | | | | | | | As the underlying block is 4KB if the PMC throughput is low the measurement will be reported on the next tick. pmcstat(8) use the modified flush API to reclaim current buffer before displaying next top. MFC after: 1 month
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-161-1/+1
| | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-141-1/+1
| | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
* Use a more appropriate choice of words.jkoshy2009-08-231-1/+1
| | | | Submitted by: danfe
* Correct grammar.jkoshy2009-08-231-2/+2
|
* Fix a typo.jkoshy2009-08-231-1/+1
| | | | Reported by: John McCullough <jmccullo at cs.ucsd.edu>
* Fix typos.jkoshy2009-08-231-1/+1
| | | | Reported by: Harald Servat <redcrash at gmail dot com>
* - Document the rules used to determine when spellings of eventsjkoshy2008-11-241-16/+24
| | | | | are equivalent. - Reorder text to make the manual page more coherent.
* - Cross-reference new manual pages.jkoshy2008-10-041-8/+14
| | | | - Spell new PMC class names correctly.
* Document changes in behaviour due to sparse CPU numbering support.jkoshy2008-09-221-2/+9
|
* Keep symbols in sorted order.jkoshy2008-09-191-4/+4
|
* Improve grammar.jkoshy2008-09-181-2/+2
|
* Document new PMC classes, capabilities and CPU kinds.jkoshy2008-09-181-28/+63
| | | | Improve typography.
* Replace PMC-dependent content with references tojkoshy2008-09-161-3100/+25
| | | | the appropriate manual pages.
* - Document Pentium and Pentium MMX events.jkoshy2008-03-141-2/+338
| | | | - Update (c) years and the manual page's date.
* Correct a typo.jkoshy2008-02-031-1/+1
|
* Replace a spurious cross-reference to hwpmc(4) with correct text.jkoshy2007-12-031-4/+2
|
* - Add an overview of the pmc(3) API.jkoshy2007-11-251-532/+331
| | | | | - Defer detailed descriptions of individual functions in the API to function-specific manual pages.
* Fix a bug in the description of the "p6-div" event. [1]jkoshy2007-04-121-2/+4
| | | | | | | | Update the description of the "p6-div" and "p6-mul" events according to the "Intel(r) 64 and IA-32 Architectures Software Developers Manual Volume 3B: System Programming Guide, Part 2, November 2006". Reported by: Harald Servat <redcrash at gmail dot com> [1]
* Clarify memory management rules for pmc_cpuinfo().jkoshy2007-03-261-1/+4
| | | | Suggested by: "Harald Servat" <redcrash at gmail dot com>
* Update the pmc(3) manual page's date string and freshen the year in the (c) ↵jkoshy2006-03-201-2/+2
| | | | | | line for pmc.3 and libpmc.c.
* Add an alias 'unhalted-cycles' denoting cycles where the CPU isjkoshy2006-02-251-0/+3
| | | | not in a halt or sleep state.
* Fix prototypes.ru2005-11-241-5/+5
|
* -mdoc sweep.ru2005-11-171-10/+10
|
* Add COMPATIBILITY and HISTORY sections.jkoshy2005-07-211-0/+22
| | | | MFC after: 3 days
* - Remove MLINKS to nonexistant manpagesbrueffer2005-07-141-1/+0
| | | | | | | - Change some section numbers to match reality - For MLINKS to manpages from ports, mention which port installs them MFC after: 3 days
* - Tidy up the markup.ru2005-06-241-190/+402
| | | | | | | | | | - Clarify the sections on "Cascading P4 PMCs" and "Precise Event Based Sampling" (1) - Bump document date. Reviewed by: jkoshy Submitted by: jkoshy (1) Approved by: re (blanket)
* MFP4:jkoshy2005-06-091-28/+76
| | | | | | | | | | | | | | | | - 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/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Note events affected by processor errata.jkoshy2005-04-231-0/+25
|
* Bring a working snapshot of hwpmc(4), its associated libraries, userland ↵jkoshy2005-04-191-0/+3090
utilities and documentation into -CURRENT. Bump FreeBSD_version. Reviewed by: alc, jhb (kernel changes)
OpenPOWER on IntegriCloud