Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(929)

Side by Side Diff: tools/deep_memory_profiler/policy.l1.json

Issue 10824104: Use json to describe dmprof policies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add else: path in load_policy Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/deep_memory_profiler/policy.l0.json ('k') | tools/deep_memory_profiler/policy.l2.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {
2 "components": [
3 "second",
4 "mmap-profiler",
5 "mmap-allocated-type",
6 "mmap-tcmalloc",
7 "FROM_HERE_FOR_TOTAL",
8 "mustbezero",
9 "nonprofiled-absent",
10 "nonprofiled-anonymous",
11 "nonprofiled-file-exec",
12 "nonprofiled-file-nonexec",
13 "nonprofiled-stack",
14 "nonprofiled-other",
15 "no-bucket",
16 "mmap-v8-heap-newspace",
17 "mmap-v8-heap-coderange",
18 "mmap-v8-heap-pagedspace",
19 "mmap-v8-other",
20 "mmap-catch-all",
21 "tc-v8",
22 "tc-skia",
23 "tc-webkit-catch-all",
24 "tc-unknown-string",
25 "tc-catch-all",
26 "tc-unused",
27 "UNTIL_HERE_FOR_TOTAL",
28 "total-exclude-profiler",
29 "total",
30 "anonymous",
31 "file-exec",
32 "file-nonexec",
33 "stack",
34 "other",
35 "mmap-total-log",
36 "mmap-no-log",
37 "mmap-total-record",
38 "other-total-log",
39 "tc-total-log",
40 "tc-no-log",
41 "tc-total-record",
42 "tc-total"
43 ],
44 "rules": [
45 {
46 "name": "second",
47 "stacktrace": "optional",
48 "allocator": "optional"
49 },
50 {
51 "name": "mmap-profiler",
52 "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*",
53 "allocator": "mmap"
54 },
55 {
56 "name": "mmap-allocated-type",
57 "stacktrace": ".*(AllocatedTypeMalloc).*",
58 "allocator": "mmap"
59 },
60 {
61 "name": "mmap-tcmalloc",
62 "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocato r::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*",
63 "allocator": "mmap"
64 },
65 {
66 "name": "FROM_HERE_FOR_TOTAL",
67 "stacktrace": "optional",
68 "allocator": "optional"
69 },
70 {
71 "name": "mustbezero",
72 "stacktrace": "optional",
73 "allocator": "optional"
74 },
75 {
76 "name": "nonprofiled-absent",
77 "stacktrace": "optional",
78 "allocator": "optional"
79 },
80 {
81 "name": "nonprofiled-anonymous",
82 "stacktrace": "optional",
83 "allocator": "optional"
84 },
85 {
86 "name": "nonprofiled-file-exec",
87 "stacktrace": "optional",
88 "allocator": "optional"
89 },
90 {
91 "name": "nonprofiled-file-nonexec",
92 "stacktrace": "optional",
93 "allocator": "optional"
94 },
95 {
96 "name": "nonprofiled-stack",
97 "stacktrace": "optional",
98 "allocator": "optional"
99 },
100 {
101 "name": "nonprofiled-other",
102 "stacktrace": "optional",
103 "allocator": "optional"
104 },
105 {
106 "name": "mmap-v8-heap-newspace",
107 "stacktrace": ".*v8::internal::NewSpace::SetUp.*",
108 "allocator": "mmap"
109 },
110 {
111 "name": "mmap-v8-heap-coderange",
112 "stacktrace": ".*v8::internal::CodeRange::SetUp.*",
113 "allocator": "mmap"
114 },
115 {
116 "name": "mmap-v8-heap-pagedspace",
117 "stacktrace": ".*v8::internal::PagedSpace::AllocateRaw.*",
118 "allocator": "mmap"
119 },
120 {
121 "name": "mmap-v8-other",
122 "stacktrace": ".*v8::.*",
123 "allocator": "mmap"
124 },
125 {
126 "name": "mmap-catch-all",
127 "stacktrace": ".*",
128 "allocator": "mmap"
129 },
130 {
131 "name": "tc-v8",
132 "stacktrace": ".*v8::.*",
133 "allocator": "malloc"
134 },
135 {
136 "name": "tc-skia",
137 "stacktrace": ".*Sk[A-Za-z_]+::.*",
138 "allocator": "malloc"
139 },
140 {
141 "name": "tc-webkit-catch-all",
142 "stacktrace": ".*(WTF::|WebCore::|WebKit::).*",
143 "allocator": "malloc"
144 },
145 {
146 "name": "tc-unknown-string",
147 "stacktrace": ".*std::basic_string::_Rep::_S_create.*",
148 "allocator": "malloc"
149 },
150 {
151 "name": "tc-catch-all",
152 "stacktrace": ".*",
153 "allocator": "malloc"
154 },
155 {
156 "name": "UNTIL_HERE_FOR_TOTAL",
157 "stacktrace": "optional",
158 "allocator": "optional"
159 },
160 {
161 "name": "total-exclude-profiler",
162 "stacktrace": "optional",
163 "allocator": "optional"
164 },
165 {
166 "name": "total",
167 "stacktrace": "optional",
168 "allocator": "optional"
169 },
170 {
171 "name": "anonymous",
172 "stacktrace": "optional",
173 "allocator": "optional"
174 },
175 {
176 "name": "file-exec",
177 "stacktrace": "optional",
178 "allocator": "optional"
179 },
180 {
181 "name": "file-nonexec",
182 "stacktrace": "optional",
183 "allocator": "optional"
184 },
185 {
186 "name": "stack",
187 "stacktrace": "optional",
188 "allocator": "optional"
189 },
190 {
191 "name": "other",
192 "stacktrace": "optional",
193 "allocator": "optional"
194 }
195 ],
196 "version": "POLICY_DEEP_3"
197 }
OLDNEW
« no previous file with comments | « tools/deep_memory_profiler/policy.l0.json ('k') | tools/deep_memory_profiler/policy.l2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698