Re: Why is intr taking up so much cpu?

From: Navdeep Parhar <nparhar_at_gmail.com>
Date: Mon, 19 Jul 2010 19:45:41 -0700
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_at_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
Received on Tue Jul 20 2010 - 00:45:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC