Adds the kmon interface to the build infrastrcuture.

Signed-off-by: Davide Libenzi <[EMAIL PROTECTED]>


- Davide


Index: linux-2.6.21.scdev/init/Kconfig
===================================================================
--- linux-2.6.21.scdev.orig/init/Kconfig        2007-05-05 18:11:26.000000000 
-0700
+++ linux-2.6.21.scdev/init/Kconfig     2007-05-06 14:10:22.000000000 -0700
@@ -492,6 +492,12 @@
          on EMBEDDED systems.  /proc/vmstat will only show page counts
          if VM event counters are disabled.
 
+config KMON
+       default n
+       bool "Enable Kernel Monitor interface"
+       help
+         Enable the kernel monitor interface through the /dev/kmon device.
+
 endmenu                # General setup
 
 config RT_MUTEXES
Index: linux-2.6.21.scdev/drivers/char/Makefile
===================================================================
--- linux-2.6.21.scdev.orig/drivers/char/Makefile       2007-05-05 
18:11:26.000000000 -0700
+++ linux-2.6.21.scdev/drivers/char/Makefile    2007-05-06 14:10:22.000000000 
-0700
@@ -56,6 +56,7 @@
 obj-$(CONFIG_HVCS)             += hvcs.o
 obj-$(CONFIG_SGI_MBCS)         += mbcs.o
 obj-$(CONFIG_BRIQ_PANEL)       += briq_panel.o
+obj-$(CONFIG_KMON)             += kmon-dev.o
 
 obj-$(CONFIG_PRINTER)          += lp.o
 obj-$(CONFIG_TIPAR)            += tipar.o
Index: linux-2.6.21.scdev/kernel/Makefile
===================================================================
--- linux-2.6.21.scdev.orig/kernel/Makefile     2007-05-05 18:11:26.000000000 
-0700
+++ linux-2.6.21.scdev/kernel/Makefile  2007-05-06 14:10:22.000000000 -0700
@@ -51,6 +51,7 @@
 obj-$(CONFIG_UTS_NS) += utsname.o
 obj-$(CONFIG_TASK_DELAY_ACCT) += delayacct.o
 obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o
+obj-$(CONFIG_KMON) += kmon.o kmon-stats.o
 
 ifneq ($(CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER),y)
 # According to Alan Modra <[EMAIL PROTECTED]>, the -fno-omit-frame-pointer is
Index: linux-2.6.21.scdev/include/linux/Kbuild
===================================================================
--- linux-2.6.21.scdev.orig/include/linux/Kbuild        2007-05-05 
18:11:26.000000000 -0700
+++ linux-2.6.21.scdev/include/linux/Kbuild     2007-05-06 14:10:22.000000000 
-0700
@@ -246,6 +246,7 @@
 unifdef-y += kernelcapi.h
 unifdef-y += kernel.h
 unifdef-y += keyboard.h
+unifdef-y += kmon.h
 unifdef-y += llc.h
 unifdef-y += loop.h
 unifdef-y += lp.h

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to