diff options
author | Zhenhua WANG <zhenhua.wang@intel.com> | 2017-04-25 11:07:19 +0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-05-17 14:33:08 -0700 |
commit | f963bc3833951e78558de87e0c8fca589572ccf8 (patch) | |
tree | 3f43e49f21908c177a508d63284005b34c7e6690 /libc/stdio/stdio_ext.cpp | |
parent | bb67386c850c00e4c9081c61fa88e7554e3e779f (diff) |
Compare Pss of tested library in VerifyMemorySaving
DlExtRelroSharingTest.VerifyMemorySaving verifies whether
android_dlopen_ext(ANDROID_DLEXT_USE_RELRO) really saves memory.
This patch compares Pss of the tested library rather than total
Pss of the process, in case different behavior of dlopen() and
android_dlopen_ext() introduces random Pss usage.
Test: DlExtRelroSharingTest.VerifyMemorySaving
(cherry picked from commit 81aad0058cd0961dfd9f3006dd979c1fdd6ca659)
Bug: https://issuetracker.google.com/38226388
Change-Id: I4248628fa951b38818fe2af363fdf78abf09a112
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions