[patch] (resend) hwpmc [7/13]

Aggelos Economopoulos aoiko at cc.ece.ntua.gr
Sat Nov 24 19:11:21 PST 2007


(First mail seems to have been lost or is very delayed. Resending.)

Hook hwpmc to kernel build.

Index: platform/pc32/Makefile.inc
===================================================================
retrieving revision 1.5
diff -u -p -r1.5 Makefile.inc
--- platform/pc32/Makefile.inc
+++ platform/pc32/Makefile.inc
@@ -2,7 +2,7 @@
 #
 # $DragonFly: src/sys/platform/pc32/Makefile.inc,v 1.5 2007/01/30 14:50:11 corecode Exp $
 
-DEV_SUPPORT=	acpica5 agp bridge crypto disk drm est misc netif \
+DEV_SUPPORT=	acpica5 agp bridge crypto disk drm est hwpmc misc netif \
 		pccard powermng raid serial sound usbmisc video
 
 SYSCONS_APM_SUPPORT=1
Index: conf/options
===================================================================
retrieving revision 1.70
diff -u -p -r1.70 options
--- conf/options
+++ conf/options
@@ -554,3 +554,4 @@ SCTP_MAP_LOGGING	opt_sctp.h
 # syslink kernel support
 #
 SYSLINK			opt_syslink.h
+HWPMC_HOOKS		opt_hwpmc_hooks.h
Index: platform/pc32/conf/files
===================================================================
retrieving revision 1.12
diff -u -p -r1.12 files
--- platform/pc32/conf/files
+++ platform/pc32/conf/files
@@ -106,6 +106,11 @@ acpi_wakecode.h				optional        acpi	
 dev/netif/cm/if_cm_isa.c		optional	cm isa
 dev/netif/ed/if_ed_isa.c		optional	ed isa
 bus/eisa/eisaconf.c			optional	eisa
+dev/hwpmc/hwpmc_amd.c			optional	hwpmc
+dev/hwpmc/hwpmc_pentium.c		optional	hwpmc
+dev/hwpmc/hwpmc_piv.c			optional	hwpmc
+dev/hwpmc/hwpmc_ppro.c			optional	hwpmc
+dev/hwpmc/hwpmc_x86.c			optional	hwpmc
 dev/netif/em/if_em.c			optional	em
 dev/netif/em/if_em_hw.c			optional	em
 dev/video/fb/fb.c			optional	fb
Index: conf/files
===================================================================
RCS file: /home/aggelos/imports/vcs/dcvs/src/sys/conf/files,v
retrieving revision 1.195
diff -u -p -r1.195 files
--- conf/files	19 Nov 2007 00:53:38 -0000	1.195
+++ conf/files	24 Nov 2007 14:14:43 -0000
@@ -197,6 +197,8 @@ dev/netif/cs/if_cs_pccard.c	optional cs 
 dev/misc/dcons/dcons.c		optional dcons
 dev/misc/dcons/dcons_crom.c	optional dcons_crom
 dev/misc/dcons/dcons_os.c	optional dcons
+dev/misc/hwpmc/hwpmc_logging.c		optional hwpmc
+dev/misc/hwpmc/hwpmc_mod.c		optional hwpmc
 #dev/raid/dpt/dpt_control.c	optional dpt
 dev/raid/dpt/dpt_scsi.c	optional dpt
 dev/raid/dpt/dpt_eisa.c	optional dpt eisa
@@ -565,6 +567,7 @@ kern/lwkt_token.c	standard
 kern/lwkt_msgport.c	standard
 kern/lwkt_serialize.c	standard
 kern/lwkt_caps.c	standard
+kern/kern_pmc.c		standard
 kern/kern_sensors.c	standard
 kern/kern_spinlock.c	standard
 kern/kern_synch.c	standard





More information about the Submit mailing list