[root@localhost workspace]# uname -a
Linux localhost.localdomain 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost workspace]# lj-lua-stacks.sxx --arg time=10 --skip-badvars -x 18767
Found exact match for libluajit: /home/samuelyao/openresty/luajit/lib/libluajit-5.1.so.2.1.0
semantic error: while processing function luajit_G
semantic error: unable to find member 'ptr32' for struct MRef
(alternatives: ptr64): operator '->' at
stapxx-cyF6xeHE/luajit.stp:162:103
source: return @cast(L, "lua_State", "/home/samuelyao/openresty/luajit/lib/libluajit-5.1.so.2.1.0")->glref->ptr32
^
semantic error: unable to find member 'ptr32' for struct MRef (alternatives: ptr64): operator '->' at :162:103
source: return @cast(L, "lua_State", "/home/samuelyao/openresty/luajit/lib/libluajit-5.1.so.2.1.0")->glref->ptr32
^
semantic error: unable to find member 'ptr32' for struct MRef (alternatives: ptr64): operator '->' at :162:103
source: return @cast(L, "lua_State", "/home/samuelyao/openresty/luajit/lib/libluajit-5.1.so.2.1.0")->glref->ptr32
^
我的环境是。 centos 7 , openresty-1.15.8.1.
systemtap 我验证了是可以正常使用的, 我用它对skynet 进行了采样, 成功输出了火焰图 (https://www.cnblogs.com/Lifehacker/p/skynet_systemtap_for_service.html)。
请问, 是不是新版本的 LuaJIT 跟现在的stap++ 不兼容了?