intel / intel/gprofiler

Adding flag --pid/-p to pyperf doesn't result as intended

Open
#764 0 comments 0 reactions 0 assignees View on GitHub
runtime/python
Dominant language
Python
Stars
826
Forks
79
PR merge metrics
No merged PRs in 30d

Description

Found during work on filtering PID's (https://github.com/Granulate/gprofiler/pull/761). As stated in issue title: Adding flag --pid/-p to pyperf doesn't result as intended. Pyperf seems to ignore this flag and profile everything anyway.

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.