Skip to content

Handle edge cases in trace defintion if frames held less than frames_per_toc_entry frames #28

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Rot127
Copy link
Contributor

@Rot127 Rot127 commented Jul 2, 2025

The TOC defintion was lagging the edge case of an TOC entry holding less than the required frames per entry (usually 64).

This handles the case by:

  • Adding the missing ceil operation in the trace reader
  • Adding a more detailed description of the trace in the README.

@Rot127 Rot127 marked this pull request as draft July 6, 2025 18:28
@Rot127
Copy link
Contributor Author

Rot127 commented Jul 7, 2025

I think the padding elements are not worth it.
Too much refactoring for not enough gain.

Will remove them again.

@Rot127 Rot127 marked this pull request as ready for review July 7, 2025 19:15
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