diff --git a/client/TracyCallstack.cpp b/client/TracyCallstack.cpp index 7a408fe7..4f11a84d 100644 --- a/client/TracyCallstack.cpp +++ b/client/TracyCallstack.cpp @@ -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() diff --git a/client/TracyCallstack.hpp b/client/TracyCallstack.hpp index 207c00bb..290fbd93 100644 --- a/client/TracyCallstack.hpp +++ b/client/TracyCallstack.hpp @@ -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