forked from qt-creator/qt-creator
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:
@@ -82,10 +82,6 @@ QVariantList PerfTimelineModel::labels() const
|
|||||||
sample.insert(QLatin1String("id"), PerfEvent::LastSpecialTypeId);
|
sample.insert(QLatin1String("id"), PerfEvent::LastSpecialTypeId);
|
||||||
result << sample;
|
result << sample;
|
||||||
|
|
||||||
QVariantMap kernel;
|
|
||||||
kernel.insert(QLatin1String("description"), tr("[kernel]"));
|
|
||||||
result << kernel;
|
|
||||||
|
|
||||||
const PerfProfilerTraceManager *manager = traceManager();
|
const PerfProfilerTraceManager *manager = traceManager();
|
||||||
const bool aggregated = manager->aggregateAddresses();
|
const bool aggregated = manager->aggregateAddresses();
|
||||||
for (int i = 0; i < m_locationOrder.length(); ++i) {
|
for (int i = 0; i < m_locationOrder.length(); ++i) {
|
||||||
|
Reference in New Issue
Block a user