diff options
author | Antti Määttä <[email protected]> | 2023-08-30 09:40:09 +0300 |
---|---|---|
committer | Antti Määttä <[email protected]> | 2023-09-19 15:45:05 +0300 |
commit | 720bb62f5c24ddb06f2cb4252c513c9d5b0e9639 (patch) | |
tree | c25e2b8be9b5900127b03f6b77a6431597fbca89 | |
parent | 15fb832b43a5027c8e5f784b460c9979bd37310c (diff) |
CTF: Fix channel naming
This was erroniously removed in a previous change.
Pick-to: 6.6 6.5
Change-Id: Ia62327bea7e3d190503a0eb05217c0f780f4fe9a
Reviewed-by: Antti Määttä <[email protected]>
-rw-r--r-- | src/plugins/tracing/qctflib.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/tracing/qctflib.cpp b/src/plugins/tracing/qctflib.cpp index 86d39afaa9b..501c89ae91d 100644 --- a/src/plugins/tracing/qctflib.cpp +++ b/src/plugins/tracing/qctflib.cpp @@ -379,6 +379,7 @@ void QCtfLibImpl::doTracepoint(const QCtfTracePointEvent &point, const QByteArra ch.impl = this; m_channels.append(&ch); m_threadIndices.insert(thread, m_threadIndices.size()); + sprintf(ch.channelName, "%s/channel_%d", qPrintable(m_location), m_threadIndices[thread]); ch.minTimestamp = ch.maxTimestamp = timestamp; ch.thread = thread; ch.threadIndex = m_threadIndices[thread]; |