From owner-freebsd-current@FreeBSD.ORG Tue Jul 20 02:45:49 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7D1C1065672 for ; Tue, 20 Jul 2010 02:45:49 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F73B8FC0A for ; Tue, 20 Jul 2010 02:45:49 +0000 (UTC) Received: by pwj9 with SMTP id 9so2255773pwj.13 for ; Mon, 19 Jul 2010 19:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=fVFnbWrlRAeWiUqDOxthE3qH4cWJFJgZHsuyV5LJfGA=; b=R84ImJUEJudK8HFVP74VBvKc85c4X8EmtsgmOqV/v/zD+ldsbRr8yhB/3clHskr7Qm toDtiehhSQDysM9+0nO57fjpzc+dzp4bHlVapIX61mGyQdl/6WKVPeiRAy3c/NXwlAKg CwbYu7Vs2vG/BUia1PB2HzxGY2jpzhoAaAvZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=dmFhG0wjA6MpGfEHG292FsqfZus+rADCALRIQFRdgzZVW/Fzu8nMp1hoqyxvk4jGd2 +CCOZDEDA6mPEHf1//p+WWy4F1B9rN1ojqEXV1d2FT7MT7NOKqh0gKhAZAe1XVoHDGkE waYioi0e9KZSrW7uuFdc4lKQ4/SugrZzrlkh0= Received: by 10.142.179.10 with SMTP id b10mr8445703wff.157.1279593948853; Mon, 19 Jul 2010 19:45:48 -0700 (PDT) Received: from itx (c-67-174-240-133.hsd1.ca.comcast.net [67.174.240.133]) by mx.google.com with ESMTPS id x18sm7179755wfd.8.2010.07.19.19.45.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Jul 2010 19:45:47 -0700 (PDT) Date: Mon, 19 Jul 2010 19:45:41 -0700 From: Navdeep Parhar To: Doug Barton Message-ID: <20100720024541.GA25037@itx> Mail-Followup-To: Doug Barton , Chris Ruiz , freebsd-current@freebsd.org References: <20100717192128.GM2381@deviant.kiev.zoral.com.ua> <20100718103003.GO2381@deviant.kiev.zoral.com.ua> <4C43541C.3060101@FreeBSD.org> <20100718194109.GU2381@deviant.kiev.zoral.com.ua> <4C435CBE.50500@FreeBSD.org> <20100718202338.GI5485@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Chris Ruiz , freebsd-current@freebsd.org Subject: Re: Why is intr taking up so much cpu? 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: Tue, 20 Jul 2010 02:45:49 -0000 On Mon, Jul 19, 2010 at 07:33:01PM -0700, Doug Barton wrote: > On Mon, 19 Jul 2010, Chris Ruiz wrote: > > >On Mon, Jul 19, 2010 at 8:03 PM, Doug Barton wrote: > >>I added options KDTRACE_HOOKS to my kernel config, built a new kernel, and > >>rebooted. I decided to try your script before things went sideways so I'd > >>have an idea of what to expect, and it didn't work: > >> > >>dtrace: failed to initialize dtrace: DTrace device not available on system > >> > >>Is there something else I need to do to enable it? > > > >You need to build the kernel with CTF. Try adding "makeoptions > >WITH_CTF=yes" to your config and rebuilding your kernel. There's a > >blurb in src/UPDATING about other ways to accomplish the same thing. > > Thanks for the suggestion, but no improvement. Doing: > strings /boot/kernel/kernel | grep -i dtrace > > Shows lots of dtrace-related entries, unlike previous kernels built > without the KDTRACE_HOOKS option, but same error with Dan's script. Try a "kldload dtraceall" before running the script. Regards, Navdeep