Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2010 19:45:41 -0700
From:      Navdeep Parhar <nparhar@gmail.com>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        Chris Ruiz <yr.retarded@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: Why is intr taking up so much cpu?
Message-ID:  <20100720024541.GA25037@itx>
In-Reply-To: <alpine.BSF.2.00.1007191931040.1694@qbhto.arg>
References:  <20100717192128.GM2381@deviant.kiev.zoral.com.ua> <alpine.BSF.2.00.1007180113370.1707@qbhto.arg> <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> <alpine.BSF.2.00.1007191800460.1873@qbhto.arg> <AANLkTimwRV5jSP6z4_Z51RapkVgfTSHVQrVHONWKjA9B@mail.gmail.com> <alpine.BSF.2.00.1007191931040.1694@qbhto.arg>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dougb@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100720024541.GA25037>