KMON - kmon build infrastrcuture ...
PATCH 4/4 KMON - kmon build infrastrcuture ...
Adds the kmon interface to the build infrastrcuture.
Signed-off-by Davide Libenzi <[email protected]>
- Davide
init/Kconfig +6 -0
@@ -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
drivers/char/Makefile +1 -0
@@ -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
kernel/Makefile +1 -0
@@ -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
include/linux/Kbuild +1 -0
@@ -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