Index: tools/deep_memory_profiler/policy.l0.json |
diff --git a/tools/deep_memory_profiler/policy.l0.json b/tools/deep_memory_profiler/policy.l0.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4c24c158e72996e3af6a579c14da91af84c3bfbf |
--- /dev/null |
+++ b/tools/deep_memory_profiler/policy.l0.json |
@@ -0,0 +1,155 @@ |
+{ |
+ "components": [ |
+ "second", |
+ "mmap-profiler", |
+ "mmap-allocated-type", |
+ "mmap-tcmalloc", |
+ "FROM_HERE_FOR_TOTAL", |
+ "mustbezero", |
+ "nonprofiled-absent", |
+ "nonprofiled-anonymous", |
+ "nonprofiled-file-exec", |
+ "nonprofiled-file-nonexec", |
+ "nonprofiled-stack", |
+ "nonprofiled-other", |
+ "no-bucket", |
+ "mmap-v8", |
+ "mmap-catch-all", |
+ "tc-used-all", |
+ "tc-unused", |
+ "UNTIL_HERE_FOR_TOTAL", |
+ "total-exclude-profiler", |
+ "total", |
+ "anonymous", |
+ "file-exec", |
+ "file-nonexec", |
+ "stack", |
+ "other", |
+ "mmap-total-log", |
+ "mmap-no-log", |
+ "mmap-total-record", |
+ "other-total-log", |
+ "tc-total-log", |
+ "tc-no-log", |
+ "tc-total-record", |
+ "tc-total" |
+ ], |
+ "rules": [ |
+ { |
+ "name": "second", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "mmap-profiler", |
+ "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*", |
+ "allocator": "mmap" |
+ }, |
+ { |
+ "name": "mmap-allocated-type", |
+ "stacktrace": ".*(AllocatedTypeMalloc).*", |
+ "allocator": "mmap" |
+ }, |
+ { |
+ "name": "mmap-tcmalloc", |
+ "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocator::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*", |
+ "allocator": "mmap" |
+ }, |
+ { |
+ "name": "FROM_HERE_FOR_TOTAL", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "mustbezero", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "nonprofiled-absent", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "nonprofiled-anonymous", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "nonprofiled-file-exec", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "nonprofiled-file-nonexec", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "nonprofiled-stack", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "nonprofiled-other", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "mmap-v8", |
+ "stacktrace": ".*v8::.*", |
+ "allocator": "mmap" |
+ }, |
+ { |
+ "name": "mmap-catch-all", |
+ "stacktrace": ".*", |
+ "allocator": "mmap" |
+ }, |
+ { |
+ "name": "tc-used-all", |
+ "stacktrace": ".*", |
+ "allocator": "malloc" |
+ }, |
+ { |
+ "name": "UNTIL_HERE_FOR_TOTAL", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "total-exclude-profiler", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "total", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "anonymous", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "file-exec", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "file-nonexec", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "stack", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ }, |
+ { |
+ "name": "other", |
+ "stacktrace": "optional", |
+ "allocator": "optional" |
+ } |
+ ], |
+ "version": "POLICY_DEEP_3" |
+} |