forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use json to describe dmprof policies.
BUG=123758 Review URL: https://chromiumcodereview.appspot.com/10824104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150528 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
dmikurube@chromium.org
committed
Aug 8, 2012
1 parent
25c78cf
commit 752ad23
Showing
5 changed files
with
851 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
{ | ||
"l0": { | ||
"file": "policy.l0.txt" | ||
"file": "policy.l0.json", | ||
"format": "json" | ||
}, | ||
"l1": { | ||
"file": "policy.l1.txt" | ||
"file": "policy.l1.json", | ||
"format": "json" | ||
}, | ||
"l2": { | ||
"file": "policy.l2.txt" | ||
"file": "policy.l2.json", | ||
"format": "json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
{ | ||
"components": [ | ||
"second", | ||
"mmap-profiler", | ||
"mmap-allocated-type", | ||
"mmap-tcmalloc", | ||
"FROM_HERE_FOR_TOTAL", | ||
"mustbezero", | ||
"nonprofiled-absent", | ||
"nonprofiled-anonymous", | ||
"nonprofiled-file-exec", | ||
"nonprofiled-file-nonexec", | ||
"nonprofiled-stack", | ||
"nonprofiled-other", | ||
"no-bucket", | ||
"mmap-v8", | ||
"mmap-catch-all", | ||
"tc-used-all", | ||
"tc-unused", | ||
"UNTIL_HERE_FOR_TOTAL", | ||
"total-exclude-profiler", | ||
"total", | ||
"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-allocated-type", | ||
"stacktrace": ".*(AllocatedTypeMalloc).*", | ||
"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": "nonprofiled-absent", | ||
"stacktrace": "optional", | ||
"allocator": "optional" | ||
}, | ||
{ | ||
"name": "nonprofiled-anonymous", | ||
"stacktrace": "optional", | ||
"allocator": "optional" | ||
}, | ||
{ | ||
"name": "nonprofiled-file-exec", | ||
"stacktrace": "optional", | ||
"allocator": "optional" | ||
}, | ||
{ | ||
"name": "nonprofiled-file-nonexec", | ||
"stacktrace": "optional", | ||
"allocator": "optional" | ||
}, | ||
{ | ||
"name": "nonprofiled-stack", | ||
"stacktrace": "optional", | ||
"allocator": "optional" | ||
}, | ||
{ | ||
"name": "nonprofiled-other", | ||
"stacktrace": "optional", | ||
"allocator": "optional" | ||
}, | ||
{ | ||
"name": "mmap-v8", | ||
"stacktrace": ".*v8::.*", | ||
"allocator": "mmap" | ||
}, | ||
{ | ||
"name": "mmap-catch-all", | ||
"stacktrace": ".*", | ||
"allocator": "mmap" | ||
}, | ||
{ | ||
"name": "tc-used-all", | ||
"stacktrace": ".*", | ||
"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": "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" | ||
} |
Oops, something went wrong.