-
-
Notifications
You must be signed in to change notification settings - Fork 1k
PerfCollect diagnoser #2117
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
PerfCollect diagnoser #2117
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
7c09e43
initial LttngProfiler implementation
adamsitnik c4921ad
download the script to the right folder
adamsitnik c59b96d
escepe the arguments, wait until it starts actual collection, don't g…
adamsitnik 4171885
wait until the script ends post-processing
adamsitnik 77e3a52
use Mono.Posix to send SIGINT (Ctrl+C) to the script
adamsitnik 11c5e06
more changes
adamsitnik eedf8c0
Merge remote-tracking branch 'origin/master' into perfCollectDiagnoser
adamsitnik 2c63c4c
remove duplicated code
adamsitnik c77e7df
add perfcollect to the resources, don't download it
adamsitnik 93330c2
update doc link
adamsitnik bd7ceb0
use the new start and stop commands
adamsitnik 8472f20
use the new install -force option which allows us to avoid user being…
adamsitnik f08473b
Merge branch 'master' into perfCollectDiagnoser
adamsitnik c2d8bf7
refresh perfcollect
adamsitnik 4ffdf5d
use collect command, stop in with Ctrl+C by sending SIGINT
adamsitnik a6086f8
add an attribute and a sample
adamsitnik e85c830
enable BDN event source
adamsitnik d2db654
emit an error when perfcollect finishes sooner than expected (most li…
adamsitnik 220dcde
escape the arguments, store the result only if file was created, get …
adamsitnik 194f4bf
turn off precompiled code to resolve framework symbols without using …
adamsitnik c0d692a
install dotnet symbols to get symbols for native runtime parts
adamsitnik 7191b6b
add workaround for https://github.com/dotnet/runtime/issues/71786
adamsitnik bb0c66d
download symbols for all .so files
adamsitnik 5b04d07
polishing: new short name (perf instead PC), running for multiple run…
adamsitnik 5201ed1
don't turn off precompiled code
adamsitnik 7819a20
final polishing before merging
adamsitnik 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
don't turn off precompiled code
- Loading branch information
commit 5201ed1eb153cdb029481b4e30ce00c7c0b0c48a
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brianrob if I want to enable all events for given event source, is setting
COMPlus_EventSourceFilterenough?The definition of event source that I care about:
BenchmarkDotNet/src/BenchmarkDotNet/Engines/EngineEventSource.cs
Lines 7 to 10 in 21a2940
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that and setting
COMPlus_EnableEventLog=1. If you setCOMPlus_EventSourceFilterto the EventSource that you want to capture, this will disable all other EventSources from being sent through to LTTng to avoid the cost of emitting all other EventSource events that may not be needed.