diff options
author | hjk <[email protected]> | 2025-04-09 10:36:39 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2025-04-10 08:11:05 +0000 |
commit | 6af62f8a66ac3f9e09584d287a738cd1b3116395 (patch) | |
tree | 005836ecfbae4bad5ddf53fd72e71796822a9325 /app/perfunwind.cpp | |
parent | 65ab0ff4a3edcca5eb383e5eb32007fd4bd28947 (diff) |
It's effectively the same in Qt 6, and QList is more direct.
Change-Id: I0f23b765f2f8930a715e378212b9bb4f38fcef54
Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'app/perfunwind.cpp')
-rw-r--r-- | app/perfunwind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/perfunwind.cpp b/app/perfunwind.cpp index e8607fb..e0aa9ba 100644 --- a/app/perfunwind.cpp +++ b/app/perfunwind.cpp @@ -553,7 +553,7 @@ void PerfUnwind::unwindStack() dwfl_getthread_frames(dwfl, m_currentUnwind.sample->pid(), frameCallback, &m_currentUnwind); if (m_currentUnwind.isInterworking) { - QVector<qint32> savedFrames = m_currentUnwind.frames; + QList<qint32> savedFrames = m_currentUnwind.frames; // If it's an ARM interworking veneer, we assume that we can find a return address in LR and // no stack has been used for the veneer itself. @@ -790,7 +790,7 @@ void PerfUnwind::analyze(const PerfRecordSample &sample) } } - QVector<QPair<qint32, quint64>> values; + QList<QPair<qint32, quint64>> values; const auto readFormats = sample.readFormats(); if (readFormats.isEmpty()) { values.push_back({ attributesId, sample.period() }); |