From owner-freebsd-scsi Fri Nov 6 12:15:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA25207 for freebsd-scsi-outgoing; Fri, 6 Nov 1998 12:15:37 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from feral-gw.feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA25200 for ; Fri, 6 Nov 1998 12:15:35 -0800 (PST) (envelope-from mjacob@feral.com) Received: from localhost (mjacob@localhost) by feral-gw.feral.com (8.8.7/8.8.7) with SMTP id MAA03989; Fri, 6 Nov 1998 12:15:13 -0800 Date: Fri, 6 Nov 1998 12:15:12 -0800 (PST) From: Matthew Jacob X-Sender: mjacob@feral-gw Reply-To: mjacob@feral.com To: "Kenneth D. Merry" cc: freebsd-scsi@FreeBSD.ORG Subject: Re: CAMDEBUG change to mull over... In-Reply-To: <199811062005.NAA01995@panzer.plutotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 6 Nov 1998, Kenneth D. Merry wrote: > That's not surprising at all. :) > > > What do you think about CAM_DEBUG_XPT flag that will allow this > > to be traced separate from other tracing? > > Well, we could do that, but I'd rather have a little more generic solution > that would allow turning on/off tracing for various modules or drivers. > > I.e., have something that would let you just turn on tracing for the sa > driver, or just for the transport layer, or just for the error recovery > code in cam_periph.c/scsi_all.c, or for all modules... Well- if this is the case, let's nuke CAM_DEBUG_PRINT (at least as it is currently used in cam_xpt.c- it really has to be used only sparingly or you'll never be able to find this debugging any use at all) and allow a set of arbitrary cam paths to used for debugging being enabled. The xpt layer itself has a path (CAM_XPT_PATH_ID). -matt p.s.: I seem to have been unsubscribed from a number of lists (again), so if I've missed anything important on freebsd-scsi, let me know. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message