De-dup PrefixSet code in SafeBrowsingDatabaseManager.
[chromium-blink-merge.git] / tools / deep_memory_profiler / policy.l0.json
blob14eeb9f3ec7c942f4491a436f8c57312f9bf0761
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-anonymous",
11     "unhooked-file-exec",
12     "unhooked-file-nonexec",
13     "unhooked-stack",
14     "unhooked-other",
15     "no-bucket",
16     "mmap-v8",
17     "mmap-catch-all",
18     "tc-used-all",
19     "tc-unused",
20     "UNTIL_HERE_FOR_TOTAL",
21     "total-exclude-profiler",
22     "total",
23     "absent",
24     "anonymous",
25     "file-exec",
26     "file-nonexec",
27     "stack",
28     "other",
29     "mmap-total-log",
30     "mmap-no-log",
31     "mmap-total-record",
32     "other-total-log",
33     "tc-total-log",
34     "tc-no-log",
35     "tc-total-record",
36     "tc-total"
37   ],
38   "rules": [
39     {
40       "name": "second",
41       "stacktrace": "optional",
42       "allocator": "optional"
43     },
44     {
45       "name": "mmap-profiler",
46       "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*",
47       "allocator": "mmap"
48     },
49     {
50       "name": "mmap-type-profiler",
51       "stacktrace": ".*(TypeProfilerMalloc).*",
52       "allocator": "mmap"
53     },
54     {
55       "name": "mmap-tcmalloc",
56       "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocator::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*",
57       "allocator": "mmap"
58     },
59     {
60       "name": "FROM_HERE_FOR_TOTAL",
61       "stacktrace": "optional",
62       "allocator": "optional"
63     },
64     {
65       "name": "mustbezero",
66       "stacktrace": "optional",
67       "allocator": "optional"
68     },
69     {
70       "name": "unhooked-absent",
71       "stacktrace": "optional",
72       "allocator": "optional"
73     },
74     {
75       "name": "unhooked-anonymous",
76       "mappedpathname": "^$",
77       "allocator": "unhooked"
78     },
79     {
80       "name": "unhooked-file-exec",
81       "mappedpathname": "^/.*",
82       "mappedpermission": "..x.",
83       "allocator": "unhooked"
84     },
85     {
86       "name": "unhooked-file-nonexec",
87       "mappedpathname": "^/.*",
88       "allocator": "unhooked"
89     },
90     {
91       "name": "unhooked-stack",
92       "mappedpathname": ".stack.",
93       "allocator": "unhooked"
94     },
95     {
96       "name": "unhooked-other",
97       "mappedpathname": ".*",
98       "allocator": "unhooked"
99     },
100     {
101       "name": "mmap-v8",
102       "stacktrace": ".*v8::.*",
103       "allocator": "mmap"
104     },
105     {
106       "name": "mmap-catch-all",
107       "stacktrace": ".*",
108       "allocator": "mmap"
109     },
110     {
111       "name": "tc-used-all",
112       "stacktrace": ".*",
113       "allocator": "malloc"
114     },
115     {
116       "name": "UNTIL_HERE_FOR_TOTAL",
117       "stacktrace": "optional",
118       "allocator": "optional"
119     },
120     {
121       "name": "total-exclude-profiler",
122       "stacktrace": "optional",
123       "allocator": "optional"
124     },
125     {
126       "name": "total",
127       "stacktrace": "optional",
128       "allocator": "optional"
129     },
130     {
131       "name": "absent",
132       "stacktrace": "optional",
133       "allocator": "optional"
134     },
135     {
136       "name": "anonymous",
137       "stacktrace": "optional",
138       "allocator": "optional"
139     },
140     {
141       "name": "file-exec",
142       "stacktrace": "optional",
143       "allocator": "optional"
144     },
145     {
146       "name": "file-nonexec",
147       "stacktrace": "optional",
148       "allocator": "optional"
149     },
150     {
151       "name": "stack",
152       "stacktrace": "optional",
153       "allocator": "optional"
154     },
155     {
156       "name": "other",
157       "stacktrace": "optional",
158       "allocator": "optional"
159     }
160   ],
161   "version": "POLICY_DEEP_3"