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

[release/7.0] Managed EventSources do not show up by default in EventPipe sessions (#75248) #77811

Merged
merged 3 commits into from
Nov 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/native/eventpipe/ep-provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,11 @@ ep_provider_add_event (

ep_requires_lock_not_held ();

// Keyword bits 44-47 are reserved for use by EventSources, and every EventSource sets them all.
// We filter out those bits here so later comparisons don't have to take them in to account. Without
// filtering, EventSources wouldn't show up with Keywords=0.
keywords &= ~0xF00000000000;

EventPipeEvent *instance = ep_event_alloc (
provider,
keywords,
Expand Down