Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: in-system dtrace ".d" failure



In article <CABfrOT-Mao7hSq_xB2FGZVwSo5Y3dSP4wpPqdv0__Nva=MCXrA%mail.gmail.com@localhost>,
bch  <brad.harder%gmail.com@localhost> wrote:
>> "/usr/lib/dtrace/psinfo.d", line 46: syntax error near "u_int"
>
>I'm trying to build a userland app w/ dtrace support, and a dtrace
>compilation is failing w/ the above error... Is anybody having success
>instrumenting userland code w/ dtrace ? I saw this[0], and will be
>looking for representative code. In the meantime, I've diff'd our
>/usr/lib/dtrace/psinfo.d w/ FreeBSD head and see no immediate fixes
>for ourselves (note: I'm not a dtrace expert).
>
>Does anybody have insight or comments on this ?

You need a kernel compiled with MKCTF.

christos



Home | Main Index | Thread Index | Old Index