From owner-freebsd-scsi Fri Nov 6 15:57:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24607 for freebsd-scsi-outgoing; Fri, 6 Nov 1998 15:57:58 -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 PAA24601 for ; Fri, 6 Nov 1998 15:57:57 -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 PAA04700; Fri, 6 Nov 1998 15:57:35 -0800 Date: Fri, 6 Nov 1998 15:57:35 -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: <199811062353.QAA03708@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 > > 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). > > I think it's fine to trim down the number of CAM_DEBUG_PRINT statements in > cam_xpt.c. > > The transport layer path is -1, which is also used to turn on debugging for > all busses. > > I'd rather come up with something separate from cam_path statements to > specify which files/modules you want debugging info from. > There are two things desired: one is files/modules. There is per-device. Well, we can discuss it until the cows come home. Why don't I hack for a while and if something seems of general use, I'll propose it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message