mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 05:03:53 +00:00
Run source file query on payloaded source locations.
This commit is contained in:
parent
a237f108c7
commit
e8aaf5fa99
@ -3973,6 +3973,10 @@ void Worker::AddSourceLocationPayload( uint64_t ptr, const char* data, size_t sz
|
|||||||
m_data.sourceLocationPayloadMap.emplace( slptr, idx );
|
m_data.sourceLocationPayloadMap.emplace( slptr, idx );
|
||||||
m_pendingSourceLocationPayload = -int16_t( idx + 1 );
|
m_pendingSourceLocationPayload = -int16_t( idx + 1 );
|
||||||
m_data.sourceLocationPayload.push_back( slptr );
|
m_data.sourceLocationPayload.push_back( slptr );
|
||||||
|
if( m_checkedFileStrings.find( srcloc.file ) == m_checkedFileStrings.end() )
|
||||||
|
{
|
||||||
|
CacheSource( srcloc.file );
|
||||||
|
}
|
||||||
const auto key = -int16_t( idx + 1 );
|
const auto key = -int16_t( idx + 1 );
|
||||||
#ifndef TRACY_NO_STATISTICS
|
#ifndef TRACY_NO_STATISTICS
|
||||||
auto res = m_data.sourceLocationZones.emplace( key, SourceLocationZones() );
|
auto res = m_data.sourceLocationZones.emplace( key, SourceLocationZones() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user