summaryrefslogtreecommitdiffstats
path: root/app/perfdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/perfdata.cpp')
-rw-r--r--app/perfdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/perfdata.cpp b/app/perfdata.cpp
index 2f68b1b..e1bc69e 100644
--- a/app/perfdata.cpp
+++ b/app/perfdata.cpp
@@ -406,7 +406,7 @@ QDataStream &operator>>(QDataStream &stream, PerfSampleId &sampleId)
if (sampleId.m_sampleType & PerfEventAttributes::SAMPLE_STREAM_ID)
stream >> sampleId.m_streamId;
if (sampleId.m_sampleType & PerfEventAttributes::SAMPLE_CPU)
- stream >> sampleId.m_res >> sampleId.m_cpu;
+ stream >> sampleId.m_cpu >> sampleId.m_res;
if (sampleId.m_sampleType & PerfEventAttributes::SAMPLE_IDENTIFIER)
stream.skipRawData(sizeof(sampleId.m_ignoredDuplicateId));
}