mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Server queries must be always acknowledged.
This commit is contained in:
parent
0a954fda87
commit
0168ab6535
@ -3218,14 +3218,15 @@ static bool EnsureReadable( uintptr_t address )
|
|||||||
void Profiler::HandleSymbolQuery( uint64_t symbol )
|
void Profiler::HandleSymbolQuery( uint64_t symbol )
|
||||||
{
|
{
|
||||||
#ifdef TRACY_HAS_CALLSTACK
|
#ifdef TRACY_HAS_CALLSTACK
|
||||||
#ifdef __ANDROID__
|
# ifdef __ANDROID__
|
||||||
// On Android it's common for code to be in mappings that are only executable
|
// On Android it's common for code to be in mappings that are only executable
|
||||||
// but not readable.
|
// but not readable.
|
||||||
if( !EnsureReadable( symbol ) )
|
if( !EnsureReadable( symbol ) )
|
||||||
{
|
{
|
||||||
|
AckServerQuery();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
# endif
|
||||||
const auto sym = DecodeSymbolAddress( symbol );
|
const auto sym = DecodeSymbolAddress( symbol );
|
||||||
|
|
||||||
SendSingleString( sym.file );
|
SendSingleString( sym.file );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user