diff --git a/tools/perf-flamegraph.nix b/tools/perf-flamegraph.nix index fe5c9a1d5..b472b746f 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