merge background saves together in profile
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I016133f31f34b859dcb21b794406c7e6a1559aa9pull/8958/head
parent
e9f81f8008
commit
1425b36104
|
@ -49,6 +49,6 @@ trap ' ' INT
|
||||||
# note a) perf version 6.4.4 doesn't unmangle c++ names correctly for me, while 6.2.6 does
|
# note a) perf version 6.4.4 doesn't unmangle c++ names correctly for me, while 6.2.6 does
|
||||||
perf record -F50 --call-graph dwarf,65528 --pid $kitpid
|
perf record -F50 --call-graph dwarf,65528 --pid $kitpid
|
||||||
# note b) perf version 5.14.21 is agonizingly slow without --no-inline, while 6.2.6 seems ok
|
# note b) perf version 5.14.21 is agonizingly slow without --no-inline, while 6.2.6 seems ok
|
||||||
perf script --no-inline | stackcollapse-perf.pl > perf-$kitpid.log
|
# merge all the background saves together as kitdbgsv
|
||||||
flamegraph.pl perf-$kitpid.log > perf-$kitpid.svg
|
perf script --no-inline | stackcollapse-perf.pl | sed -E -s "s/^kitbgsv[^;]+/kitbgsv/" | flamegraph.pl > perf-$kitpid.svg
|
||||||
echo generated flamegraph output svg: perf-$kitpid.svg
|
echo generated flamegraph output svg: perf-$kitpid.svg
|
||||||
|
|
Loading…
Reference in New Issue