[dtrace-discuss] Help: dtrace failed to compile

Brian Xu - Sun Microsystems - Beijing China
2007-06-06T11:32:41Z

Hi,

I use dtrace fbt provider to trace the arguments to a function in one kernel
module, then after I rebuild that module, why the dtrace script which works well
before rebuilding fails to be compiled. See below:

helios(32):> sudo ./scan.d
Password:
dtrace: failed to compile script ./scan.d: line 5: operands have
incompatible types: "priv_info_uint_t" + "int"

Line 5 in scan.d:
        printf("essid = %.*s\n", ((struct ieee80211_scanparams
*)args[1])->ssid[1],stringof(((struct ieee80211_scanparams
*)args[1])->ssid + 2));

Any hints would be appreciated.

Thanks in advance,
Brian