summaryrefslogtreecommitdiffstats
path: root/app/perfsymboltable.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-12-05 10:04:36 +0100
committerUlf Hermann <ulf.hermann@qt.io>2022-12-05 10:18:27 +0000
commit0e9d09e73279d0e1d9052810b1aea4fcc7915a72 (patch)
tree422070e90155de7f1b31784ae46553d0983ea354 /app/perfsymboltable.h
parentab22c8582c9edec450a30edf316b078cfb10b09f (diff)
Make findDebugInfoFile() accessible from the test9.0
If it's static in perfsymboltable.cpp's file scope, we cannot use it from anywhere else. Change-Id: I60ac203120b7c88feff2acb26b224a8761469bf8 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'app/perfsymboltable.h')
-rw-r--r--app/perfsymboltable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/perfsymboltable.h b/app/perfsymboltable.h
index 366c9f5..27ba205 100644
--- a/app/perfsymboltable.h
+++ b/app/perfsymboltable.h
@@ -44,6 +44,9 @@ public:
PerfSymbolTable(qint32 pid, Dwfl_Callbacks *callbacks, PerfUnwind *parent);
~PerfSymbolTable();
+ static QFileInfo findDebugInfoFile(
+ const QString& root, const QString& file, const QString& debugLinkString);
+
struct PerfMapSymbol {
PerfMapSymbol(quint64 start = 0, quint64 length = 0, QByteArray name = QByteArray()) :
start(start), length(length), name(name) {}