./samples/lj-lua-stacks.sxx --arg time=5 --skip-badvars -x 2871915 > ~/perf.bt
Found exact match for libluajit: /usr/local/openresty/luajit/lib/libluajit-5.1.so.2.1.0
In file included from /usr/share/systemtap/runtime/linux/runtime.h:201:0,
from /usr/share/systemtap/runtime/runtime.h:24,
from /tmp/stapdiQN45/stap_b7d4c96a12d824bc289ba86f5d42b8c9_43901_src.c:26:
/usr/share/systemtap/runtime/linux/access_process_vm.h: In function ‘__access_process_vm_’:
/usr/share/systemtap/runtime/linux/access_process_vm.h:24:8: error: implicit declaration of function ‘get_task_mm’ [-Werror=implicit-function-declaration]
mm = get_task_mm (tsk);
^~~~~~~~~~~
/usr/share/systemtap/runtime/linux/access_process_vm.h:24:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
mm = get_task_mm (tsk);
^
/usr/share/systemtap/runtime/linux/access_process_vm.h:35:29: error: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror=int-conversion]
ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
^~~
In file included from ./include/linux/pid_namespace.h:7:0,
from ./include/linux/ptrace.h:10,
from ./include/linux/ftrace.h:14,
from ./include/linux/kprobes.h:42,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
展开