summaryrefslogtreecommitdiffstats
path: root/lib/libpmc/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* MFHgjb2016-03-021-0/+1
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * Connect pmc.haswellxeon(3) to the build; looks like it was missed in r279829.trasz2016-03-011-0/+1
| | | | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* | First pass through library packaging.gjb2016-02-041-0/+1
|/ | | | Sponsored by: The FreeBSD Foundation
* Update hwpmc to support core events for Atom Silvermont microarchitecture.hiren2014-03-201-0/+1
| | | | | | | (Model 0x4D as per Intel document 330061-001 01/2014) Tested by: Olivier Cochard-Labbe <olivier@cochatrd.me> MFC after: 4 weeks
* Always install pmc.foo(3) manpages.uqs2013-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
* Update hwpmc to support Haswell class processors.sbruno2013-03-281-0/+2
| | | | | | | | | | | | 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
* Update hwpmc to support the Xeon class of Ivybridge processors.sbruno2013-01-311-0/+1
| | | | | | | | | | | | | | 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
* Update hwpmc to support the Xeon class of Sandybridge processors.sbruno2012-10-191-0/+1
| | | | | | | | | | | | | | (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
* Fix "make install"kientzle2012-10-061-1/+1
| | | | | Also make arm the same as other platforms: Install man pages for all CPUs in the family.
* Add Intel Ivy Bridge support to hwpmc(9).fabient2012-09-061-0/+1
| | | | | | | | | | 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
* Add software PMC support.fabient2012-03-281-0/+1
| | | | | | | | | | | | | 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
* Update manual pages for MIPS-related CPUs:gonzo2012-03-251-0/+3
| | | | | | | | - 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.
* - Add support for the Intel Sandy Bridge microarchitecture (both core and ↵davide2012-03-011-0/+2
| | | | | | | | | | | 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
* Revert last commit: CPUTYPE will be defined hereimp2011-02-111-1/+1
|
* Don't require CPUTYPE to be defined for ARM, but use it if it is.imp2011-02-111-1/+1
|
* MFtbemd:imp2010-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.
* - Support for uncore counting events: one fixed PMC with the uncorefabient2010-04-021-0/+5
| | | | | | | | | | | | 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
* Build lib/ with WARNS=6 by default.ed2010-01-021-2/+0
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Intel XScale hwpmc(4) support.rpaulo2009-12-231-0/+2
| | | | | | | | | | | 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/...
* Install x86 related man pages on x86 systems only.rpaulo2009-10-041-0/+2
| | | | Reviewed by: jkoshy
* Add manual pages for performance measurement counters present injkoshy2008-10-041-0/+4
| | | | Intel Atom(tm), Core(tm) and Core2(tm) CPUs.
* Build and install PMC-dependent manual pages.jkoshy2008-09-161-0/+8
|
* Move the following functions into their own manual pages:jkoshy2007-11-251-16/+17
| | | | | | | | | | | - pmc_attach(), pmc_detach(). - pmc_capabilities(), pmc_cpuinfo(), pmc_ncpu(), pmc_npmc(), pmc_pmcinfo(), pmc_width(). - pmc_get_driver_stats(). - pmc_get_msr(). - pmc_read(), pmc_rw(), pmc_write(). - pmc_set(). - pmc_start(), pmc_stop().
* - Describe function pmc_init() in its own manual page.jkoshy2007-11-251-5/+8
| | | | | - Describe functions pmc_configure_logfile(), pmc_flush_logfile() and pmc_writelog() in their own manual page.
* Describe convenience functions `pmc_name_of_{capability,class,cputype,jkoshy2007-11-241-7/+7
| | | | disposition,event,mode,state}' in their own manual page.
* Describe pmc_event_names_of_class() in its own manual page.jkoshy2007-11-231-2/+2
|
* Describe pmc_enable() and pmc_disable() in their own manual page.jkoshy2007-11-231-3/+2
|
* Describe pmc_allocate() and pmc_release() in their own manual page.jkoshy2007-11-231-3/+2
|
* MFP4:jkoshy2005-06-091-3/+11
| | | | | | | | | | | | | | | | - 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-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+0
| | | | | | for WARNS lines. Submitted by: ru
* Bring a working snapshot of hwpmc(4), its associated libraries, userland ↵jkoshy2005-04-191-0/+43
utilities and documentation into -CURRENT. Bump FreeBSD_version. Reviewed by: alc, jhb (kernel changes)
OpenPOWER on IntegriCloud