Hello!
On Mon, Mar 9, 2015 at 9:57 PM, <zheng.x...@zte.com.cn> wrote:
> 在使用stap++的这个例子sample-bt-leaks.sxx时,发现对cjson动态库分析失败,过程如下:
> [root@host-192-168-1-154 stapxx-master]# ./samples/sample-bt-leaks.sxx -v -x 28163 --arg time=5 -D STP_NO_OVERLOAD -D MAXMAPENTRIES=10000 > a.bt
> Ignored ambiguous library /lib64/libc-2.12.so for "libc"
> Ignored ambiguous library /lib64/libcrypt-2.12.so for "libc"
> Pass 1: parsed user script and 106 library script(s) using 176560virt/33348res/2540shr/31464data kb, in 270usr/30sys/286real ms.
> semantic error: while resolving probe point: identifier 'process' at <input>:17:7
> source: probe process("/home/nginx/lualib/cjson.so").function("malloc").return,
> ^
>
你确认你的 stap++ 仓库是最新的吗?请尝试 git pull. 我记得我前不久刚修正过这个问题。
Regards,
-agentzh