feat(tools): Add script to flamegraph a command

Add tools.perf-flamegraph, which collects the base case execution of
perf piped through stackcollapse-perf and flamegraph to flamegraph the
execution of an external command via perf.

Change-Id: I671fe254dc374b6cd7deca2d3bdea266164de025
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1176
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2020-07-15 09:54:18 -04:00 committed by glittershark
parent 3fcebfdaa1
commit 04ae293360
4 changed files with 18 additions and 0 deletions

1
bin/perf-flamegraph Symbolic link
View file

@ -0,0 +1 @@
__dispatch.sh