shaka-packager/tools/deep_memory_profiler/policy.sourcefile.json

187 lines
4.0 KiB
JSON

{
"components": [
"second",
"mmap-profiler",
"mmap-type-profiler",
"mmap-tcmalloc",
"FROM_HERE_FOR_TOTAL",
"mustbezero",
"unhooked-absent",
"unhooked-anonymous",
"unhooked-file-exec",
"unhooked-file-nonexec",
"unhooked-stack",
"unhooked-other",
"no-bucket",
"mmap-v8",
"mmap-catch-all",
"tc-v8",
"tc-skia",
"tc-webcore",
"tc-webkit",
"tc-catch-all",
"tc-unused",
"UNTIL_HERE_FOR_TOTAL",
"total-exclude-profiler",
"total",
"absent",
"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-type-profiler",
"stacktrace": ".*(TypeProfilerMalloc).*",
"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": "unhooked-absent",
"stacktrace": "optional",
"allocator": "optional"
},
{
"name": "unhooked-anonymous",
"mappedpathname": "^$",
"allocator": "unhooked"
},
{
"name": "unhooked-file-exec",
"mappedpathname": "^/.*",
"mappedpermission": "..x.",
"allocator": "unhooked"
},
{
"name": "unhooked-file-nonexec",
"mappedpathname": "^/.*",
"allocator": "unhooked"
},
{
"name": "unhooked-stack",
"mappedpathname": ".stack.",
"allocator": "unhooked"
},
{
"name": "unhooked-other",
"mappedpathname": ".*",
"allocator": "unhooked"
},
{
"name": "mmap-v8",
"stacksourcefile": ".*\\.\\./\\.\\./v8/src/.*",
"allocator": "mmap"
},
{
"name": "mmap-catch-all",
"stacksourcefile": ".*",
"allocator": "mmap"
},
{
"name": "tc-v8",
"stacksourcefile": ".*\\.\\./\\.\\./v8/src/.*",
"allocator": "malloc"
},
{
"name": "tc-skia",
"stacksourcefile": ".*\\.\\./\\.\\./third_party/skia/src/.*",
"allocator": "malloc"
},
{
"name": "tc-webcore",
"stacksourcefile": ".*\\.\\./\\.\\./third_party/WebKit/Source/WebCore/.*",
"allocator": "malloc"
},
{
"name": "tc-webkit",
"stacksourcefile": ".*\\.\\./\\.\\./third_party/WebKit/Source/.*",
"allocator": "malloc"
},
{
"name": "tc-catch-all",
"stacksourcefile": ".*",
"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": "absent",
"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"
}