Chromium Code Reviews| Index: tools/deep_memory_profiler/policy.android.browser.json |
| diff --git a/tools/deep_memory_profiler/policy.android.browser.json b/tools/deep_memory_profiler/policy.android.browser.json |
| index 143f3eab6f73aba211d43f09d511ffea468e8a9d..432732bebd7c9975fc69c14e6a8d9d959a799471 100644 |
| --- a/tools/deep_memory_profiler/policy.android.browser.json |
| +++ b/tools/deep_memory_profiler/policy.android.browser.json |
| @@ -7,6 +7,17 @@ |
| "FROM_HERE_FOR_TOTAL", |
| "mustbezero", |
| "unhooked-absent", |
| + "unhooked-ashmem-dalvik-heap", |
| + "unhooked-ashmem-dalvik-LinearAlloc", |
| + "unhooked-ashmem-dalvik-aux-structure", |
| + "unhooked-ashmem-dalvik-bitmap", |
| + "unhooked-ashmem-dalvik-other", |
| + "unhooked-pvrsrvkm", |
| + "unhooked-system-dex", |
| + "unhooked-data-app", |
| + "unhooked-data-applib", |
| + "unhooked-data-data", |
|
bulach
2013/05/22 15:12:18
small suggestion: rather than all this data-*, I t
|
| + "unhooked-other-ashmem", |
| "unhooked-anonymous", |
| "unhooked-file-exec", |
| "unhooked-file-nonexec", |
| @@ -84,29 +95,85 @@ |
| "allocator": "optional" |
| }, |
| { |
| + "name": "unhooked-ashmem-dalvik-heap", |
| + "mappedfile": "/dev/ashmem/dalvik-heap.*", |
| + "allocator": "unhooked" |
| + }, |
| + { |
| + "name": "unhooked-ashmem-dalvik-LinearAlloc", |
| + "mappedfile": "/dev/ashmem/dalvik-LinearAlloc.*", |
| + "allocator": "unhooked" |
| + }, |
| + { |
| + "name": "unhooked-ashmem-dalvik-aux-structure", |
| + "mappedfile": "/dev/ashmem/dalvik-aux-structure.*", |
| + "allocator": "unhooked" |
| + }, |
| + { |
| + "name": "unhooked-ashmem-dalvik-bitmap", |
| + "mappedfile": "/dev/ashmem/dalvik-bitmap.*", |
| + "allocator": "unhooked" |
| + }, |
| + { |
| + "name": "unhooked-ashmem-dalvik-other", |
| + "mappedfile": "/dev/ashmem/dalvik.*", |
| + "allocator": "unhooked" |
| + }, |
| + { |
| + "name": "unhooked-pvrsrvkm", |
| + "mappedfile": "/dev/pvrsrvkm.*", |
| + "allocator": "unhooked" |
| + }, |
| + { |
| + "name": "unhooked-system-dex", |
| + "mappedfile": "/data/dalvik-cache/system.*.dex.*", |
| + "allocator": "unhooked" |
| + }, |
| + { |
| + "name": "unhooked-data-app", |
| + "mappedfile": "/data/app/.*", |
| + "allocator": "unhooked" |
| + }, |
| + { |
| + "name": "unhooked-data-applib", |
| + "mappedfile": "/data/app-lib/.*", |
| + "allocator": "unhooked" |
| + }, |
| + { |
| + "name": "unhooked-data-data", |
| + "mappedfile": "/data/data/.*", |
| + "allocator": "unhooked" |
| + }, |
| + { |
| + "name": "unhooked-other-ashmem", |
| + "mappedfile": "/dev/ashmem/.*", |
| + "allocator": "unhooked" |
| + }, |
| + { |
| "name": "unhooked-anonymous", |
| - "stacktrace": "optional", |
| - "allocator": "optional" |
| + "mappedfile": "^$", |
| + "allocator": "unhooked" |
| }, |
| { |
| "name": "unhooked-file-exec", |
| - "stacktrace": "optional", |
| - "allocator": "optional" |
| + "mappedfile": "^/.*", |
| + "mappedexecutable": "x", |
| + "allocator": "unhooked" |
| }, |
| { |
| "name": "unhooked-file-nonexec", |
| - "stacktrace": "optional", |
| - "allocator": "optional" |
| + "mappedfile": "^/.*", |
| + "allocator": "unhooked" |
| }, |
| { |
| "name": "unhooked-stack", |
| - "stacktrace": "optional", |
| - "allocator": "optional" |
| + "mappedfile": ".stack.", |
| + "allocator": "unhooked" |
| }, |
| { |
| "name": "unhooked-other", |
| - "stacktrace": "optional", |
| - "allocator": "optional" |
| + "mappedfile": ".*", |
| + "allocator": "unhooked" |
| }, |
| { |
| "name": "mmap-gpu-transferbuffer", |
| @@ -230,4 +297,4 @@ |
| } |
| ], |
| "version": "POLICY_DEEP_3" |
| -} |
| +} |