systemtap:while resolving probe point: identifier 'process' at source: probe process().function no match
I had installed nginx and lua in my docker image, but I didn’t install nginx on my physical CentOS system. I “docker run my image” and start nginx on my physical CentOS system. So the nginx master and worker process are working. I run an example of nginx-systemtap-toolkit. I run:
sudo ./ngx-active-reqs -p 24945
24945 is worker process id. errors as following:
semantic error: while resolving probe point: identifier 'process' at <input>:6:7 source: probe process("/data1/nginx/sbin/nginx").function("ngx_process_events_and_timers"), ^ semantic error: no match Pass 2: analysis failed. [man error::pass2] Number of similar error messages suppressed: 1
In fact, “/data1/nginx/sbin/nginx” is the nginx path in docker image, nginx is not installed on my physical system. So whether I must install nginx on my physical system , or is there other method to use nginx’s process function? I don’t know how to solve the problem.