Current-Users archive

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

Re: in-system dtrace ".d" failure



(Resend with subject line)

> "/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.

Might we get someone to update src/BUILDING for this?


+------------------+--------------------------+-------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
+------------------+--------------------------+-------------------------+


Home | Main Index | Thread Index | Old Index