diff --git a/public/client/TracyCallstack.cpp b/public/client/TracyCallstack.cpp index 6560de33..a8d9b6f5 100644 --- a/public/client/TracyCallstack.cpp +++ b/public/client/TracyCallstack.cpp @@ -755,6 +755,7 @@ int GetDebugInfoDescriptor( const char* buildid_data, size_t buildid_size, const it->filename = (char*)tracy_malloc( fnsz ); memcpy( it->filename, filename, fnsz ); it->fd = fd >= 0 ? fd : -1; + TracyDebug( "DebugInfo descriptor query: %i, fn: %s\n", fd, filename ); return it->fd; } diff --git a/public/client/TracyProfiler.cpp b/public/client/TracyProfiler.cpp index f48f96e2..e2e53b87 100644 --- a/public/client/TracyProfiler.cpp +++ b/public/client/TracyProfiler.cpp @@ -64,6 +64,7 @@ #include "../common/tracy_lz4.hpp" #include "tracy_rpmalloc.hpp" #include "TracyCallstack.hpp" +#include "TracyDebug.hpp" #include "TracyDxt1.hpp" #include "TracyScoped.hpp" #include "TracyProfiler.hpp" @@ -3854,6 +3855,7 @@ void Profiler::HandleSourceCodeQuery() if( buildid ) { auto d = debuginfod_find_source( GetDebuginfodClient(), buildid, size, m_queryData, nullptr ); + TracyDebug( "DebugInfo source query: %s, fn: %s, image: %s\n", d >= 0 ? " ok " : "fail", m_queryData, m_queryImage ); if( d >= 0 ) { struct stat st;