Using perf:
$ perf record -g binary
$ perf script | stackcollapse-perf.pl | rust-unmangle | flamegraph.pl > flame.svg
NOTE: See @GabrielMajeri's comments below about the
-goption.
| 'use strict'; | |
| /* | |
| Make sure you are logging to Console using the Compact JSON Formatter, e.g. | |
| ``` | |
| public class LambdaEntryPoint : APIGatewayHttpApiV2ProxyFunction | |
| { | |
| protected override void Init(IWebHostBuilder builder) | |
| { |
Using perf:
$ perf record -g binary
$ perf script | stackcollapse-perf.pl | rust-unmangle | flamegraph.pl > flame.svg
NOTE: See @GabrielMajeri's comments below about the
-goption.
| $git checkout –b temp #makes a new branch from current detached HEAD | |
| $git branch –f master temp #update master to point to the new <temp> branch | |
| $git branch –d temp #delete the <temp> branch | |
| $git push origin master #push the re-established history |