DTrace/FreeBSD source snapshot

Andrew Gallatin gallatin at cs.duke.edu
Sat Feb 2 11:30:01 PST 2008


John Birrell writes:
 > On Fri, Feb 01, 2008 at 04:17:40PM -0500, Andrew Gallatin wrote:
 > > A make -j16 buildworld using this tree died like as follows on
 > > a virgin box, so it seems there may be some dependancy issues
 > > to work out:
 > > 
 > > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_CONFIG_H
 > > -I/var/tmp/dtrace/src/kerberos5/tools/make-roken/../../include -g  -c
 > > make-roken.c
 > > ctfconvert -L VERSION make-print-version.o
 > > ctfconvert: not found
 > > *** Error code 127
 > 
 > I suggest building without -j16 for now. It should use the ctfconvert
 > built as a buildtool. I must need something more to tell make not
 > to get ahead of itself.

I was excited to try it, I had an 8-way 1.8Ghz opteron, and I had less
than an hour to work with.  :)

 > 
 > Also, there are a couple of references to SMP_MAXCPU which need to be
 > changed to MAXCPU. I missed those. Oops.

My panic-on-boot seems to have been caused by syscallnames[]
being missing because I'm not running witness/invarients.
I've attached a patch.  I've not yet had time to try it.

Drew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.diff
Type: application/octet-stream
Size: 429 bytes
Desc: patch to build syscalls for dtrace
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080202/4d91cf97/t.obj


More information about the freebsd-current mailing list