diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-05-01 15:25:07 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-05-01 15:25:07 +0300 |
commit | fd55c1e975c25dab3397194fa3de89dc6cd655a0 (patch) | |
tree | 979527c168ec79d06831c124216ad6507804f22f /server/TracyWorker.hpp | |
parent | 33a68534239b8dad8f586e7415856070b858364c (diff) |
Pass symbol image name to CacheSource().
Diffstat (limited to 'server/TracyWorker.hpp')
-rw-r--r-- | server/TracyWorker.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index 5b261a1b..0a3c8064 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -667,7 +667,7 @@ private: void Exec(); void Query( ServerQuery type, uint64_t data, uint32_t extra = 0 ); void QueryTerminate(); - void QuerySourceFile( const char* fn ); + void QuerySourceFile( const char* fn, const char* image ); void QueryDataTransfer( const void* ptr, size_t size ); tracy_force_inline bool DispatchProcess( const QueueItem& ev, const char*& ptr ); @@ -886,7 +886,7 @@ private: StringLocation StoreString( const char* str, size_t sz ); const ContextSwitch* const GetContextSwitchDataImpl( uint64_t thread ); - void CacheSource( const StringRef& str ); + void CacheSource( const StringRef& str, const StringIdx& image = StringIdx() ); void CacheSourceFromFile( const char* fn ); tracy_force_inline Vector<short_ptr<ZoneEvent>>& GetZoneChildrenMutable( int32_t idx ) { return m_data.zoneChildren[idx]; } |