summaryrefslogtreecommitdiff
path: root/lib/libpmc
Commit message (Collapse)AuthorAgeFilesLines
* MFC r267062:Konstantin Belousov2014-06-181-1/+45
| | | | | | | Disable existing uncore hwpmc code for Nehalem and Westmere EX. Notes: svn path=/stable/10/; revision=267602
* MFC r263446Hiren Panchasara2014-05-314-1/+560
| | | | | | | | Update hwpmc to support core events for Atom Silvermont microarchitecture. (Model 0x4D as per Intel document 330061-001 01/2014) Notes: svn path=/stable/10/; revision=266911
* MFC r261342Justin Hibbits2014-03-141-10/+32
| | | | | | | | | | | | | Add hwpmc(4) support for the PowerPC 970 class processors, direct events. This also fixes asserts on removal of the module for the mpc74xx. The PowerPC 970 processors have two different types of events: direct events and indirect events. Thus far only direct events are supported. I included some documentation in the driver on how indirect events work, but support is for the future. Notes: svn path=/stable/10/; revision=263122
* Always install pmc.foo(3) manpages.Ulrich Spörlein2013-05-031-12/+8
| | | | | | | | | | | There is no point in hiding, e.g. pmc.xscale(3) from a developer running on amd64, when the target arch in question will probably never have manual pages installed at all. Reviewed by: sbruno, hiren Notes: svn path=/head/; revision=250203
* Remove EOL whitespace.Joel Dahl2013-03-292-156/+156
| | | | Notes: svn path=/head/; revision=248871
* Update hwpmc to support Haswell class processors.Sean Bruno2013-03-284-0/+1276
| | | | | | | | | | | | | | | 0x3C: /* Per Intel document 325462-045US 01/2013. */ Add manpage to document all the goodness that is available in this processor model. Submitted by: hiren panchasara <hiren.panchasara@gmail.com> Reviewed by: jimharris, sbruno Obtained from: Yahoo! Inc. MFC after: 2 weeks Notes: svn path=/head/; revision=248842
* Add missing spaceBryan Venteicher2013-03-271-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=248783
* Add support for good old 8192Hz profiling clock to software PMC.Alexander Motin2013-02-261-1/+3
| | | | | | | Reviewed by: fabient Notes: svn path=/head/; revision=247329
* Update hwpmc to support the Xeon class of Ivybridge processors.Sean Bruno2013-01-316-1/+938
| | | | | | | | | | | | | | | | | case 0x3E: /* Per Intel document 325462-045US 01/2013. */ Add manpage to document all the goodness that is available in this processor model. No support for uncore events at this time. Submitted by: hiren panchasara <hiren.panchasara@gmail.com> Reviewed by: davide, jimharris, sbruno Obtained from: Yahoo! Inc. MFC after: 2 weeks Notes: svn path=/head/; revision=246166
* Fix a few warnings from newer clang 3.2 in libpmc, about comparing enumDimitry Andric2012-11-051-2/+2
| | | | | | | | | | | pmc_event values against integer constants which fall outside the enum range. Reviewed by: fabient, sbruno MFC after: 3 days Notes: svn path=/head/; revision=242622
* Cleanup and rename some variables in libpmc and hwpmc.Sean Bruno2012-10-244-4/+4
| | | | | | | | | | Submitted by: hiren panchasara <hiren.panchasara@gmail.com> Reviewed by: jimharris@ sbruno@ Obtained from: Yahoo! Inc. MFC after: 2 weeks Notes: svn path=/head/; revision=241974
* Remove trailing whitespace.Joel Dahl2012-10-191-159/+159
| | | | Notes: svn path=/head/; revision=241745
* Update man page crossreferences to sandybridge xeon classSean Bruno2012-10-193-3/+6
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=241741
* Update hwpmc to support the Xeon class of Sandybridge processors.Sean Bruno2012-10-193-3/+1048
| | | | | | | | | | | | | | | | | (Model 0x2D /* Per Intel document 253669-044US 08/2012. */) Add manpage to document all the goodness that is available in this processor model. No support for uncore events at this time. Submitted by: hiren panchasara <hiren.panchasara@gmail.com> Reviewed by: jimharris@ fabient@ Obtained from: Yahoo! Inc. MFC after: 2 weeks Notes: svn path=/head/; revision=241738
* Fix "make install"Tim Kientzle2012-10-061-1/+1
| | | | | | | | Also make arm the same as other platforms: Install man pages for all CPUs in the family. Notes: svn path=/head/; revision=241255
* Remove trailing whitespace.Joel Dahl2012-09-061-53/+53
| | | | Notes: svn path=/head/; revision=240174
* Minor mdoc fix.Joel Dahl2012-09-061-1/+0
| | | | Notes: svn path=/head/; revision=240173
* Add Intel Ivy Bridge support to hwpmc(9).Fabien Thomas2012-09-064-52/+1017
| | | | | | | | | | | | | Update offcore RSP token for Sandy Bridge. Note: No uncore support. Will works on Family 6 Model 3a. MFC after: 1 month Tested by: bapt, grehan Notes: svn path=/head/; revision=240164
* mdoc: minor Bl improvements.Joel Dahl2012-06-021-9/+13
| | | | Notes: svn path=/head/; revision=236438
* mdoc: sort prologue macros.Joel Dahl2012-03-291-1/+1
| | | | Notes: svn path=/head/; revision=233650
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-293-5/+5
| | | | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days Notes: svn path=/head/; revision=233648
* Add software PMC support.Fabien Thomas2012-03-2826-26/+234
| | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=233628
* Remove useless Ta macro.Joel Dahl2012-03-273-14/+14
| | | | Notes: svn path=/head/; revision=233565
* Remove superfluous paragraph macro.Joel Dahl2012-03-255-5/+0
| | | | Notes: svn path=/head/; revision=233462
* Update manual pages for MIPS-related CPUs:Oleksandr Tymoshenko2012-03-253-6/+261
| | | | | | | | | | | - Rename pmc.mips to pmc.mips24k since it covers just one CPU, no whole architecture - Add documetnations for Octeon's PMC counters - Remove CAVEATS section from pmc.mips24k page: PMC for MIPS supports sampling now. Notes: svn path=/head/; revision=233451
* Add Octeon-related parts to libpmcOleksandr Tymoshenko2012-03-231-0/+21
| | | | Notes: svn path=/head/; revision=233335
* Correct a function prototype.Joseph Koshy2012-03-221-1/+1
| | | | | | | Submitted by: "Anders Magnusson" <ragge at ludd.ltu.se>, via joel Notes: svn path=/head/; revision=233321
* Make reusable part of code have mips prefix, not mips24Oleksandr Tymoshenko2012-03-221-9/+10
| | | | Notes: svn path=/head/; revision=233320
* Kill EoL whitespaces, and minor lint.Sergey Kandaurov2012-03-022-297/+295
| | | | Notes: svn path=/head/; revision=232377
* - Add support for the Intel Sandy Bridge microarchitecture (both core and ↵Davide Italiano2012-03-014-0/+1203
| | | | | | | | | | | | | | uncore counting events) - New manpages with event lists. - Add MSRs for the Intel Sandy Bridge microarchitecture Reviewed by: attilio, brueffer, fabient Approved by: gnn (mentor) MFC after: 3 weeks Notes: svn path=/head/; revision=232366
* Whitespace cleanup:Glen Barber2012-02-251-151/+220
| | | | | | | | | | | | | o Wrap sentences on to new lines o Rewrap lines where possible while trying to keep the diff to a minimum Found with: textproc/igor MFC after: 1 week X-MFC-With: r232157 Notes: svn path=/head/; revision=232159
* Whitespace cleanup:Glen Barber2012-02-251-15/+19
| | | | | | | | | | | | o Wrap sentences on to new lines o Cleanup trailing whitespace Found with: textproc/igor MFC after: 1 week X-MFC-With: r232157 Notes: svn path=/head/; revision=232158
* Fix various typos in manual pages.Glen Barber2012-02-252-4/+4
| | | | | | | | | Submitted by: amdmi3 PR: 165431 MFC after: 1 week Notes: svn path=/head/; revision=232157
* Switch the license boilerplates to our standard one.Christian Brueffer2012-02-1732-352/+352
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=231871
* Update PMC events from October 2011 Intel documentation.Fabien Thomas2012-01-041-11/+6
| | | | | | | | Submitted by: Davide Italiano <davide.italiano@gmail.com> MFC after: 3 days Notes: svn path=/head/; revision=229470
* Implement hwpmc counting PMC support for PowerPC G4+ (MPC745x/MPC744x).Justin Hibbits2011-12-241-0/+62
| | | | | | | | | | Sampling is in progress. Approved by: nwhitehorn (mentor) MFC after: 9.0-RELEASE Notes: svn path=/head/; revision=228869
* In lib/libpmc/libpmc.c, struct pmc_cputype_map's pm_cputype field shouldDimitry Andric2011-12-161-1/+1
| | | | | | | | | be of type 'enum pmc_cputype', not 'enum pmc_class'. MFC after: 1 week Notes: svn path=/head/; revision=228557
* Add a flush of the current PMC log buffer before displaying the next top.Fabien Thomas2011-10-184-1/+21
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=226514
* - change "is is" to "is" or "it is"Eitan Adler2011-10-161-1/+1
| | | | | | | | | | | - change "the the" to "the" Approved by: lstewart Approved by: sahil (mentor) MFC after: 3 days Notes: svn path=/head/; revision=226436
* Revert last commit: CPUTYPE will be defined hereWarner Losh2011-02-111-1/+1
| | | | Notes: svn path=/head/; revision=218532
* Don't require CPUTYPE to be defined for ARM, but use it if it is.Warner Losh2011-02-111-1/+1
| | | | Notes: svn path=/head/; revision=218531
* Fix manpage markup.Ulrich Spörlein2010-11-062-3/+2
| | | | Notes: svn path=/head/; revision=214867
* mdoc: drop redundant .Pp and .LP callsUlrich Spörlein2010-10-081-1/+0
| | | | | | | They have no effect when coming in pairs, or before .Bl/.Bd Notes: svn path=/head/; revision=213573
* Fix punctuation and grammar, mostly by ending sentences with a period.George V. Neville-Neil2010-10-042-33/+33
| | | | | | | MFC after: 1 day Notes: svn path=/head/; revision=213402
* Fix invalid class removal when IAF is not the last class.Fabien Thomas2010-09-051-4/+4
| | | | | | | | | Keep IAF class with 0 PMC and change the alias in libpmc to IAP. MFC after: 1 week Notes: svn path=/head/; revision=212224
* MFtbemd:Warner Losh2010-08-231-2/+2
| | | | | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform. Notes: svn path=/head/; revision=211725
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whileJoel Dahl2010-08-167-7/+7
| | | | | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> Notes: svn path=/head/; revision=211397
* Fix typos and spelling mistakes.Joel Dahl2010-08-064-8/+8
| | | | Notes: svn path=/head/; revision=210933
* Spelling fixes.Joel Dahl2010-08-033-5/+5
| | | | Notes: svn path=/head/; revision=210823
* mdoc: remove literal tabs where they don't belongUlrich Spörlein2010-06-083-5/+5
| | | | Notes: svn path=/head/; revision=208914