Hisayoshi Kato
2007-Sep-14 07:25 UTC
[dtrace-discuss] dtrace keys to aggregations ''s character
Hi, Please give your suggestion about dtrace keys to aggregation''s charcter. Is there any limit character specification of the use of aggregation buffer? If it have any problem, USDT or pid provider''s aggregation can''t be used by containing japanese. Any advice is appreciated. Regards katohisa -- dtrace log About dtrace parser.. English charcter is fine. [kato at solaris-devx]$ dtrace -n ''tick-1sec{@["agg char"]= count();}'' dtrace: description ''tick-1sec'' matched 1 probe ^C agg char 1 But, Japanese(EUC,SJIS) have the missing. [root at katohisa]# dtrace -n ''syscall:::entry{@["???"] = count()}'' dtrace: invalid probe specifier syscall:::entry{@["???"] = count()}: syntax error near """ --- About aggreation buffer also, the following is fine. [root at katohisa]# dtrace -n ''syscall::write:entry/pid==$target/{@[copyinstr(arg1)]=count();}'' -c "ech o a" dtrace: description ''syscall::write:entry'' matched 1 probe a dtrace: pid 16927 has exited a 1 But, Japanse word "???" have the missing... [root at katohisa]# dtrace -n ''syscall::write:entry/pid==$target/{@[copyinstr(arg1)]=count();}'' -c "ech o ???" dtrace: description ''syscall::write:entry'' matched 1 probe ??? dtrace: pid 16934 has exited 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 0: a4 a2 a4 a4 a4 a6 0a 00 00 00 00 00 00 00 00 00 ................ 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................