Hi, I would like to record a flame graph with ruby application running with unicorn_rails. However, the flame graph seems only record the master process.
Also, I tried the rbspy with --subprocesses flag and the flame graph can record all the worker process correctly.
$ ./rbspy record --duration 60 --pid 9 --subprocesses
Therefore, I'm thinking if we need to set the --subprocesses flag in agent/profiler/ruby.go line 31 to make it able to record all the subprocess. Thanks!
Hi, I would like to record a flame graph with ruby application running with unicorn_rails. However, the flame graph seems only record the master process.
Currently, the running processes likes below:
I run the following command to record the flame graph but the flame graph only record the master process.
Also, I tried the rbspy with
--subprocesses
flag and the flame graph can record all the worker process correctly.Therefore, I'm thinking if we need to set the
--subprocesses
flag in agent/profiler/ruby.go line 31 to make it able to record all the subprocess. Thanks!