Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

[RFC] Supports multiples PID (-p PID1 -p PID2 ...) #176

Open
3 tasks done
moylop260 opened this issue Jul 16, 2019 · 0 comments
Open
3 tasks done

[RFC] Supports multiples PID (-p PID1 -p PID2 ...) #176

moylop260 opened this issue Jul 16, 2019 · 0 comments

Comments

@moylop260
Copy link

moylop260 commented Jul 16, 2019

Make sure that these boxes are checked before submitting your issue:

  • Include the output of pyflame -v
  • pyflame 1.6.6 linux-gnu x86_64 (ABI list: 26 34 36)
  • Include the exact version of the Python interpreter you are profiling.
  • Python 3.5.3
  • Include the exact text of any error messages.
  • I don't have any error message really.

I'm using the following python app:

It has a parameter called workers
Using this feature many python process PID are started.

pyflame currently doesn't support -p PID1 -p PID2 -p PID3 since that I just tested and it is not collecting the full information of a particular process.

I need using a

pyflame ... -o test_1.flame -p PID1
pyflame ... -o test_2.flame -p PID2
pyflame ... -o test_3.flame -p PID3
pyflame ... -o test_4.flame -p PID4

After I just transform all output to svg using:
flamegraph.pl test_*.flame >test.svg

Now It collects the full information of the particular process.

IMHO It could be a good feature if pyflame supports multiple PID with -p

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

No branches or pull requests

1 participant