use of org.eclipse.linuxtools.internal.valgrind.massif.MassifHeapTreeNode in project linuxtools by eclipse.
the class ChartLocationsDialog method setInput.
public void setInput(MassifSnapshot snapshot) {
MassifHeapTreeNode node = snapshot.getRoot();
allocs = new ArrayList<>(node.getChildren().length);
for (MassifHeapTreeNode alloc : node.getChildren()) {
if (alloc.hasSourceFile()) {
allocs.add(alloc);
}
}
super.setInput(allocs);
}
Aggregations