Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-introduce per-process CPU collection (#1146)
### What does this PR do? This commit re-introduces per-process CPU data from /proc/{pid}/stat reusing the same naming scheme from the cgroup sourced data, offset with stat. to avoid summing issues in aggregations. I have removed much of the stat code from the main procfs sample loop. The data was either no longer used or is duplicated elsewhere. Some data could be re-introduced if we desire by extending the poll loop in stat.rs. I am continuing to remove more and more of our procfs crate integration. I think, ultimately, we should be able to parse directly without the need of a third-party dependency. That removal is near done now.
- Loading branch information