From owner-freebsd-current@FreeBSD.ORG Wed Jun 11 06:11:34 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83205106566B for ; Wed, 11 Jun 2008 06:11:34 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6809D8FC12 for ; Wed, 11 Jun 2008 06:11:34 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id EA8817330F; Wed, 11 Jun 2008 06:11:33 +0000 (GMT) Date: Wed, 11 Jun 2008 06:11:33 +0000 From: John Birrell To: Josh Carroll Message-ID: <20080611061133.GA52014@what-creek.com> References: <20080611051257.GA51683@what-creek.com> <8cb6106e0806102301q3862635cg1e693a63fbfac83d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8cb6106e0806102301q3862635cg1e693a63fbfac83d@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: Getting started with DTrace in FreeBSD-current (a.k.a. 8) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2008 06:11:34 -0000 On Wed, Jun 11, 2008 at 02:01:16AM -0400, Josh Carroll wrote: > > 1. Grab the latest current sources for the entire src tree. > > 2. Do a 'make buildworld' of those sources on either a -current system > > or a releng7 system. > > 3. Add 'options KDTRACE_HOOKS' and 'options DDB_CTF' to your kernel > > config file (on i386 or amd64; users of other arches can go watch > > a movie instead). > > Do I need an additional patch on RELENG_7? Trying to build a kernel > with "options DDB_CTF" indicates it's an unknown option: > > /usr/src/sys/i386/conf/DEV: unknown option "DDB_CTF" > > I grep'd through /usr/src/sys and the only reference to DDB_CTF was in > my kernel config file. I can post a patch for RELENG_7. Soon! -- John Birrell