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 raw2trace statistic for instr count #6347

Merged
merged 4 commits into from
Oct 5, 2023

Conversation

abhinav92003
Copy link
Contributor

@abhinav92003 abhinav92003 commented Oct 5, 2023

Adds a new raw2trace statistic that counts the number of instructions written to the final trace.

This instr count is printed out along with other raw2trace stats at the end of raw2trace conversion. It is also available for sub-classes to obtain using the get_statistic API.

Adds tests for the new and existing raw2trace stats in raw2trace_unit_tests.

Verified that the log printed by raw2trace has the same instr count as what's printed by basic_counts, for both the default .zip and -compress none.

Adds a new raw2trace statistic that counts the number of instructions
written to the final trace.

This instr count is printed out along with other raw2trace stats at
the end of raw2trace conversion. It is also available for sub-classes
to obtain using the get_statistic API.
@abhinav92003 abhinav92003 changed the title Add raw2trace statistic for instr count. Add raw2trace statistic for instr count Oct 5, 2023
@abhinav92003
Copy link
Contributor Author

x86-64-ubuntu22 api.rseq failure is #6185.

@abhinav92003 abhinav92003 merged commit d3304e7 into master Oct 5, 2023
15 checks passed
@abhinav92003 abhinav92003 deleted the iX-raw2trace-instr-count branch October 5, 2023 18:16
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.

2 participants