summaryrefslogtreecommitdiffstats
path: root/sys/dev/hwpmc/pmc_events.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix two aliases that had the same name but were pointing to differentgnn2010-10-041-2/+2
| | | | | | events. These are now disamiguated. MFC after: 1 week
* - Fix a typo OFFCORE_REQUESTS.ANY.RFO is B0H10H and not 80H10H.fabient2010-04-151-1/+1
| | | | | | - Enable missing PARTIAL_ADDRESS_ALIAS for Core i7. MFC after: 3 days
* - Support for uncore counting events: one fixed PMC with the uncorefabient2010-04-021-565/+1536
| | | | | | | | | | | | domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600, Corei7 980X) support. - New man pages with events list for core and uncore. - Updated Corei7 events with Intel 253669-033US December 2009 doc. There is some removed events in the documentation, they have been kept in the code but documented in the man page as obsolete. - Offcore response events can be setup with rsp token. Sponsored by: NETASQ
* Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor.gnn2010-03-031-2/+105
| | | | | | | | Add macros for properly accessing coprocessor 0 registers that support performance counters. Reviewed by: jkoshy rpaulo fabien imp MFC after: 1 month
* Intel XScale hwpmc(4) support.rpaulo2009-12-231-18/+41
| | | | | | | | | | | This brings hwpmc(4) support for 2nd and 3rd generation XScale cores. Right now it's enabled by default to make sure we test this a bit. When the time comes it can be disabled by default. Tested on Gateworks boards. A man page is coming. Obtained from: //depot/user/rpaulo/xscalepmc/...
* Reserve events for XScale.rpaulo2009-09-221-2/+29
| | | | | Reviewed by: jkoshy, gnn MFC after: 1 week
* Add counters for the i7 architecture which were accidentally leftgnn2009-09-011-3/+59
| | | | | | | | | | out of the original commit of i7 support. These are all the counters on pages A-32 and A-33 of the _Intel(R) 64 and IA32 Architectures Software Developer's Manual Vol 3B_, June 2009. Almost all of these counters relate to operations on the L2 cache. Reviewed by: jkoshy MFC after: 1 month
* - Add support for nehalem/corei7 cpus. This supports all of the corejeff2009-01-271-2/+540
| | | | | | | | counters defined in the reference manual. It does not support the 'uncore' events. Reviewed by: jkoshy Sponsored by: Nokia
* Add aliases that map architectural event names to fixed function counters.jkoshy2008-12-031-0/+5
|
* - Add support for PMCs in Intel CPUs of Family 6, model 0xE (Core Solojkoshy2008-11-271-6/+964
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and Core Duo), models 0xF (Core2), model 0x17 (Core2Extreme) and model 0x1C (Atom). In these CPUs, the actual numbers, kinds and widths of PMCs present need to queried at run time. Support for specific "architectural" events also needs to be queried at run time. Model 0xE CPUs support programmable PMCs, subsequent CPUs additionally support "fixed-function" counters. - Use event names that are close to vendor documentation, taking in account that: - events with identical semantics on two or more CPUs in this family can have differing names in vendor documentation, - identical vendor event names may map to differing events across CPUs, - each type of CPU supports a different subset of measurable events. Fixed-function and programmable counters both use the same vendor names for events. The use of a class name prefix ("iaf-" or "iap-" respectively) permits these to be distinguished. - In libpmc, refactor pmc_name_of_event() into a public interface and an internal helper function, for use by log handling code. - Minor code tweaks: staticize a global, freshen a few comments. Tested by: gnn
* - Sparsely number enumerations 'pmc_cputype' and 'pmc_event' in order tojkoshy2008-10-091-443/+373
| | | | | | | | | | | reduce ABI disruptions when new cpu types and new PMC events are added in the future. - Support alternate spellings for PMC events. Derive the canonical spelling of an event name from its enumeration name in 'enum pmc_event'. - Provide a way for users to disambiguate between identically named events supported by multiple classes of PMCs in a CPU. - Change libpmc's machine-dependent event specifier parsing code to better support CPUs containing two or more classes of PMC resources.
* Correct a typo.jkoshy2008-10-061-1/+1
|
* Fix a typo.jkoshy2008-10-041-1/+1
|
* Correct misspellings.jkoshy2008-10-021-2/+2
|
* Correct a typo.jkoshy2008-03-141-2/+6
|
* MFP4:jkoshy2005-06-091-0/+530
- 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.
OpenPOWER on IntegriCloud