From mboxrd@z Thu Jan 1 00:00:00 1970 From: kosaki.motohiro@jp.fujitsu.com (KOSAKI Motohiro) Date: Thu, 19 Feb 2009 11:02:31 +0900 (JST) Subject: [ltt-dev] [PATCH v3] lttng: remove ltt root directory if it's no needed In-Reply-To: <499CB865.6080307@cn.fujitsu.com> References: <499CB2F4.50805@cn.fujitsu.com> <499CB865.6080307@cn.fujitsu.com> Message-ID: <20090219105750.955C.A69D9226@jp.fujitsu.com> > We have to cleanup the lttng's root directory of debugfs if > there is nobody uses it any more. Because any related lttng > modules are unloaded, no need to keep this directory. > > This patch is based on 2.6.29-rc3-lttng-0.92. hmhm. There is one meta question. Why do we need ltt-control unloadability? We expect merge lttng into mainline in nearly future. At that time, Who need ltt core kernel module (not any specific probe). IOW, why ca't we do following? config LTT_TRACE_CONTROL - tristate "Linux Trace Toolkit Trace Controller" + bool "Linux Trace Toolkit Trace Controller" depends on LTT_TRACER default m help If you enable this option, the debugfs-based Linux Trace Toolkit Trace Controller will be either built in the kernel or as module.