Granulate / gprofiler

gProfiler is a system-wide profiler, combining multiple sampling profilers to produce unified visualization of what your CPU is spending time on.
https://profiler.granulate.io
Apache License 2.0
743 stars 54 forks source link

Adding flag --pid/-p to phpspy results in GProfiler getting stuck #763

Open mpozniak95 opened 1 year ago

mpozniak95 commented 1 year ago

Found during work on filtering PID's (https://github.com/Granulate/gprofiler/pull/761). As stated in issue title: Adding flag --pid/-p to phpspy results in GProfiler getting stuck.

For now instead of filtering PID's and profile only pid's provided by --pid phpspy profile every php process and then filter output to return only pid's provided. This needs to be changed