openresty-systemtap-toolkit icon indicating copy to clipboard operation
openresty-systemtap-toolkit copied to clipboard

ngx-active-reqs: fix the "semantic error: symbol without referent: id…

Open yancl opened this issue 6 years ago • 1 comments

when run ngx-active-reqs by stap 4.0 without the "-k" option, it reports the following errors:

semantic error: symbol without referent: identifier 'nreqs' at <input>:133:13
    source:         if (nreqs || !0) {
                            ^

so we can assign the $keep_waiting const to a var to fix it

yancl avatar Oct 15 '19 12:10 yancl

also fix https://github.com/openresty/openresty-systemtap-toolkit/issues/47 and https://github.com/openresty/openresty-systemtap-toolkit/issues/55

yancl avatar Oct 15 '19 12:10 yancl