Skip to content

Commit

Permalink
palanteer seems pretty cool
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Dec 27, 2021
1 parent 1fc1382 commit 4c7c2cc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions selfdrive/debug/profiling/palanteer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
palanteer/
viewer
24 changes: 24 additions & 0 deletions selfdrive/debug/profiling/palanteer/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash

set -e

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd $DIR

if [ ! -d palanteer ]; then
git clone https://github.com/dfeneyrou/palanteer
pip install wheel
sudo apt install libunwind-dev libdw-dev
fi

cd palanteer
git pull

mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)

pip install --force-reinstall python/dist/palanteer*.whl

cp bin/palanteer $DIR/viewer

0 comments on commit 4c7c2cc

Please sign in to comment.