summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-07-11 15:32:31 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-07-11 13:50:07 +0000
commitcb70ec8e5bdcbcdab3c54483ed9e89dd76e58ef1 (patch)
treec2a7db4b87c9f43e0d258f6e4fc4608ebe02aa0d
parenteceb62eab22626a4b898ca4db29aae310e193227 (diff)
memfd-allocated files are "special"
There is no point in looking for debuginfo or reporting errors for these. Change-Id: Iafe6963113689b1ba4132f648d37f2be476d796c Task-number: QTCREATORBUG-20762 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--app/perfsymboltable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/perfsymboltable.cpp b/app/perfsymboltable.cpp
index 0b217bb..2c44ac7 100644
--- a/app/perfsymboltable.cpp
+++ b/app/perfsymboltable.cpp
@@ -296,6 +296,7 @@ void PerfSymbolTable::registerElf(const PerfRecordMmap &mmap, const QByteArray &
// special regions, such as [heap], [vdso], [stack], ... as well as //anon
const bool isSpecialRegion = (filePath.startsWith('[') && filePath.endsWith(']'))
|| filePath.startsWith(QLatin1String("/dev/"))
+ || filePath.startsWith(QLatin1String("/memfd:"))
|| filePath == QLatin1String("//anon")
|| filePath == QLatin1String("/SYSV00000000 (deleted)");
const auto fileName = QFileInfo(filePath).fileName();