Skip to content
Snippets Groups Projects
Commit 2cd956c8 authored by Florian Fischer's avatar Florian Fischer
Browse files

filter iou-worker prefixes when creating flamegraphs

parent 534296c0
No related branches found
No related tags found
No related merge requests found
Pipeline #80187 passed
...@@ -30,7 +30,8 @@ pushd "${TMPDIR}" > /dev/null ...@@ -30,7 +30,8 @@ pushd "${TMPDIR}" > /dev/null
${PERF} script -i "${PERF_DATA}" > out.perf ${PERF} script -i "${PERF_DATA}" > out.perf
"${SCRIPTDIR}"/stackcollapse-perf.pl out.perf > out.folded "${SCRIPTDIR}"/stackcollapse-perf.pl out.perf > out.folded
sed -e 's/^EMPER_Wrkr_#[0-9]\+;//' out.folded > out.folded.filtered sed -e 's/^EMPER_Wrkr_#[0-9]\+;//' out.folded > out.folded.filtered
"${SCRIPTDIR}"/flamegraph.pl out.folded.filtered > flame.svg sed -e 's/^iou-wrk-[0-9]\+;//' out.folded.filtered > out.folded.filtered.2
"${SCRIPTDIR}"/flamegraph.pl out.folded.filtered.2 > flame.svg
popd >/dev/null popd >/dev/null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment