Merge pull request #201127 from aaronjheng/zhf/perf
perf-linux: fix build on linux 5.4
This commit is contained in:
commit
f690a10b85
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue