From owner-freebsd-stable@FreeBSD.ORG Sun Dec 5 03:34:54 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEFEF106564A; Sun, 5 Dec 2010 03:34:53 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4F5998FC12; Sun, 5 Dec 2010 03:34:52 +0000 (UTC) Received: by wyf19 with SMTP id 19so11010009wyf.13 for ; Sat, 04 Dec 2010 19:34:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=07zG3XpV453dBJ2Ru4yRsti20Phn9H/+zUsoRiHoeKs=; b=rFKlg6wHdc2V+7kDepUHfTjJTv0fLImu3/gbwxuLDJUWHBl4QzoRlWJTbzTITGw1Dk TaRFievpcL9C1W5IdgIHcIPWMKymFbhCg3DOhGqfMRfHmEQ1Ti1bn1ZPdmNknx5Z9yJY UI0r21Sj1wZmildji6es1PnXW5Q0ZnPVXolpE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HJy9Ygyfk6FvdN6f/HN162xLUdOnTMex+PuK1XFhFk9sgAEcTfWEusbOm22vArzn64 1L0NVfP8vXB/FbRBXRpQ4PsFpUSdILIy933Cf8AayCwh5LzeIfj1xEErGia9r9Kpr7Ka h4uOLvVja3jlFiaaY1Qu0izK+mmIv5wRkpN9I= MIME-Version: 1.0 Received: by 10.227.134.142 with SMTP id j14mr3936840wbt.228.1291520090498; Sat, 04 Dec 2010 19:34:50 -0800 (PST) Received: by 10.227.136.84 with HTTP; Sat, 4 Dec 2010 19:34:50 -0800 (PST) In-Reply-To: <4CFA23A7.3050604@freebsd.org> References: <20101123131353.GA7243@icarus.home.lan> <20101123132519.GA1426@icarus.home.lan> <4CEBC155.9090706@freebsd.org> <20101202002734.GA84177@icarus.home.lan> <20101202022416.GA86118@icarus.home.lan> <4CF8FDC8.7050702@freebsd.org> <4CF97D6A.7020900@freebsd.org> <4CFA23A7.3050604@freebsd.org> Date: Sat, 4 Dec 2010 21:34:50 -0600 Message-ID: From: Zhihao Yuan To: Andriy Gapon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Brandon Gooch , freebsd-stable@freebsd.org, Navdeep Parhar , Jeremy Chadwick Subject: Re: Fwd: Re: Fail to use Dtrace on FreeBSD 8.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2010 03:34:54 -0000 On Sat, Dec 4, 2010 at 5:19 AM, Andriy Gapon wrote: > on 04/12/2010 04:28 Zhihao Yuan said the following: > > My world and kernel are sync. Is it possible that the dtrace-enabled > kernel must > > be compiled with '-g'? > > It shouldn't be a requirement. But please try. > > DTrace (userland utility on FreeBSD) self-diagnostics really should be > improved. > Obscure complaints about problem in system .d files do not help at all for > a > user to understand what the actual problem could be. Sigh. > > -- > Andriy Gapon > Yes... I hope the coming 8.2-RELEASE can have these 3 providers http://wiki.freebsd.org/DTrace/userland especially the pid provider. :( So far, we can only trace some system calls used by a userland program, which may bot be that helpful. -- Zhihao Yuan The best way to predict the future is to invent it.