head	1.12;
access;
symbols
	RELENG_8_4:1.12.0.2
	RELENG_9_1_0_RELEASE:1.10.2.2.2.2
	RELENG_9_1:1.10.2.2.0.2
	RELENG_9_1_BP:1.10.2.2
	RELENG_8_3_0_RELEASE:1.7.2.2.6.1
	RELENG_8_3:1.7.2.2.0.6
	RELENG_8_3_BP:1.7.2.2
	RELENG_9_0_0_RELEASE:1.10.2.1.2.1
	RELENG_9_0:1.10.2.1.0.2
	RELENG_9_0_BP:1.10.2.1
	RELENG_9:1.10.0.2
	RELENG_9_BP:1.10
	RELENG_7_4_0_RELEASE:1.4.2.2.2.1
	RELENG_8_2_0_RELEASE:1.7.2.2.4.1
	RELENG_7_4:1.4.2.2.0.2
	RELENG_7_4_BP:1.4.2.2
	RELENG_8_2:1.7.2.2.0.4
	RELENG_8_2_BP:1.7.2.2
	RELENG_8_1_0_RELEASE:1.7.2.2.2.1
	RELENG_8_1:1.7.2.2.0.2
	RELENG_8_1_BP:1.7.2.2
	RELENG_7_3_0_RELEASE:1.4.2.1.2.1
	RELENG_7_3:1.4.2.1.0.2
	RELENG_7_3_BP:1.4.2.1
	RELENG_8_0_0_RELEASE:1.7.2.1.2.1
	RELENG_8_0:1.7.2.1.0.2
	RELENG_8_0_BP:1.7.2.1
	RELENG_8:1.7.0.2
	RELENG_8_BP:1.7
	RELENG_7_2_0_RELEASE:1.4.8.1
	RELENG_7_2:1.4.0.8
	RELENG_7_2_BP:1.4
	RELENG_7_1_0_RELEASE:1.4.6.1
	RELENG_6_4_0_RELEASE:1.3.12.1
	RELENG_7_1:1.4.0.6
	RELENG_7_1_BP:1.4
	RELENG_6_4:1.3.0.12
	RELENG_6_4_BP:1.3
	RELENG_7_0_0_RELEASE:1.4
	RELENG_6_3_0_RELEASE:1.3
	RELENG_7_0:1.4.0.4
	RELENG_7_0_BP:1.4
	RELENG_6_3:1.3.0.10
	RELENG_6_3_BP:1.3
	RELENG_7:1.4.0.2
	RELENG_7_BP:1.4
	RELENG_6_2_0_RELEASE:1.3
	RELENG_6_2:1.3.0.8
	RELENG_6_2_BP:1.3
	RELENG_6_1_0_RELEASE:1.3
	RELENG_6_1:1.3.0.6
	RELENG_6_1_BP:1.3
	RELENG_6_0_0_RELEASE:1.3
	RELENG_6_0:1.3.0.4
	RELENG_6_0_BP:1.3
	RELENG_6:1.3.0.2
	RELENG_6_BP:1.3;
locks; strict;
comment	@# @;


1.12
date	2012.11.17.01.52.55;	author svnexp;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2012.03.28.20.58.30;	author fabient;	state Exp;
branches;
next	1.10;

1.10
date	2010.08.23.06.13.29;	author imp;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	2010.07.13.12.47.31;	author nwhitehorn;	state Exp;
branches;
next	1.8;

1.8
date	2010.04.02.13.23.49;	author fabient;	state Exp;
branches;
next	1.7;

1.7
date	2008.11.27.09.00.47;	author jkoshy;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	2008.11.09.17.37.54;	author jkoshy;	state Exp;
branches;
next	1.5;

1.5
date	2008.02.21.11.09.59;	author ru;	state Exp;
branches;
next	1.4;

1.4
date	2006.07.27.19.12.49;	author marcel;	state Exp;
branches
	1.4.2.1
	1.4.6.1
	1.4.8.1;
next	1.3;

1.3
date	2005.06.09.19.45.08;	author jkoshy;	state Exp;
branches
	1.3.2.1
	1.3.12.1;
next	1.2;

1.2
date	2005.04.28.00.53.45;	author jkoshy;	state Exp;
branches;
next	1.1;

