PerfProfiler: Drop [kernel] from expanded row labels

We don't treat the kernel symbols as special anymore and the extra row
messes up the other labels.

Change-Id: I562b683322172a9b166a89b7c7087b4e69a1646c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Ulf Hermann
2019-02-11 10:11:35 +01:00
parent 8789c5ab71
commit 0a974cb59f

View File

@@ -82,10 +82,6 @@ QVariantList PerfTimelineModel::labels() const
sample.insert(QLatin1String("id"), PerfEvent::LastSpecialTypeId);
result << sample;
QVariantMap kernel;
kernel.insert(QLatin1String("description"), tr("[kernel]"));
result << kernel;
const PerfProfilerTraceManager *manager = traceManager();
const bool aggregated = manager->aggregateAddresses();
for (int i = 0; i < m_locationOrder.length(); ++i) {