Skip to content
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

Add TraceLoggingBinary in TraceLoggingProvider #204

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

shpalani
Copy link
Contributor

@shpalani shpalani commented Aug 21, 2024

This PR contains

  • _tlgBinary type for TraceLoggingBinary tracing support to log binary data.

Test log in ebpf-for-windows, where the key in the map is logged as is:

[0]0004.1B4C::2024/08/17-14:00:48.586549200 [EbpfForWindowsProvider]{"Message":"
Map lookup","Type":"hash","name":"
xxxx","(key).Length":12,"(key)":"0x0A0101031389000011000000","meta":{"provider":"EbpfForWindowsProvider","event":"EbpfGenericMessage","time":"2024-08-17T21:00:48.5865492Z","cpu":0,"pid":4,"tid":6988,"channel":11,"level":4,"keywords":"0x40"}}

Note: map name is masked with xxxx.
Please see the draft PR microsoft/ebpf-for-windows#3781

Signed-off-by: Sharmila Palani (from Dev Box) <[email protected]>
@shpalani shpalani merged commit ca8f2de into microsoft:main Aug 22, 2024
5 checks passed
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.

usersim to support _tlgBinary type for TraceLoggingBinary trace
2 participants