Files
sunnypilot/selfdrive/debug/profiling/perfetto/build.sh
Adeeb Shihadeh 76aed9c23b perfetto (#22998)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b51da61dc4
2021-11-22 14:03:42 -08:00

12 lines
319 B
Bash
Executable File

#!/usr/bin/bash
if [ ! -d perfetto ]; then
git clone https://android.googlesource.com/platform/external/perfetto/
fi
cd perfetto
tools/install-build-deps --linux-arm
tools/gn gen --args='is_debug=false target_os="linux" target_cpu="arm64"' out/linux
tools/ninja -C out/linux tracebox traced traced_probes perfetto