Skip to content

Comments

feat: Dump a register trace disassembly if SBF_TRACE_DISASSEMBLE is set#199

Merged
buffalojoec merged 3 commits intoanza-xyz:mainfrom
procdump:dump_trace
Feb 20, 2026
Merged

feat: Dump a register trace disassembly if SBF_TRACE_DISASSEMBLE is set#199
buffalojoec merged 3 commits intoanza-xyz:mainfrom
procdump:dump_trace

Conversation

@procdump
Copy link
Contributor

What's changed

Dump a register trace disassembly if requested by user taking advantage of the API in solana-sbpf.

@procdump
Copy link
Contributor Author

cc @buffalojoec

…cingCallback

Read the environment variable once at initialization instead of
on every handler invocation, consistent with how SBF_TRACE_DIR is handled.
@procdump procdump marked this pull request as ready for review February 19, 2026 08:37
Copy link
Collaborator

@buffalojoec buffalojoec left a comment

Choose a reason for hiding this comment

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

Looks good. Mind just updating the section in the README with the new field and variable?

@procdump procdump requested a review from buffalojoec February 19, 2026 09:42
@buffalojoec
Copy link
Collaborator

@procdump this is a breaking change, so do you want me to wait to publish until you've landed any more register tracing changes?

@buffalojoec buffalojoec added the breaking Breaking change label Feb 19, 2026
@procdump
Copy link
Contributor Author

@procdump this is a breaking change, so do you want me to wait to publish until you've landed any more register tracing changes?

I'm currently preparing the sbpf-debugger feature contribution. It also has some breaking changes to the API, yet I can't fully submit it because mollusk is still tied to 3.1.x and the necessary debugger PRs actually landed in agave master 4.x. However, I can split the debugger feature into smaller ones moving out code that also pertain to the register tracing changes. Does this sound reasonable to you? With this approach we can reduce the breaking versions I believe.

@buffalojoec
Copy link
Collaborator

I'm currently preparing the sbpf-debugger feature contribution. It also has some breaking changes to the API, yet I can't fully submit it because mollusk is still tied to 3.1.x and the necessary debugger PRs actually landed in agave master 4.x. However, I can split the debugger feature into smaller ones moving out code that also pertain to the register tracing changes. Does this sound reasonable to you? With this approach we can reduce the breaking versions I believe.

Yeah, I don't mind many subsequent changes, but I'd prefer to release once we have all of them in. I can release earlier if you need to use this change, though.

@buffalojoec buffalojoec merged commit 16e95bc into anza-xyz:main Feb 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants