diff options
author | 2025-03-04 16:56:31 +0000 | |
---|---|---|
committer | 2025-03-10 07:50:14 -0700 | |
commit | 1e7f64367f8e396391d52fe037e662c8b08c80cd (patch) | |
tree | e1310d5174e186b08523791f3e783375a1aef779 /build | |
parent | e8b13bcd702c20176dd8acfab6f130f0d9eec736 (diff) |
Add find_unshared_pages tool
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
Diffstat (limited to 'build')
-rw-r--r-- | build/apex/Android.bp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build/apex/Android.bp b/build/apex/Android.bp index d2fd8f9e1e..f91b7863ee 100644 --- a/build/apex/Android.bp +++ b/build/apex/Android.bp @@ -220,7 +220,11 @@ apex_test { native_shared_libs: ["libart"], multilib: { both: { - binaries: ["imgdiag"], + binaries: [ + "imgdiag", + "pageinfo", + "find_unshared_pages", + ], }, first: { binaries: ["odrefresh"], |