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

View file

@ -72,6 +72,7 @@ let
fira
fira-code
fira-mono
flamegraph
fontconfig
freetype
gettext
@ -92,6 +93,7 @@ let
kontemplate
lib
libredirect
linuxPackages
luajit
lutris
makeFontsConf