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:

  • NodeJs development offline in docker
  • How to specify different .dockerignore files for different builds in the same project?
  • sbt only fetch dependencies
  • DockerHub set tag alias in automated build
  • How to restart tcserver instance within docker?
  • Docker jetty container JVM memory allocation
  • 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.

  • Different result using docker-compose vs docker run
  • How to set custom IP for Solr server from Docker compose file?
  • Docker in Ubuntu switching filesystem to overlay is not supported?
  • Docker flask cant connect
  • Cannot access Google Container Registry from Google Compute Engine
  • Can I obtain real user ip with “iptables”: false enabled?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.