From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Tokunaga Subject: Re: [PATCH 2/2] scsi: add scsi trace core function and put trace points Date: Mon, 01 Feb 2010 13:45:25 +0900 Message-ID: <4B665C65.3030408@jp.fujitsu.com> References: <4B56A621.2070301@jp.fujitsu.com> <20100120083741.GA5020@infradead.org> <1264009339.4561.56.camel@frodo> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1264009339.4561.56.camel@frodo> Sender: linux-kernel-owner@vger.kernel.org To: Steven Rostedt , Christoph Hellwig Cc: linux-scsi@vger.kernel.org, James Bottomley , Ingo Molnar , Frederic Weisbecker , lkml , Li Zefan , Xiao Guangrong , Tomohiro Kusumi , Kei Tokunaga List-Id: linux-scsi@vger.kernel.org Steven Rostedt wrote: > On Wed, 2010-01-20 at 03:37 -0500, Christoph Hellwig wrote: >>> --- linux-2.6.33-rc4-trace/kernel/trace/Makefile~scsi_trace 2010-01-18 16:23:16.000000000 +0900 >>> +++ linux-2.6.33-rc4-trace-kei/kernel/trace/Makefile 2010-01-18 16:23:16.000000000 +0900 >>> @@ -48,6 +48,9 @@ obj-$(CONFIG_BLK_DEV_IO_TRACE) += blktra >>> ifeq ($(CONFIG_BLOCK),y) >>> obj-$(CONFIG_EVENT_TRACING) += blktrace.o >>> endif >>> +ifneq ($(CONFIG_SCSI),) >>> +obj-$(CONFIG_EVENT_TRACING) += scsitrace.o >>> +endif >>> obj-$(CONFIG_EVENT_TRACING) += trace_events.o >>> obj-$(CONFIG_EVENT_TRACING) += trace_export.o >>> obj-$(CONFIG_FTRACE_SYSCALLS) += trace_syscalls.o >> The code should be built into scsi_mod.ko and thus from drivers/scsi/ >> > > Yes, none of this code belongs in kernel/trace/. Thanks for the comments, Christoph, Steven. In v2 patchset that I'm going to post soon, I've moved the stuff to drivers/scsi/. Thanks, Kei