-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Add the ability for profilers to listen to EventPipe events #37002
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
40d9308
Proof of concept synchronous profiler EventPipe events
davmason 7e2bbd8
Add provider callback and ability to query provider name
davmason a6ecda8
add guids to API
davmason af29c79
stop creating a buffer manager for synchronous sessions
davmason 7198ac5
Take lock before adding provider to session
davmason 7f3642c
fix linux build error
davmason 1eb39d7
refactoring
davmason ce70d00
Get rid of enablecpusampling argument
davmason d644cba
move EventPipeProviderCreated profiler callback outside of lock
davmason 8d1b5bc
refactor SuspendWriteEvent so it covers the synchronous callback case…
davmason 7cb9a1a
after EventPipe starts shutting down return an error for EventPipeSta…
davmason c132d07
switch to spinlock since we can't use crst in gc_notrigger/coop
davmason ee9aee8
Add assert and remove unused variable
davmason 540d8e3
Move storing null to the session array before EventPipeSession::Suspe…
davmason 5eca5ef
remove spurious assert
davmason 619f4b8
Fix SampleProfiler refcount issue, double profiler callback, remove u…
davmason 7905bcf
remove the concept of m_writeEventSuspending from the buffer manager …
davmason 96d8cc4
Add test
davmason 87ceca4
add description of filter data format
davmason 0cc9a28
fix x86 test build issues
davmason 008dabd
exlcude test from mono
davmason 68e3479
move waiting on threads to finish writing outside of the lock
davmason 2c3429e
allow call to GetProviderInfo to get the length of the name
davmason 5ab6fd0
Fix formatting
davmason File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
move waiting on threads to finish writing outside of the lock
- Loading branch information
commit 68e34797e7d63a1a58c9677101ba6d7012508949
There are no files selected for viewing
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
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.
Uh oh!
There was an error while loading. Please reload this page.