summaryrefslogtreecommitdiffstats
path: root/app/perfsymboltable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/perfsymboltable.cpp')
-rw-r--r--app/perfsymboltable.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/perfsymboltable.cpp b/app/perfsymboltable.cpp
index bedee81..f82f4f2 100644
--- a/app/perfsymboltable.cpp
+++ b/app/perfsymboltable.cpp
@@ -1061,6 +1061,9 @@ QByteArray PerfSymbolTable::symbolFromPerfMap(quint64 ip, GElf_Off *offset) cons
void PerfSymbolTable::updatePerfMap()
{
+ if (!m_perfMapFile.exists())
+ return;
+
if (!m_perfMapFile.isOpen())
m_perfMapFile.open(QIODevice::ReadOnly);