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

Side by Side Diff: tools/deep_memory_profiler/policy.l0.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/policies.json ('k') | tools/deep_memory_profiler/policy.l1.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",
17 "mmap-catch-all",
18 "tc-used-all",
19 "tc-unused",
20 "UNTIL_HERE_FOR_TOTAL",
21 "total-exclude-profiler",
22 "total",
23 "anonymous",
24 "file-exec",
25 "file-nonexec",
26 "stack",
27 "other",
28 "mmap-total-log",
29 "mmap-no-log",
30 "mmap-total-record",
31 "other-total-log",
32 "tc-total-log",
33 "tc-no-log",
34 "tc-total-record",
35 "tc-total"
36 ],
37 "rules": [
38 {
39 "name": "second",
40 "stacktrace": "optional",
41 "allocator": "optional"
42 },
43 {
44 "name": "mmap-profiler",
45 "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*",
46 "allocator": "mmap"
47 },
48 {
49 "name": "mmap-allocated-type",
50 "stacktrace": ".*(AllocatedTypeMalloc).*",
51 "allocator": "mmap"
52 },
53 {
54 "name": "mmap-tcmalloc",
55 "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocato r::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*",
56 "allocator": "mmap"
57 },
58 {
59 "name": "FROM_HERE_FOR_TOTAL",
60 "stacktrace": "optional",
61 "allocator": "optional"
62 },
63 {
64 "name": "mustbezero",
65 "stacktrace": "optional",
66 "allocator": "optional"
67 },
68 {
69 "name": "nonprofiled-absent",
70 "stacktrace": "optional",
71 "allocator": "optional"
72 },
73 {
74 "name": "nonprofiled-anonymous",
75 "stacktrace": "optional",
76 "allocator": "optional"
77 },
78 {
79 "name": "nonprofiled-file-exec",
80 "stacktrace": "optional",
81 "allocator": "optional"
82 },
83 {
84 "name": "nonprofiled-file-nonexec",
85 "stacktrace": "optional",
86 "allocator": "optional"
87 },
88 {
89 "name": "nonprofiled-stack",
90 "stacktrace": "optional",
91 "allocator": "optional"
92 },
93 {
94 "name": "nonprofiled-other",
95 "stacktrace": "optional",
96 "allocator": "optional"
97 },
98 {
99 "name": "mmap-v8",
100 "stacktrace": ".*v8::.*",
101 "allocator": "mmap"
102 },
103 {
104 "name": "mmap-catch-all",
105 "stacktrace": ".*",
106 "allocator": "mmap"
107 },
108 {
109 "name": "tc-used-all",
110 "stacktrace": ".*",
111 "allocator": "malloc"
112 },
113 {
114 "name": "UNTIL_HERE_FOR_TOTAL",
115 "stacktrace": "optional",
116 "allocator": "optional"
117 },
118 {
119 "name": "total-exclude-profiler",
120 "stacktrace": "optional",
121 "allocator": "optional"
122 },
123 {
124 "name": "total",
125 "stacktrace": "optional",
126 "allocator": "optional"
127 },
128 {
129 "name": "anonymous",
130 "stacktrace": "optional",
131 "allocator": "optional"
132 },
133 {
134 "name": "file-exec",
135 "stacktrace": "optional",
136 "allocator": "optional"
137 },
138 {
139 "name": "file-nonexec",
140 "stacktrace": "optional",
141 "allocator": "optional"
142 },
143 {
144 "name": "stack",
145 "stacktrace": "optional",
146 "allocator": "optional"
147 },
148 {
149 "name": "other",
150 "stacktrace": "optional",
151 "allocator": "optional"
152 }
153 ],
154 "version": "POLICY_DEEP_3"
155 }
OLDNEW
« no previous file with comments | « tools/deep_memory_profiler/policies.json ('k') | tools/deep_memory_profiler/policy.l1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698