centos 7.1 yum安装的stap ,yum安装的openresty 。
lj_lua_stack探测到某些sample 的 lua stack 的最先调用的那个函数frame的路径被截断 然后是行号(有时行号就错误了,fix lua时就找不到对应函数),其他frame倒是正常frame行(路径:行号)。
在flamegraph里发现一些高框是好多调用栈堆叠起来,根本没有调用关系。
附件a99.svg是未修改lua stack的燃烧图,a99f.svg是修改后的,在修复的时候会报错,某些函数找不到。
stap ver:
Systemtap translator/driver (version 2.8/0.163, rpm 2.8-10.el7)
luajit ver:from yum reposity
LuaJIT 2.1.0-beta2 -- Copyright (C) 2005-2016 Mike Pall. http://luajit.org/
Attachment:
a99.svg
Description: image/svg
Attachment:
a99f.svg
Description: image/svg