Merge pull request #201127 from aaronjheng/zhf/perf

perf-linux: fix build on linux 5.4

authored by Sergei Trofimovich and committed by GitHub f690a10b c6cdcfc1

+1 -1
+1 -1
pkgs/os-specific/linux/kernel/perf/default.nix
··· 70 70 71 71 postPatch = '' 72 72 patchShebangs scripts tools/perf/pmu-events/jevents.py 73 - 73 + '' + lib.optionalString (lib.versionAtLeast kernel.version "5.8") '' 74 74 substituteInPlace tools/perf/scripts/python/flamegraph.py \ 75 75 --replace "/usr/share/d3-flame-graph/d3-flamegraph-base.html" \ 76 76 "${d3-flame-graph-templates}/share/d3-flame-graph/d3-flamegraph-base.html"