Cannot find action count in newer profiles
saraadams opened this issue · 1 comments
saraadams commented
Description
For more current versions of the Bazel profile, the action counts are not found.
The CLI prints out:
No bottleneck optimizations could be suggested. The Bazel profile does not include an action count, which is required for extracting bottlenecks. Try analyzing a profile that processes actions, for example a build or test.
Observed behavior
No action counts are found.
Expected behavior
Action counts are found.
Step-by-step guide on how to reproduce the bug
- Try to analyze a profile generated by a more recent Bazel version, e.g. I was able to reproduce this with 7.0.0.
Additional context
With bazelbuild/bazel@7e92ed3 the action count
entries no longer include a tid
, which means the action count
events are no longer associated with a thread. This breaks our filtering for action counts.
saraadams commented
Fixed by bazelbuild/bazel#20300, added to 7.0 via bazelbuild/bazel#20324