docs/perfetto: Give a hint on how to cross compile the tools.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37826>
This commit is contained in:
Emma Anholt 2025-10-10 13:41:52 -07:00 committed by Marge Bot
parent 09e496d6c0
commit 5ca03e1137

View file

@ -104,6 +104,8 @@ the steps above :
mesa $ cd subprojects/perfetto
perfetto $ ./tools/install-build-deps
perfetto $ ./tools/gn gen --args='is_debug=false' out/linux
# Example arm64 cross compile instead
# perfetto $ ./tools/gn gen --args='is_debug=false target_cpu="arm64"' out/linux-arm64
perfetto $ ./tools/ninja -C out/linux
# Start perfetto