1.1
date	2005.04.19.04.01.24;	author jkoshy;	state Exp;
branches;
next	;

1.12.2.1
date	2012.11.17.01.52.55;	author svnexp;	state dead;
branches;
next	1.12.2.2;

1.12.2.2
date	2013.03.28.13.05.20;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.10.2.1.2.1;
next	1.10.2.2;

1.10.2.2
date	2012.05.29.14.50.21;	author fabient;	state Exp;
branches
	1.10.2.2.2.1;
next	1.10.2.3;

1.10.2.3
date	2012.11.17.11.37.17;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.10.2.1.2.2;

1.10.2.1.2.2
date	2012.11.17.08.37.13;	author svnexp;	state Exp;
branches;
next	;

1.10.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.10.2.2.2.2;

1.10.2.2.2.2
date	2012.11.17.08.48.04;	author svnexp;	state Exp;
branches;
next	;

1.7.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.7.2.1.2.1;
next	1.7.2.2;

1.7.2.2
date	2010.04.16.15.43.24;	author fabient;	state Exp;
branches
	1.7.2.2.2.1
	1.7.2.2.4.1
	1.7.2.2.6.1;
next	1.7.2.3;

1.7.2.3
date	2012.11.17.10.36.56;	author svnexp;	state Exp;
branches;
next	;

1.7.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.7.2.2.2.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.7.2.2.4.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.7.2.2.6.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.7.2.2.6.2;

1.7.2.2.6.2
date	2012.11.17.08.25.33;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1
date	2009.06.07.10.00.35;	author fabient;	state Exp;
branches
	1.4.2.1.2.1;
next	1.4.2.2;

1.4.2.2
date	2010.04.16.16.13.49;	author fabient;	state Exp;
branches
	1.4.2.2.2.1;
next	1.4.2.3;

1.4.2.3
date	2012.11.17.08.06.48;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1.2.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.4.2.2.2.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.4.2.2.2.2;

1.4.2.2.2.2
date	2012.11.17.08.17.26;	author svnexp;	state Exp;
branches;
next	;

1.4.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.4.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.3.2.1
date	2012.11.17.07.44.19;	author svnexp;	state Exp;
branches;
next	;

1.3.12.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Switching exporter and resync
@
text
@#
# $FreeBSD: head/sys/modules/hwpmc/Makefile 233628 2012-03-28 20:58:30Z fabient $
#

.PATH: ${.CURDIR}/../../dev/hwpmc

KMOD=	hwpmc

SRCS=	hwpmc_mod.c hwpmc_logging.c hwpmc_soft.c vnode_if.h

.if ${MACHINE_CPUARCH} == "amd64"
SRCS+=	hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_piv.c hwpmc_tsc.c
SRCS+=	hwpmc_x86.c hwpmc_uncore.c
SRCS+=	device_if.h bus_if.h
.endif

.if ${MACHINE_CPUARCH} == "arm"
SRCS+=	hwpmc_arm.c
.endif

.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_piv.c hwpmc_ppro.c
SRCS+=	hwpmc_pentium.c hwpmc_tsc.c hwpmc_x86.c hwpmc_uncore.c
SRCS+=	device_if.h bus_if.h
.endif

.if ${MACHINE_CPUARCH} == "ia64"
SRCS+=	hwpmc_ia64.c
.endif

.if ${MACHINE_CPUARCH} == "powerpc"
SRCS+=	hwpmc_powerpc.c
.endif

.if ${MACHINE_CPUARCH} == "sparc64"
SRCS+=	hwpmc_sparc64.c
.endif

.include <bsd.kmod.mk>
@


1.12.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:05:20 +0000
@
text
@d1 39
@


1.12.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 39
#
# $FreeBSD: releng/8.4/sys/modules/hwpmc/Makefile 206701 2010-04-16 15:43:24Z fabient $
#

.PATH: ${.CURDIR}/../../dev/hwpmc

KMOD=	hwpmc

SRCS=	hwpmc_mod.c hwpmc_logging.c vnode_if.h

