Skip native-bridged tests on x86 When running non-native code (e.g. arm on x86) using native-bridge translator, we are still profiling x86 processes. Skip tests in this case as they are disabled for native x86. To do so, check real machine architecture using uname(). Test: CtsPerfettoTestCases:HeapprofdCtsTest -- \ --abi=armeabi-v7a / --abi=x86 on Android10 Emulator with ARM support Bug: 148826652 Change-Id: Ib476e636167bc3bfb1c85431aae6e714c630f4d8
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.