1
0
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:
Bartosz Taudul
2021-11-27 16:41:27 +01:00
parent ed25c27228
commit 52eeddd63a
3 changed files with 57 additions and 17 deletions
+2 -1
View File
@@ -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;