Skip to contentSkip to conversation

lock stat kills lock meter for -rt (makefile)

PATCH New Bill Huey (hui) 1 participant 1 message Dec 14, 2006 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 5/5 lock stat kills lock meter for -rt (makefile)

Build system changes.

bill

============================================================

Kconfig.preempt +9 -0
@@ -176,3 +176,12 @@ config RCU_TRACE
 
 	  Say Y here if you want to enable RCU tracing
 	  Say N if you are unsure.
+
+config LOCK_STAT
+	bool "Lock contention statistics tracking in /proc"
+	depends on PREEMPT_RT && !DEBUG_RT_MUTEXES
+	default y
+	help
+	  General lock statistics tracking with regard to contention in
+	  /proc/lock_stat/contention
+

============================================================

Makefile +1 -0
@@ -63,6 +63,7 @@ obj-$(CONFIG_TASKSTATS) += taskstats.o t
 obj-$(CONFIG_UTS_NS) += utsname.o
 obj-$(CONFIG_TASK_DELAY_ACCT) += delayacct.o
 obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o
+obj-$(CONFIG_LOCK_STAT) += lock_stat.o
 
 ifneq ($(CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER),y)
 # According to Alan Modra <[email protected]>, the -fno-omit-frame-pointer is