-
Notifications
You must be signed in to change notification settings - Fork 5.2k
perfcollect docs: run two commands instead of three #76325
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
perfcollect docs: run two commands instead of three #76325
Conversation
``` | ||
sudo cp mySymbols/* /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.0 | ||
sudo dotnet symbol --recurse-subdirectories --symbols '/usr/share/dotnet/lib*.so' |
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.
I'd recommend changing this to *.so
instead of lib*.so
.
To download symbols for all native libraries and store them next to them: | ||
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.
I think that this is a good improvement. I also recommend that you make it clear that this will download symbols for the .NET runtime/framework as well as any other installed frameworks (e.g. ASP.NET), and give folks an idea of how to limit to just one type of framework (e.g. Microsoft.NETCore.App).
Hi @adamsitnik! Thanks for the contribution! Please review @brianrob's comment and let us know if you are interested in moving forward with this PR. |
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.
LGTM, thanks!
Thanks @adamsitnik! |
While working on dotnet/BenchmarkDotNet#2117 I've realized that:
dotnet symbol
writes the symbol files next to the input files, so we can reduce the process by one stepSample output (I am also asking for
dotnet
exe symbols as I am pedantic and want to have all symbols solved)