Skip to content

Commit

Permalink
use new version of flamegraph
Browse files Browse the repository at this point in the history
flamegraph-rs/flamegraph#95 has landed and
there's a new version with it released.
  • Loading branch information
vitorenesduarte committed Dec 26, 2020
1 parent 6aec599 commit 773f3ff
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions fantoch_exp/exp_files/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,7 @@ setup() {
fi

# install flamegraph
# TODO go back to 'cargo install flamegraph' once https://github.com/flamegraph-rs/flamegraph/pull/95 gets merged
if [[ ! -d ~/flamegraph ]]; then
until git clone https://github.com/vitorenesduarte/flamegraph ~/flamegraph; do
echo "git clone failed; trying again"
rm -rf ~/flamegraph
done
fi
cd ~/flamegraph
git checkout perf.data
cargo install --path .
cd -

cargo install flamegraph
flamegraph --help
;;
"heaptrack")
Expand Down

0 comments on commit 773f3ff

Please sign in to comment.