Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add PERF_FORMAT_TOTAL_TIME_{ENABLED,RUNNING} to support multiplexing #1814

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

dmah42
Copy link
Member

@dmah42 dmah42 commented Jul 11, 2024

Fixes #1813

@dmah42 dmah42 merged commit 38df9da into main Jul 12, 2024
98 checks passed
@dmah42 dmah42 deleted the perf_multiplex branch July 12, 2024 09:28
@jan-wassenberg
Copy link
Member

Nice, thanks for adding :) I think this does not fully fix the issue. Adding the flags changes the in-memory layout of the counters. It remains to add those to the struct, replacing the 'padding' field, and then to extrapolate the counters based on the fraction of enabled/running.

@dmah42
Copy link
Member Author

dmah42 commented Jul 16, 2024

do you have a pointer? i have no idea how this is meant to work.

@jan-wassenberg
Copy link
Member

Check out cl/638153709 :)

@dmah42
Copy link
Member Author

dmah42 commented Jul 16, 2024

i think it's quite a different approach to how we currently do things, and i'm not qualified to rewrite this so we may need to find someone who knows what they're doing.

@jan-wassenberg
Copy link
Member

SG. In the meantime, probably best to revert this commit.

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

Successfully merging this pull request may close these issues.

[BUG] Perf counters not multiplexed
2 participants