[dtrace-discuss] Help: dtrace failed to compile

Brian Xu - Sun Microsystems - Beijing China Brian.Xu at Sun.COM
Wed Jun 6 04:32:41 PDT 2007


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



More information about the dtrace-discuss mailing list