From owner-freebsd-current@FreeBSD.ORG Thu Jun 12 21:52:30 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 833181065673 for ; Thu, 12 Jun 2008 21:52:30 +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 5A0FF8FC16 for ; Thu, 12 Jun 2008 21:52:30 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id BEDE47331B; Thu, 12 Jun 2008 21:52:29 +0000 (GMT) Date: Thu, 12 Jun 2008 21:52:29 +0000 From: John Birrell To: Diego Depaoli Message-ID: <20080612215229.GA68604@what-creek.com> References: <20080611051257.GA51683@what-creek.com> <83e5fb980806121438m1e627af9vf9ab294ca56206eb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83e5fb980806121438m1e627af9vf9ab294ca56206eb@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: Thu, 12 Jun 2008 21:52:30 -0000 On Thu, Jun 12, 2008 at 11:38:50PM +0200, Diego Depaoli wrote: > 2008/6/11 John Birrell : > > > > It's been a few weeks now since I committed DTrace support to current. > > I'm curious... impact over performances? DTrace is supposed to be low impact until you enable probes. When you enable probes, the impact depends on how many probes, how often they are called and what the actions do. > kern_dtrace.o(.text+0x1e0): first defined here > ld: Warning: size of symbol `kdb_enter' changed from 34 in > kern_dtrace.o to 70 in subr_kdb.o > *** Error code 1 Try removing the #ifndef and the code it contains in kern_dtrace.c. It looks like the kdb_enter function is always compiled in. -- John Birrell