Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,11 @@ protected ResourcesStatusDataProvider(@NonNull ITmfTrace trace, @NonNull TmfStat
}
Collections.sort(builder, COMPARATOR);

return new TmfTreeModel<>(Collections.emptyList(), ImmutableList.copyOf(builder));
TmfTreeModel.Builder<@NonNull ResourcesEntryModel> treeModelBuilder = new TmfTreeModel.Builder<@NonNull ResourcesEntryModel>()
.setAutoExpandLevel(1) // only expand top level
.setEntries(ImmutableList.copyOf(builder));

return treeModelBuilder.build();
}

private static long getCpuFrequency(@NonNull ITmfStateSystem ss, int cpuQuark, @NonNull String freqAttribute) throws StateSystemDisposedException {
Expand Down
Loading