Skip to content

Commit 3062381

Browse files
author
Wenhui Yang
committed
Include PID and UID in offscreen hierarchy dumping
Fixes: 374625249 Test: adb shell su root dumpsys SurfaceFlinger Flag: EXEMPT bugfix Change-Id: I725aee1405f29c7e1db61d939cbd4abb8e3bc3d9
1 parent 150a881 commit 3062381

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

services/surfaceflinger/FrontEnd/LayerHierarchy.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ void LayerHierarchy::dump(std::ostream& out, const std::string& prefix,
166166
}
167167
out << "(Mirroring) ";
168168
}
169-
out << *mLayer;
169+
170+
out << *mLayer << " pid=" << mLayer->ownerPid.val() << " uid=" << mLayer->ownerUid.val();
170171
}
171172

172173
for (size_t i = 0; i < mChildren.size(); i++) {

0 commit comments

Comments
 (0)