Skip to content

Fix guest tracing related to CoW changes #1242

Closed

Description

@dblnz

With the CoW changes, there are two things that are not working any more:

  • hyperlight_main tracing - because tracing logic that relied on the fact that before each hlt instruction made by the halt function, the traces were sent to the host.
    This does not hold true any more because the hlt instruction is written in assembly after the call to generic_init.
  • dispatch_function - in the future PRs for CoW, most likely, dispatch_function will have the same approach.

We need to consider some changes to accommodate the new approach.

Furthermore, the Info trace for the dispatch_function is not shown because the tracing state is reset right after the call to the function comes from the guest. This produces warnings because the trace event closing the span is sent to the host, but no open span event is sent.

Activity

  1. added this to the Tracking milestone on Feb 18, 2026
  2. self-assigned this
    on Feb 18, 2026
  3. modified the milestones: Tracking, v0.13.0 on Feb 25, 2026
  4. added
    lifecycle/confirmedBug is verified or proposal seems reasonable
    and removed on Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/performanceAddresses performancearea/testingRelated to tests or testing infrastructurelifecycle/confirmedBug is verified or proposal seems reasonable

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions