1 { 2 "components": [ 3 "second", 4 "mmap-profiler", 5 "mmap-type-profiler", 6 "mmap-tcmalloc", 7 "FROM_HERE_FOR_TOTAL", 8 "mustbezero", 9 "unhooked-absent", 10 "unhooked-ashmem-dalvik-heap", 11 "unhooked-ashmem-dalvik-LinearAlloc", 12 "unhooked-ashmem-dalvik-aux-structure", 13 "unhooked-ashmem-dalvik-bitmap", 14 "unhooked-ashmem-dalvik-other", 15 "unhooked-pvrsrvkm", 16 "unhooked-system-dex", 17 "unhooked-chrome-dex", 18 "unhooked-other-ashmem", 19 "unhooked-anonymous", 20 "unhooked-file-exec-lib-chrome", 21 "unhooked-file-exec", 22 "unhooked-file-nonexec-lib-chrome", 23 "unhooked-file-nonexec", 24 "unhooked-stack", 25 "unhooked-other", 26 "no-bucket", 27 "mmap-gpu-transferbuffer", 28 "mmap-gpu-ringbuffer", 29 "mmap-catch-all", 30 "tc-disk_cache-backing", 31 "tc-disk_cache-other", 32 "tc-sqlite3MemAlloc", 33 "tc-angle", 34 "tc-crypto", 35 "tc-net-iobuffer", 36 "tc-stl-string", 37 "tc-stl-rbtree", 38 "tc-stl-vector", 39 "tc-stl-hashtable", 40 "tc-stl-node", 41 "tc-catch-all", 42 "tc-unused", 43 "UNTIL_HERE_FOR_TOTAL", 44 "total-exclude-profiler", 45 "total", 46 "absent", 47 "anonymous", 48 "file-exec", 49 "file-nonexec", 50 "stack", 51 "other", 52 "mmap-total-log", 53 "mmap-no-log", 54 "mmap-total-record", 55 "other-total-log", 56 "tc-total-log", 57 "tc-no-log", 58 "tc-total-record", 59 "tc-total" 60 ], 61 "rules": [ 62 { 63 "name": "second", 64 "stacktrace": "optional", 65 "allocator": "optional" 66 }, 67 { 68 "name": "mmap-profiler", 69 "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*", 70 "allocator": "mmap" 71 }, 72 { 73 "name": "mmap-type-profiler", 74 "stacktrace": ".*(TypeProfilerMalloc).*", 75 "allocator": "mmap" 76 }, 77 { 78 "name": "mmap-tcmalloc", 79 "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocator::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*", 80 "allocator": "mmap" 81 }, 82 { 83 "name": "FROM_HERE_FOR_TOTAL", 84 "stacktrace": "optional", 85 "allocator": "optional" 86 }, 87 { 88 "name": "mustbezero", 89 "stacktrace": "optional", 90 "allocator": "optional" 91 }, 92 { 93 "name": "unhooked-absent", 94 "stacktrace": "optional", 95 "allocator": "optional" 96 }, 97 { 98 "name": "unhooked-ashmem-dalvik-heap", 99 "mappedpathname": "/dev/ashmem/dalvik-heap.*", 100 "allocator": "unhooked" 101 }, 102 { 103 "name": "unhooked-ashmem-dalvik-LinearAlloc", 104 "mappedpathname": "/dev/ashmem/dalvik-LinearAlloc.*", 105 "allocator": "unhooked" 106 }, 107 { 108 "name": "unhooked-ashmem-dalvik-aux-structure", 109 "mappedpathname": "/dev/ashmem/dalvik-aux-structure.*", 110 "allocator": "unhooked" 111 }, 112 { 113 "name": "unhooked-ashmem-dalvik-bitmap", 114 "mappedpathname": "/dev/ashmem/dalvik-bitmap.*", 115 "allocator": "unhooked" 116 }, 117 { 118 "name": "unhooked-ashmem-dalvik-other", 119 "mappedpathname": "/dev/ashmem/dalvik.*", 120 "allocator": "unhooked" 121 }, 122 { 123 "name": "unhooked-pvrsrvkm", 124 "mappedpathname": "/dev/pvrsrvkm.*", 125 "allocator": "unhooked" 126 }, 127 { 128 "name": "unhooked-system-dex", 129 "mappedpathname": "/data/dalvik-cache/system.*.dex.*", 130 "allocator": "unhooked" 131 }, 132 { 133 "name": "unhooked-chrome-dex", 134 "mappedpathname": "^/.*?(chrome|content).*?apk (a] classes.dex", 135 "allocator": "unhooked" 136 }, 137 { 138 "name": "unhooked-other-ashmem", 139 "mappedpathname": "/dev/ashmem/.*", 140 "allocator": "unhooked" 141 }, 142 { 143 "name": "unhooked-anonymous", 144 "mappedpathname": "^$", 145 "allocator": "unhooked" 146 }, 147 { 148 "name": "unhooked-file-exec-lib-chrome", 149 "mappedpathname": "^/.*?(chromeview|content).*", 150 "mappedpermission": "..x.", 151 "allocator": "unhooked" 152 }, 153 { 154 "name": "unhooked-file-exec", 155 "mappedpathname": "^/.*", 156 "mappedpermission": "..x.", 157 "allocator": "unhooked" 158 }, 159 { 160 "name": "unhooked-file-nonexec-lib-chrome", 161 "mappedpathname": "^/.*?(chromeview|content).*", 162 "allocator": "unhooked" 163 }, 164 { 165 "name": "unhooked-file-nonexec", 166 "mappedpathname": "^/.*", 167 "allocator": "unhooked" 168 }, 169 { 170 "name": "unhooked-stack", 171 "mappedpathname": ".stack.", 172 "allocator": "unhooked" 173 }, 174 { 175 "name": "unhooked-other", 176 "mappedpathname": ".*", 177 "allocator": "unhooked" 178 }, 179 { 180 "name": "mmap-gpu-transferbuffer", 181 "stacktrace": ".*gpu::TransferBufferManager::RegisterTransferBuffer.*", 182 "allocator": "mmap" 183 }, 184 { 185 "name": "mmap-gpu-ringbuffer", 186 "stacktrace": ".*gpu::CommandBufferHelper::AllocateRingBuffer.*", 187 "allocator": "mmap" 188 }, 189 { 190 "name": "mmap-catch-all", 191 "stacktrace": ".*", 192 "allocator": "mmap" 193 }, 194 { 195 "name": "tc-disk_cache-backing", 196 "stacktrace": ".*disk_cache::BackendImpl::InitBackingStore.*", 197 "allocator": "malloc" 198 }, 199 { 200 "name": "tc-disk_cache-other", 201 "stacktrace": ".*disk_cache::.*", 202 "allocator": "malloc" 203 }, 204 { 205 "name": "tc-sqlite3MemAlloc", 206 "stacktrace": ".*sqlite3MemMalloc.*", 207 "allocator": "malloc" 208 }, 209 { 210 "name": "tc-angle", 211 "stacktrace": ".*TPoolAllocator::allocate.*", 212 "allocator": "malloc" 213 }, 214 { 215 "name": "tc-crypto", 216 "stacktrace": ".*(CRYPTO_malloc|CRYPTO_realloc).*", 217 "allocator": "malloc" 218 }, 219 { 220 "name": "tc-net-iobuffer", 221 "stacktrace": ".*net::IOBuffer::IOBuffer.*", 222 "allocator": "malloc" 223 }, 224 { 225 "name": "tc-stl-string", 226 "stacktrace": ".*std::basic_string::.*", 227 "allocator": "malloc" 228 }, 229 { 230 "name": "tc-stl-rbtree", 231 "stacktrace": ".*std::priv::_Rb_tree::.*", 232 "allocator": "malloc" 233 }, 234 { 235 "name": "tc-stl-vector", 236 "stacktrace": ".*std::priv::_Impl_vector::.*", 237 "allocator": "malloc" 238 }, 239 { 240 "name": "tc-stl-hashtable", 241 "stacktrace": ".*std::hashtable::.*", 242 "allocator": "malloc" 243 }, 244 { 245 "name": "tc-stl-node", 246 "stacktrace": ".*std::priv::_Impl_vector::.*", 247 "allocator": "malloc" 248 }, 249 { 250 "name": "tc-catch-all", 251 "stacktrace": ".*", 252 "allocator": "malloc" 253 }, 254 { 255 "name": "UNTIL_HERE_FOR_TOTAL", 256 "stacktrace": "optional", 257 "allocator": "optional" 258 }, 259 { 260 "name": "total-exclude-profiler", 261 "stacktrace": "optional", 262 "allocator": "optional" 263 }, 264 { 265 "name": "total", 266 "stacktrace": "optional", 267 "allocator": "optional" 268 }, 269 { 270 "name": "absent", 271 "stacktrace": "optional", 272 "allocator": "optional" 273 }, 274 { 275 "name": "anonymous", 276 "stacktrace": "optional", 277 "allocator": "optional" 278 }, 279 { 280 "name": "file-exec", 281 "stacktrace": "optional", 282 "allocator": "optional" 283 }, 284 { 285 "name": "file-nonexec", 286 "stacktrace": "optional", 287 "allocator": "optional" 288 }, 289 { 290 "name": "stack", 291 "stacktrace": "optional", 292 "allocator": "optional" 293 }, 294 { 295 "name": "other", 296 "stacktrace": "optional", 297 "allocator": "optional" 298 } 299 ], 300 "version": "POLICY_DEEP_3" 301 } 302