Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2011 10:02:09 +0200 (CEST)
From:      Michael Reifenberger <mike@reifenberger.com>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        FreeBSD-Current <freebsd-current@FreeBSD.org>
Subject:   Re: newnfs user setup
Message-ID:  <alpine.BSF.2.00.1105270947500.49416@gw.reifenberger.com>
In-Reply-To: <544964538.877581.1306450040601.JavaMail.root@erie.cs.uoguelph.ca>
References:  <544964538.877581.1306450040601.JavaMail.root@erie.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 May 2011, Rick Macklem wrote:
...
> Alternately, if you could email me some simple instructions on how
> to test it, that would be appreciated as well. (I have never used
> DTrace, so I have no idea how to test it.) It is basically a clone
> of the other one, except for the NFSv4 stuff, so it "should" work
> about the same.
>

The simplest way of a basic test should be:

- Put into your kernel.conf:
   options         KDTRACE_FRAME # could be for amd64 only
   options         KDTRACE_HOOKS
   options         DDB_CTF # could be optional

- make buildworld  WITH_CTF=1 && make buildkernel WITH_CTF=1

- Put into your loader.conf:
   dtraceall_load="YES"

After reboot check:
dtrace -l

If you see lots of fbt and sdt (esp. the nfs ones) providers all should be 
prepared and fine.

Bye/2
---
Michael Reifenberger
Michael@Reifenberger.com
http://www.Reifenberger.com




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