Unverified Commit f690a10b authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by GitHub
Browse files

Merge pull request #201127 from aaronjheng/zhf/perf

perf-linux: fix build on linux 5.4
parents c6cdcfc1 ff7f75df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ stdenv.mkDerivation {

  postPatch = ''
    patchShebangs scripts tools/perf/pmu-events/jevents.py

  '' + lib.optionalString (lib.versionAtLeast kernel.version "5.8") ''
    substituteInPlace tools/perf/scripts/python/flamegraph.py \
      --replace "/usr/share/d3-flame-graph/d3-flamegraph-base.html" \
      "${d3-flame-graph-templates}/share/d3-flame-graph/d3-flamegraph-base.html"