Skip to content

Commit

Permalink
[WIP] Wire up some more
Browse files Browse the repository at this point in the history
Co-authored-by: Håvard Sørbø <havard@hsorbo.no>
  • Loading branch information
oleavr and hsorbo committed Sep 21, 2023
1 parent 457603e commit 42f5afe
Show file tree
Hide file tree
Showing 3 changed files with 4,125 additions and 12,221 deletions.
6 changes: 5 additions & 1 deletion tests/core/swiftapiresolver/mkflamegraph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ set -ex
intdir=$(mktemp -d /tmp/mkflamegraph.XXXXXX)
stacks_symbolicated=$intdir/stacks_symbolicated
stacks_folded=$intdir/stacks_folded
stacks_deduped=$intdir/stacks_deduped

clean_up () {
rm -rf "$intdir"
Expand All @@ -34,4 +35,7 @@ trap clean_up EXIT
"$flamegraph/stackcollapse-instruments.pl" "$stacks_symbolicated" \
| grep gum_script_scheduler_run_js_loop \
> "$stacks_folded"
"$flamegraph/flamegraph.pl" "$stacks_folded"
"$repo/tools/stackdedupe.py" \
--input "$stacks_folded" \
--output "$stacks_deduped"
"$flamegraph/flamegraph.pl" "$stacks_deduped"
Loading

0 comments on commit 42f5afe

Please sign in to comment.