.if ${MACHINE_ARCH} == "amd64"
SRCS+=	hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_piv.c hwpmc_tsc.c
SRCS+=	hwpmc_x86.c hwpmc_uncore.c
SRCS+=	device_if.h bus_if.h
.endif

.if ${MACHINE_ARCH} == "arm"
SRCS+=	hwpmc_arm.c
.endif

.if ${MACHINE_ARCH} == "i386"
SRCS+=	hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_piv.c hwpmc_ppro.c
SRCS+=	hwpmc_pentium.c hwpmc_tsc.c hwpmc_x86.c hwpmc_uncore.c
SRCS+=	device_if.h bus_if.h
.endif

.if ${MACHINE_ARCH} == "ia64"
SRCS+=	hwpmc_ia64.c
.endif

.if ${MACHINE_ARCH} == "powerpc"
SRCS+=	hwpmc_powerpc.c
.endif

.if ${MACHINE_ARCH} == "sparc64"
SRCS+=	hwpmc_sparc64.c
.endif

.include <bsd.kmod.mk>
@


1.11
log
@SVN rev 233628 on 2012-03-28 20:58:30Z by fabient

Add software PMC support.

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
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.10
log
@SVN rev 211690 on 2010-08-23 06:13:29Z by imp

MFtbemd:

Use MACHINE_CPUARCH in preference to MACHINE_ARCH.  The former is the
source code location of the machine, the latter the binary output.  In
general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless
we're tesitng for a specific target.  The isn't even moot for
i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86,
although a specific cleanup for that likely would be needed...
@
text
@d9 1
a9 1
SRCS=	hwpmc_mod.c hwpmc_logging.c vnode_if.h
@


1.10.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.10.2.2
log
@SVN rev 236238 on 2012-05-29 14:50:21Z by fabient

MFC r233628, r234598, r235229, r235831, r226986.

Add software PMC support.

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
@
text
@d9 1
a9 1
SRCS=	hwpmc_mod.c hwpmc_logging.c hwpmc_soft.c vnode_if.h
@


1.10.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/sys/modules/hwpmc/Makefile 236238 2012-05-29 14:50:21Z fabient $
@


1.10.2.2.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.10.2.2.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/sys/modules/hwpmc/Makefile 236238 2012-05-29 14:50:21Z fabient $
@


1.10.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.10.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/sys/modules/hwpmc/Makefile 211690 2010-08-23 06:13:29Z imp $
@


1.9
log
@SVN rev 209991 on 2010-07-13 12:47:31Z by nwhitehorn

Make kernel modules build correctly on 64-bit PowerPC.
@
text
@d11 1
a11 1
.if ${MACHINE_ARCH} == "amd64"
d17 1
a17 1
.if ${MACHINE_ARCH} == "arm"
d21 1
a21 1
.if ${MACHINE_ARCH} == "i386"
d27 1
a27 1
.if ${MACHINE_ARCH} == "ia64"
d35 1
a35 1
.if ${MACHINE_ARCH} == "sparc64"
@


1.8
log
@SVN rev 206089 on 2010-04-02 13:23:49Z by fabient

- Support for uncore counting events: one fixed PMC with the uncore
  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
@
text
@d31 1
a31 1
.if ${MACHINE_ARCH} == "powerpc"
@


1.7
log
@SVN rev 185363 on 2008-11-27 09:00:47Z by jkoshy

- Add support for PMCs in Intel CPUs of Family 6, model 0xE (Core Solo
  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
@
text
@d13 1
a13 1
SRCS+=	hwpmc_x86.c
d23 1
a23 1
SRCS+=	hwpmc_pentium.c hwpmc_tsc.c hwpmc_x86.c
@


1.7.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.7.2.2
log
@SVN rev 206701 on 2010-04-16 15:43:24Z by fabient

MFC r206089, r206684:

- Support for uncore counting events: one fixed PMC with the uncore
   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
@
text
@d13 1
a13 1
SRCS+=	hwpmc_x86.c hwpmc_uncore.c
d23 1
a23 1
SRCS+=	hwpmc_pentium.c hwpmc_tsc.c hwpmc_x86.c hwpmc_uncore.c
@


1.7.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/8/sys/modules/hwpmc/Makefile 206701 2010-04-16 15:43:24Z fabient $
@


1.7.2.2.6.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.7.2.2.6.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/sys/modules/hwpmc/Makefile 206701 2010-04-16 15:43:24Z fabient $
@


1.7.2.2.4.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.7.2.2.2.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.7.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.6
log
@SVN rev 184802 on 2008-11-09 17:37:54Z by jkoshy

- Separate PMC class dependent code from other kinds of machine
  dependencies.  A 'struct pmc_classdep' structure describes operations
  on PMCs; 'struct pmc_mdep' contains one or more 'struct pmc_classdep'
  structures depending on the CPU in question.

  Inside PMC class dependent code, row indices are relative to the
  PMCs supported by the PMC class; MI code in "hwpmc_mod.c" translates
  global row indices before invoking class dependent operations.

- Augment the OP_GETCPUINFO request with the number of PMCs present
  in a PMC class.

- Move code common to Intel CPUs to file "hwpmc_intel.c".

- Move TSC handling to file "hwpmc_tsc.c".
@
text
@d12 2
a13 1
SRCS+=	hwpmc_amd.c hwpmc_intel.c hwpmc_piv.c hwpmc_tsc.c hwpmc_x86.c
d22 2
a23 2
SRCS+=	hwpmc_amd.c hwpmc_intel.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c
SRCS+=	hwpmc_tsc.c hwpmc_x86.c
@


1.5
log
@Remove WARNS from here and compile with default kernel flags.
@
text
@d12 1
a12 1
SRCS+=	hwpmc_amd.c hwpmc_piv.c hwpmc_x86.c
d21 2
a22 1
SRCS+=	hwpmc_amd.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c hwpmc_x86.c
@


1.4
log
@Remove Alpha remnants.
@
text
@a10 2
WARNS?=	2

@


1.4.2.1
log
@SVN rev 193634 on 2009-06-07 10:00:35Z by fabient

MFC hwpmc framework:

- capture with callchain
- Intel Core 2 support
- Intel Core i7 support
- source code annotate (pmcannotate)
- bug fixes

Reviewed by: jkoshy (mentor)
Approved by: re (gnn)
@
text
@d14 1
a14 2
SRCS+=	hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_piv.c hwpmc_tsc.c
SRCS+=	hwpmc_x86.c
d23 1
a23 2
SRCS+=	hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_piv.c hwpmc_ppro.c
SRCS+=	hwpmc_pentium.c hwpmc_tsc.c hwpmc_x86.c
@


1.4.2.2
log
@SVN rev 206703 on 2010-04-16 16:13:49Z by fabient

MFC r206089, r206684:

- Support for uncore counting events: one fixed PMC with the uncore
   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
@
text
@d15 1
a15 1
SRCS+=	hwpmc_x86.c hwpmc_uncore.c
d25 1
a25 1
SRCS+=	hwpmc_pentium.c hwpmc_tsc.c hwpmc_x86.c hwpmc_uncore.c
@


1.4.2.3
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/sys/modules/hwpmc/Makefile 206703 2010-04-16 16:13:49Z fabient $
@


1.4.2.2.2.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.4.2.2.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/sys/modules/hwpmc/Makefile 206703 2010-04-16 16:13:49Z fabient $
@


1.4.2.1.2.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.4.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.4.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.3
log
@MFP4:

- 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.
@
text
@a12 4
.if ${MACHINE_ARCH} == "alpha"
SRCS+=	hwpmc_alpha.c
.endif

@


1.3.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/sys/modules/hwpmc/Makefile 147191 2005-06-09 19:45:09Z jkoshy $
@


1.3.12.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.2
log
@Use the new path (post repo-copy) to our sources.
@
text
@d1 1
a1 1
# 
d9 1
a9 1
SRCS=	hwpmc_mod.c 
d13 13
d27 6
a32 1
SRCS+=  hwpmc_amd.c hwpmc_intel.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c
d35 6
a40 2
.if ${MACHINE_ARCH} == "amd64"
SRCS+=	hwpmc_amd.c
@


1.1
log
@Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities
and documentation into -CURRENT.

Bump FreeBSD_version.

Reviewed by:	alc, jhb (kernel changes)
@
text
@d5 1
a5 1
.PATH: ${.CURDIR}/../../hwpmc
@

