Skip to content

profiler: Fill in the profiler state functions#1226

Merged
saulecabrera merged 2 commits into
bytecodealliance:mainfrom
saulecabrera:profiler-state
Jun 11, 2026
Merged

profiler: Fill in the profiler state functions#1226
saulecabrera merged 2 commits into
bytecodealliance:mainfrom
saulecabrera:profiler-state

Conversation

@saulecabrera

Copy link
Copy Markdown
Member

This patch is a follow-up to #1213

It fills in the profiler state implementation, so that it can be usable from the whamm monitor.

The most notable change that is not described in the original issue, is the profile result encoding format, described in the format.rs module.

@saulecabrera saulecabrera requested a review from jeffcharles June 11, 2026 13:44

@jeffcharles jeffcharles left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code mostly looks good. Just a few nits with comments and looks like a semicolon is missing.

Comment thread crates/profiler-lib/src/state.rs Outdated
Comment thread crates/profiler-lib/src/state.rs Outdated
Comment thread crates/profiler-lib/src/state.rs Outdated
This patch is a follow-up to bytecodealliance#1213

It fills in the profiler state implementation, so that it can be
usable from the whamm monitor.

The most notable change that is not described in the original issue,
is the profile result encoding format, described in the `format.rs` module.
@saulecabrera saulecabrera enabled auto-merge (squash) June 11, 2026 14:21
@saulecabrera saulecabrera merged commit 03458aa into bytecodealliance:main Jun 11, 2026
4 checks passed
@saulecabrera saulecabrera deleted the profiler-state branch June 11, 2026 14:54
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