about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf-flamegraph.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf-flamegraph.nix b/tools/perf-flamegraph.nix
index fe5c9a1d5959..b472b746ff14 100644
--- a/tools/perf-flamegraph.nix
+++ b/tools/perf-flamegraph.nix
@@ -5,7 +5,7 @@
 pkgs.writeShellScriptBin "perf-flamegraph" ''
   set -euo pipefail
 
-  ${pkgs.linuxPackages.perf}/bin/perf record -g -a -F max "$@"
+  ${pkgs.linuxPackages.perf}/bin/perf record -g --call-graph dwarf -F max "$@"
   ${pkgs.linuxPackages.perf}/bin/perf script \
     | ${pkgs.flamegraph}/bin/stackcollapse-perf.pl \
     | ${pkgs.flamegraph}/bin/flamegraph.pl