Repository navigation
Add initial ETW support to Rust SDK and HelloWorld sample - #188
Merged
Merged
Conversation
Branden Bonaby (bbonaby)
force-pushed
the
add-tracelogging-to-sdk
branch
from
January 23, 2026 02:30
1e092a5 to
ab219de
Compare
Contributor
Author
|
This conflicts with #187 so will let that one go in first and then first/update things with my branch after. |
Branden Bonaby (bbonaby)
force-pushed
the
add-tracelogging-to-sdk
branch
from
January 23, 2026 02:34
ab219de to
f0a0f2e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why is this change needed?
The change Introduces end-to-end ETW (TraceLogging) support for VBS enclaves in our sdk.
What changed?
traceloggingcrate.etw.mddescribing enclave and host integration patterns and how developers can use the SDK + tracelogging crate to write events..#[repr(C)]for ABI correctness.enclave.rsin the host sdk I realized we were using only the debug flag for enclave creation. I updated thecreate_and_initializeandcreate_and_initialize_with_threadsapi's to now accept a flag value so they can be created for production builds, where enclave debuggability is not acceptable.How was this tested?
End-to-End dataflow
Demo
Enclave-trace-logging-demo.mp4