Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run ngx-active-reqs, and then appear semantic error #47

Open
omigafu opened this issue Jun 23, 2018 · 1 comment
Open

run ngx-active-reqs, and then appear semantic error #47

omigafu opened this issue Jun 23, 2018 · 1 comment

Comments

@omigafu
Copy link

omigafu commented Jun 23, 2018

➜ openresty-systemtap-toolkit-master ./ngx-active-reqs -p 14172
semantic error: symbol without referent: identifier 'nreqs' at :131:13
source: if (nreqs || !0) {
^

semantic error: while resolving probe point: identifier 'process' at :6:7
source: probe process("/opt/openresty/nginx/sbin/nginx").function("ngx_process_events_and_timers"),
^

semantic error: no match (similar functions: ngx_process_events_and_timers, ngx_event_add_timer, ngx_event_find_timer, ngx_event_del_timer, ngx_process_get_status)

Pass 2: analysis failed. [man error::pass2]
Number of similar error messages suppressed: 2.
Rerun with -v to see them.

system: ubuntu
gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
use openresty source code to install

@and1990
Copy link

and1990 commented Jul 26, 2018

I have the same problem. Anybody can solve this problem?

I have installed kernel-debuginfo packages.

[root@localhost openresty-systemtap-toolkit]# rpm -qa|grep ^kernel
kernel-3.10.0-327.el7.x86_64
kernel-debuginfo-common-x86_64-3.10.0-514.16.1.el7.x86_64
kernel-tools-libs-3.10.0-514.16.1.el7.x86_64
kernel-headers-3.10.0-514.16.1.el7.x86_64
kernel-tools-3.10.0-514.16.1.el7.x86_64
kernel-devel-3.10.0-514.16.1.el7.x86_64
kernel-devel-3.10.0-514.2.2.el7.x86_64
kernel-debuginfo-3.10.0-514.16.1.el7.x86_64
kernel-devel-3.10.0-327.el7.x86_64
kernel-devel-3.10.0-862.9.1.el7.x86_64
kernel-3.10.0-514.16.1.el7.x86_64

[root@localhost openresty-systemtap-toolkit]# uname -r
3.10.0-514.16.1.el7.x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants