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

206 lines
4.4 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-std-string",
"tc-WTF-String",
"tc-no-typeinfo-StringImpl",
"tc-Skia",
"tc-WebCore-Style",
"tc-no-typeinfo-other",
"tc-other",
"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",
"stacktrace": ".*v8::.*",
"allocator": "mmap"
},
{
"name": "mmap-catch-all",
"stacktrace": ".*",
"allocator": "mmap"
},
{
"name": "tc-std-string",
"stacktrace": ".*",
"typeinfo": "std::basic_string.*",
"allocator": "malloc"
},
{
"name": "tc-WTF-String",
"stacktrace": ".*",
"typeinfo": "WTF::String.*",
"allocator": "malloc"
},
{
"name": "tc-no-typeinfo-StringImpl",
"stacktrace": ".*WTF::StringImpl::getData16SlowCase.*",
"typeinfo": "no typeinfo",
"allocator": "malloc"
},
{
"name": "tc-Skia",
"stacktrace": ".*",
"typeinfo": "(skia::|SkGlyph).*",
"allocator": "malloc"
},
{
"name": "tc-WebCore-Style",
"stacktrace": ".*",
"typeinfo": "WebCore::Style.*",
"allocator": "malloc"
},
{
"name": "tc-no-typeinfo-other",
"stacktrace": ".*",
"typeinfo": "no typeinfo",
"allocator": "malloc"
},
{
"name": "tc-other",
"stacktrace": ".*",
"typeinfo": ".*",
"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_4"
}