From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 26 00:10:04 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1595816A420 for ; Thu, 26 Jan 2006 00:10:04 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48F3343D48 for ; Thu, 26 Jan 2006 00:10:03 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 4A17746B8C; Wed, 25 Jan 2006 19:09:56 -0500 (EST) Date: Thu, 26 Jan 2006 00:11:22 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Pranav Peshwe In-Reply-To: Message-ID: <20060126001021.B89523@fledge.watson.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org Subject: Re: KTR not working !! X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 00:10:04 -0000 On Wed, 25 Jan 2006, Pranav Peshwe wrote: > Hello, > I recompiled the kernel with KTR (4) support.But i could find the > logged messages nowhere ! When i use 'ktrdump' on the console ,the ouput is > : You might take a glance at: http://www.watson.org/~robert/freebsd/netperf/ktr/ And make sure you didn't miss any steps. In particulare, make sure that you have both compiled in support for the ktrace record types you want, and enabled them at runtime. Robert N M Watson > > index trace > ------ ----- > > When i try to view the logging from DDB by issuing 'show ktr', only a > message saying '--- End of trace buffer ---' is displayed. > > I paste a portion (related to debugging options) of the config file i > used, to recompile the kernel. > > #----- > options KTR > options KTR_ENTRIES=8192 > options KTR_VERBOSE > > options INVARIANTS > options INVARIANT_SUPPORT > options WITNESS > options WITNESS_KDB > > options KDB > options KDB_TRACE > options DDB > options GDB > options BREAK_TO_DEBUGGER > #----- > > Am i missing something very important ? How can i view the > information logged by the various CTR[0-5] macros used in the kernel > source ? > > TIA. > > Regards, > Pranav > > --------------------------------------------------------------------------- > Heisenberg is out for a drive when he's stopped by a traffic cop. > The cop says: "Do you know how fast you were going?" > Heisenberg replies: "No,but I know where I am" > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >