From owner-freebsd-current@FreeBSD.ORG Thu Jun 12 22:20: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 60A28106566B for ; Thu, 12 Jun 2008 22:20:34 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id D99EE8FC13 for ; Thu, 12 Jun 2008 22:20:33 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so3122832fgb.35 for ; Thu, 12 Jun 2008 15:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=4NWs5dSAFhpn9A2aD8fNP5n9LABb8ZZEIkB8hZN03wk=; b=LnDSWCGjUEqBXN5+HLGeOWb7CN6Y3dNvN5cF8D9tV77wUI8CjuXEAxuEzS5SFb6nOp OnzU+dJ48r83fMvQRdoZwANRprPzIHIrKKFysjmxbGbYoqSwRCEXAQPk5nVC2wEnlLkY qqZ9gcPDe4qpfEXDzRzK/OMv5gJ0Yl6bU50Rg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PR8i5RXE/EEyj1fK6jvjSOrFbsWsa7IRcZyU4ETmu4q8UJIjs5OWFW7VGKt8Q0qULX oo4mpZzOBDfnZ9EQZDECFdl06fGjds5DnTZwmEVOhh2iW8Lgv2Fhck0rc0aLilPTpZO7 yOuohNLJC64VmIL68Qw050Cr7SVSUuCw/HSEs= Received: by 10.86.82.16 with SMTP id f16mr3064727fgb.9.1213309232463; Thu, 12 Jun 2008 15:20:32 -0700 (PDT) Received: by 10.86.68.11 with HTTP; Thu, 12 Jun 2008 15:20:32 -0700 (PDT) Message-ID: <83e5fb980806121520q3fa5596bu65141bf1a5fe2cb3@mail.gmail.com> Date: Fri, 13 Jun 2008 00:20:32 +0200 From: "Diego Depaoli" To: "John Birrell" , current@freebsd.org In-Reply-To: <20080612215229.GA68604@what-creek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080611051257.GA51683@what-creek.com> <83e5fb980806121438m1e627af9vf9ab294ca56206eb@mail.gmail.com> <20080612215229.GA68604@what-creek.com> Cc: 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 22:20:34 -0000 2008/6/12 John Birrell : > 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. Well > When you enable > probes, the impact depends on how many probes, how often they are called > and what the actions do. Sounds logic >> 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. Make kernel goes right, now I reboot. Many thanks -- Diego Depaoli