pull/216/head
midoks 3 years ago
parent 01e388ea45
commit a54410df6e
  1. 7
      plugins/op_waf/t/ngx_debug.sh
  2. 1
      plugins/openresty/install.sh

@ -19,12 +19,19 @@ name=$2
# /opt/openresty-systemtap-toolkit/sample-bt -p 496435 -t 5 -k > a.bt
# export PATH=$PATH:/opt/stapxx
# /opt/stapxx/samples/lj-lua-stacks.sxx --arg time=5 --skip-badvars -x 562556 -DSTP_NO_OVERLOAD > tmp.bt
if [ ! -d /opt/openresty-systemtap-toolkit ];then
cd /opt && git clone https://github.com/openresty/openresty-systemtap-toolkit
fi
if [ ! -d stapxx ];then
cd /opt && git clone https://github.com/openresty/stapxx
fi
if [ ! -d /opt/FlameGraph ];then
cd /opt && git clone https://github.com/brendangregg/FlameGraph
fi

@ -65,6 +65,7 @@ Install_openresty()
--with-http_stub_status_module \
--with-http_realip_module
# --without-luajit-gc64
# --with-debug
# 用于调式
make -j${cpuCore} && make install && make clean

Loading…
Cancel
Save