mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Fix display of entry call stacks when inlines are present.
This commit is contained in:
@@ -110,7 +110,7 @@ public:
|
||||
|
||||
const char* SourceSubstitution( const char* srcFile ) const;
|
||||
|
||||
void ShowSampleParents( uint64_t symAddr ) { m_sampleParents.symAddr = symAddr; m_sampleParents.sel = 0; }
|
||||
void ShowSampleParents( uint64_t symAddr, bool withInlines ) { m_sampleParents.symAddr = symAddr; m_sampleParents.sel = 0; m_sampleParents.withInlines = withInlines; }
|
||||
const ViewData& GetViewData() const { return m_vd; }
|
||||
|
||||
|
||||
@@ -774,6 +774,7 @@ private:
|
||||
struct {
|
||||
uint64_t symAddr = 0;
|
||||
int sel;
|
||||
bool withInlines = false;
|
||||
} m_sampleParents;
|
||||
|
||||
std::vector<std::pair<int, int>> m_cpuUsageBuf;
|
||||
|
||||
Reference in New Issue
Block a user