diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-04 22:06:48 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-04 22:06:48 +0000 |
commit | f09a5998834f8bcd88acc5e20a1bba421f03e16c (patch) | |
tree | d3858c42c4bb1e9f4064b755293d5c6e79a22f8f /tools/deep_memory_profiler | |
parent | 83f73cd97864d95e73f3a655c73270e0a456fede (diff) | |
download | chromium_src-f09a5998834f8bcd88acc5e20a1bba421f03e16c.zip chromium_src-f09a5998834f8bcd88acc5e20a1bba421f03e16c.tar.gz chromium_src-f09a5998834f8bcd88acc5e20a1bba421f03e16c.tar.bz2 |
Android / dmprof: explodes policies for shared areas.
After crrev.com/208163, dmprof can segregate areas that are shared with
chrome processes and others.
Use this feature in the android policies.
BUG=
Review URL: https://chromiumcodereview.appspot.com/18710003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221278 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/deep_memory_profiler')
-rw-r--r-- | tools/deep_memory_profiler/policy.android.browser.json | 29 | ||||
-rw-r--r-- | tools/deep_memory_profiler/policy.android.renderer.json | 29 |
2 files changed, 46 insertions, 12 deletions
diff --git a/tools/deep_memory_profiler/policy.android.browser.json b/tools/deep_memory_profiler/policy.android.browser.json index e34fee7..4023fea5 100644 --- a/tools/deep_memory_profiler/policy.android.browser.json +++ b/tools/deep_memory_profiler/policy.android.browser.json @@ -17,9 +17,11 @@ "unhooked-chrome-dex", "unhooked-other-ashmem", "unhooked-anonymous", - "unhooked-file-exec-lib-chrome", + "unhooked-file-exec-lib-chrome-shared", + "unhooked-file-exec-lib-chrome-private", "unhooked-file-exec", - "unhooked-file-nonexec-lib-chrome", + "unhooked-file-nonexec-lib-chrome-shared", + "unhooked-file-nonexec-lib-chrome-private", "unhooked-file-nonexec", "unhooked-stack", "unhooked-other", @@ -145,10 +147,18 @@ "allocator": "unhooked" }, { - "name": "unhooked-file-exec-lib-chrome", + "name": "unhooked-file-exec-lib-chrome-shared", "mappedpathname": "^/.*?(chromeview|content).*", "mappedpermission": "..x.", - "allocator": "unhooked" + "allocator": "unhooked", + "sharedwith": ["group", "others"] + }, + { + "name": "unhooked-file-exec-lib-chrome-private", + "mappedpathname": "^/.*?(chromeview|content).*", + "mappedpermission": "..x.", + "allocator": "unhooked", + "sharedwith": ["private"] }, { "name": "unhooked-file-exec", @@ -157,9 +167,16 @@ "allocator": "unhooked" }, { - "name": "unhooked-file-nonexec-lib-chrome", + "name": "unhooked-file-nonexec-lib-chrome-shared", "mappedpathname": "^/.*?(chromeview|content).*", - "allocator": "unhooked" + "allocator": "unhooked", + "sharedwith": ["group", "others"] + }, + { + "name": "unhooked-file-nonexec-lib-chrome-private", + "mappedpathname": "^/.*?(chromeview|content).*", + "allocator": "unhooked", + "sharedwith": ["private"] }, { "name": "unhooked-file-nonexec", diff --git a/tools/deep_memory_profiler/policy.android.renderer.json b/tools/deep_memory_profiler/policy.android.renderer.json index c039c6f..0fbe526 100644 --- a/tools/deep_memory_profiler/policy.android.renderer.json +++ b/tools/deep_memory_profiler/policy.android.renderer.json @@ -17,9 +17,11 @@ "unhooked-chrome-dex", "unhooked-other-ashmem", "unhooked-anonymous", - "unhooked-file-exec-lib-chrome", + "unhooked-file-exec-lib-chrome-shared", + "unhooked-file-exec-lib-chrome-private", "unhooked-file-exec", - "unhooked-file-nonexec-lib-chrome", + "unhooked-file-nonexec-lib-chrome-shared", + "unhooked-file-nonexec-lib-chrome-private", "unhooked-file-nonexec", "unhooked-stack", "unhooked-other", @@ -173,10 +175,18 @@ "allocator": "unhooked" }, { - "name": "unhooked-file-exec-lib-chrome", + "name": "unhooked-file-exec-lib-chrome-shared", "mappedpathname": "^/.*?(chromeview|content).*", "mappedpermission": "..x.", - "allocator": "unhooked" + "allocator": "unhooked", + "sharedwith": ["group", "others"] + }, + { + "name": "unhooked-file-exec-lib-chrome-private", + "mappedpathname": "^/.*?(chromeview|content).*", + "mappedpermission": "..x.", + "allocator": "unhooked", + "sharedwith": ["private"] }, { "name": "unhooked-file-exec", @@ -185,9 +195,16 @@ "allocator": "unhooked" }, { - "name": "unhooked-file-nonexec-lib-chrome", + "name": "unhooked-file-nonexec-lib-chrome-shared", "mappedpathname": "^/.*?(chromeview|content).*", - "allocator": "unhooked" + "allocator": "unhooked", + "sharedwith": ["group", "others"] + }, + { + "name": "unhooked-file-nonexec-lib-chrome-private", + "mappedpathname": "^/.*?(chromeview|content).*", + "allocator": "unhooked", + "sharedwith": ["private"] }, { "name": "unhooked-file-nonexec", |