From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 25 08:35:03 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 153CE16A41F for ; Wed, 25 Jan 2006 08:35:03 +0000 (GMT) (envelope-from pranavpeshwe@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6C6543D6B for ; Wed, 25 Jan 2006 08:34:57 +0000 (GMT) (envelope-from pranavpeshwe@gmail.com) Received: by wproxy.gmail.com with SMTP id i31so46738wra for ; Wed, 25 Jan 2006 00:34:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dtSKQikE241USSLH89QAvE/BWfdmNL0N5iv26sqt7UY8TJ55J95BKLiLm7zF7sUSKb1+nd81vMUKhfH6wCYDC/CYogwoVjHNxOz7gGK05+t6fF0EMPrd9g73GZjK0ubq0UY4Wayjrc9J1kg4D8fFaS5gzYEYCgzvu+g1yWZYW3o= Received: by 10.54.100.2 with SMTP id x2mr631956wrb; Wed, 25 Jan 2006 00:34:56 -0800 (PST) Received: by 10.54.99.13 with HTTP; Wed, 25 Jan 2006 00:34:56 -0800 (PST) Message-ID: Date: Wed, 25 Jan 2006 14:04:56 +0530 From: Pranav Peshwe To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: 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: Wed, 25 Jan 2006 08:35:03 -0000 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 : 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 =09KTR=09=09=09=09 options =09KTR_ENTRIES=3D8192 options =09KTR_VERBOSE options=09=09INVARIANTS options =09INVARIANT_SUPPORT options =09WITNESS=09=09=09=09=09=09 options =09WITNESS_KDB options KDB options KDB_TRACE options DDB options GDB options=09BREAK_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"