Skip to content

Commit 02d60a3

Browse files
committed
Frames already have the correct symbol address.
1 parent d0b6869 commit 02d60a3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎profiler/src/profiler/TracyView_FlameGraph.cpp‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,7 @@ void View::BuildFlameGraph( const Worker& worker, std::vector<FlameGraphItem>& d
229229
{
230230
for( uint8_t j=frame->size; j>0; j-- )
231231
{
232-
const auto ip = frame->data[j-1].symAddr;
233-
const auto symaddr = worker.GetInlineSymbolForAddress( ip );
232+
const auto symaddr = frame->data[j-1].symAddr;
234233
if( symaddr != 0 )
235234
{
236235
auto it = std::find_if( vec->begin(), vec->end(), [symaddr]( const auto& v ) { return v.srcloc == symaddr; } );

0 commit comments

Comments
 (0)