summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-07-12 14:19:37 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-07-12 12:29:41 +0000
commit8c8404e41a5087ea93258c0e8f65cb04e0190799 (patch)
tree6678c2e0a0e466cdff3d7b34e5b3a139b1c8032b
parent003cb38adcf72ee1b36d9f051d5bdbcd2da9aa3b (diff)
All paths that start with "/SYSV" are special
This is also some anonymous memory mapping. The all-0 variant is just a special case. Change-Id: Ife5f1672a04796a5872e1200acb63a6091a7c1a1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--app/perfsymboltable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/perfsymboltable.cpp b/app/perfsymboltable.cpp
index 45889aa..45cb85e 100644
--- a/app/perfsymboltable.cpp
+++ b/app/perfsymboltable.cpp
@@ -297,8 +297,8 @@ void PerfSymbolTable::registerElf(const PerfRecordMmap &mmap, const QByteArray &
const bool isSpecialRegion = (filePath.startsWith('[') && filePath.endsWith(']'))
|| filePath.startsWith(QLatin1String("/dev/"))
|| filePath.startsWith(QLatin1String("/memfd:"))
- || filePath == QLatin1String("//anon")
- || filePath == QLatin1String("/SYSV00000000 (deleted)");
+ || filePath.startsWith(QLatin1String("/SYSV"))
+ || filePath == QLatin1String("//anon");
const auto fileName = isSpecialRegion ? QString() : QFileInfo(filePath).fileName();
QFileInfo fullPath;
if (isSpecialRegion) {