Skip to content

Enable tracing for hyperlight-wasm guests #140

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dblnz
Copy link
Contributor

@dblnz dblnz commented Aug 6, 2025

Description

This PR closes #134 and enables tracing for hyperlight-wasm guests.

This change does the following:

  • enables the use of hyperlight-guest-tracing crate from hyperlight so that the hyperlight-wasm specific APIs in wasm_runtime cand be traced using the macros
  • adds tracing instrumentation for the APIs in wasm_runtime
  • gates the tracing functionality by the trace feature

TODO:

  • this PR changes comes on top of the Bump hyperlight-host to new snapshot api #128 changes, so this will have to be rebased on it when the work there is finished
  • This work depends on the hyperlight 0.8.0 release, so this needs to be updated once the release is out

ludfjig and others added 3 commits July 31, 2025 16:45
- These features aim to enable the tracing generation for the
  hyperlight guests.
- generate tracing records for `wasm_runtime` to produce
  timing information at runtime
@jsturtevant jsturtevant added the kind/enhancement New feature or request label Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable tracing guests
4 participants