Skip to content

Add pidstat post-processing to cpu-pidstat after_job#680

Open
aashvibusa wants to merge 1 commit into
facebookresearch:v2-betafrom
aashvibusa:export-D107678812-to-v2-beta
Open

Add pidstat post-processing to cpu-pidstat after_job#680
aashvibusa wants to merge 1 commit into
facebookresearch:v2-betafrom
aashvibusa:export-D107678812-to-v2-beta

Conversation

@aashvibusa

@aashvibusa aashvibusa commented Jun 5, 2026

Copy link
Copy Markdown

Summary:
Move the per-thread-pool CSV post-processing into the cpu-pidstat hook instead
of adding a duplicate pidstat perf monitor. after_job now parses the raw
pidstat -t -h log the hook already collects and writes a per-thread-pool CSV
(count + avg/min/max/var per metric) next to the log. breakdown_keys / stats /
normalize_thread_names are configurable via hook options and validated in
before_job; post-processing failures are logged and never break teardown.

Differential Revision: D107678812

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 5, 2026
@meta-codesync

meta-codesync Bot commented Jun 5, 2026

Copy link
Copy Markdown

@aashvibusa has exported this pull request. If you are a Meta employee, you can view the originating Diff in D107678812.

Summary:
Move the per-thread-pool CSV post-processing into the cpu-pidstat hook instead
of adding a duplicate pidstat perf monitor. after_job now parses the raw
`pidstat -t -h` log the hook already collects and writes a per-thread-pool CSV
(count + avg/min/max/var per metric) next to the log. breakdown_keys / stats /
normalize_thread_names are configurable via hook options and validated in
before_job; post-processing failures are logged and never break teardown.

Differential Revision: D107678812
@meta-codesync meta-codesync Bot changed the title Add per-thread pidstat perf monitor Add pidstat post-processing to cpu-pidstat after_job Jun 10, 2026
@aashvibusa aashvibusa force-pushed the export-D107678812-to-v2-beta branch from 40269c5 to 67495b5 Compare June 10, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant