summaryrefslogtreecommitdiff
path: root/imgdiag/find_unshared_pages.cc
AgeCommit message (Collapse)Author
2025-03-10Add find_unshared_pages tool Dmitrii Ishcheikin
The tool goes through all memory maps of two processes and finds pages that have equal contents but are not shared. Test: find_unshared_pages --pid1=$(pidof system_server) --pid2=$(pidof com.android.camera2) Change-Id: I1c5bbb18c9854c13f6112a87dbea2d806421d2bb