Add debuginfod context accessor.

This commit is contained in:
Bartosz Taudul 2022-05-01 15:05:23 +02:00
parent ae373b4050
commit 726b70b683
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 6 additions and 0 deletions

View File

@ -742,6 +742,11 @@ const uint8_t* GetBuildIdForImage( const char* image, size_t& size )
}
return nullptr;
}
debuginfod_client* GetDebuginfodClient()
{
return s_debuginfod;
}
#endif
void EndCallstack()

View File

@ -56,6 +56,7 @@ const char* GetKernelModulePath( uint64_t addr );
#ifdef TRACY_DEBUGINFOD
const uint8_t* GetBuildIdForImage( const char* image, size_t& size );
debuginfod_client* GetDebuginfodClient();
#endif
#if TRACY_HAS_CALLSTACK == 1