From 253c3ae4c837d3bd50d8d898a5175e6c0ed71334 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 1 Feb 2021 15:24:31 +0100 Subject: [PATCH] Android applications spawn through a common executable. /proc/self/exe -> /system/bin/app_process64 --- client/TracyProfiler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index b8e0ec7e..1c4f3e9c 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -286,6 +286,8 @@ static const char* GetProcessExecutablePath() static char buf[_MAX_PATH]; GetModuleFileNameA( nullptr, buf, _MAX_PATH ); return buf; +#elif defined __ANDROID__ + return nullptr; #elif defined _GNU_SOURCE || defined __CYGWIN__ return program_invocation_name; #elif defined __APPLE__