mirror of
https://github.com/wolfpld/tracy
synced 2025-05-04 22:23:52 +00:00
Android applications spawn through a common executable.
/proc/self/exe -> /system/bin/app_process64
This commit is contained in:
parent
53505373c7
commit
253c3ae4c8
@ -286,6 +286,8 @@ static const char* GetProcessExecutablePath()
|
|||||||
static char buf[_MAX_PATH];
|
static char buf[_MAX_PATH];
|
||||||
GetModuleFileNameA( nullptr, buf, _MAX_PATH );
|
GetModuleFileNameA( nullptr, buf, _MAX_PATH );
|
||||||
return buf;
|
return buf;
|
||||||
|
#elif defined __ANDROID__
|
||||||
|
return nullptr;
|
||||||
#elif defined _GNU_SOURCE || defined __CYGWIN__
|
#elif defined _GNU_SOURCE || defined __CYGWIN__
|
||||||
return program_invocation_name;
|
return program_invocation_name;
|
||||||
#elif defined __APPLE__
|
#elif defined __APPLE__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user