From 1489d15d74cb508ed853b6b5af9ec8d76ff138c5 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 13 Feb 2023 02:31:08 +0800 Subject: [PATCH] Update ngx_debug.sh --- plugins/op_waf/t/ngx_debug.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/op_waf/t/ngx_debug.sh b/plugins/op_waf/t/ngx_debug.sh index ecd4cffdd..87b8ed9ac 100644 --- a/plugins/op_waf/t/ngx_debug.sh +++ b/plugins/op_waf/t/ngx_debug.sh @@ -1,6 +1,10 @@ #!/bin/sh export PATH=$PATH:/opt/stap/bin:/opt/stapxx +# cd /www/server/mdserver-web/plugins/op_waf/t && bash ngx_debug.sh lua ok + + + # https://moonbingbing.gitbooks.io/openresty-best-practices/content/flame_graph/install.html # apt install elfutils # sudo apt-get install -y systemtap gcc @@ -72,7 +76,7 @@ else fi - +# debuginfo-install kernel-3.10.0-1160.80.1.el7.x86_64 # /opt/FlameGraph/stackcollapse-perf.pl perf.unfold &> perf.folded # /opt/FlameGraph/flamegraph.pl perf.folded > perf.svg