Skip to content

Commit 28ead99

Browse files
committed
test
1 parent c818124 commit 28ead99

File tree

1 file changed

+2
-1
lines changed
  • ui/src/plugins/dev.perfetto.ProcessThreadGroups

1 file changed

+2
-1
lines changed

ui/src/plugins/dev.perfetto.ProcessThreadGroups/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export default class implements PerfettoPlugin {
132132

133133
// Set the group for all kernel threads (including kthreadd itself).
134134
for (; it.valid(); it.next()) {
135-
const {utid} = it;
135+
const {utid, upid} = it;
136136

137137
const threadGroup = new TrackNode({
138138
uri: `thread${utid}`,
@@ -141,6 +141,7 @@ export default class implements PerfettoPlugin {
141141
headless: true,
142142
});
143143
kernelThreadsGroup.addChildInOrder(threadGroup);
144+
this.processGroups.set(upid, threadGroup);
144145
this.threadGroups.set(utid, threadGroup);
145146
}
146147
}

0 commit comments

Comments
 (0)