diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-05-19 17:39:13 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-05-19 17:39:13 -0700 |
| commit | d14055a019b7266a3ed38ddb19c018275a13f4d1 (patch) | |
| tree | 3a4a9184b86644b5f406986396621076699ff8db /home/scripts/default.nix | |
| parent | feat(git): add a template for commit messages (diff) | |
| download | infra-d14055a019b7266a3ed38ddb19c018275a13f4d1.tar.gz | |
feat(home): add a script to create flamegraph from a process
This script (`perf-flamegraph-process') takes a process as an argument,
and will run it with `perf' to capture the call graph, and will
generate the flamegraph from it. The SVG is saved under
`~/workspace/tmp/flamegraph'.
Diffstat (limited to '')
| -rw-r--r-- | home/scripts/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/home/scripts/default.nix b/home/scripts/default.nix new file mode 100644 index 0000000..bc19e44 --- /dev/null +++ b/home/scripts/default.nix @@ -0,0 +1,5 @@ +{ ... }: + +{ + imports = [ ./perf-flamegraph.nix ]; +} |
