[tools] Update tools/callstats.* with the new background GC group.

Bug: chromium:758183
Change-Id: I6858d9a3294270dde8913b8fb1a3e80008461ff6
Reviewed-on: https://chromium-review.googlesource.com/806118
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49832}
This commit is contained in:
Ulan Degenbaev 2017-12-04 15:51:04 +01:00 committed by Commit Bot
parent 8d9de7ffeb
commit d1851bba6e
2 changed files with 3 additions and 0 deletions

View File

@ -1727,6 +1727,8 @@ code is governed by a BSD-style license that can be found in the LICENSE file.
Group.add('callback', new Group('Blink C++', /.*Callback.*/, "#109618"));
Group.add('api', new Group('API', /.*API.*/, "#990099"));
Group.add('gc-custom', new Group('GC-Custom', /GC_Custom_.*/, "#0099C6"));
Group.add('gc-background',
new Group('GC-Background', /.*GC.*BACKGROUND.*/, "#00597c"));
Group.add('gc', new Group('GC', /GC_.*|AllocateInTargetSpace/, "#00799c"));
Group.add('javascript', new Group('JavaScript', /JS_Execution/, "#DD4477"));
Group.add('runtime', new Group('V8 C++', /.*/, "#88BB00"));

View File

@ -356,6 +356,7 @@ def read_stats(path, domain, args):
('Group-Callback', re.compile(".*Callback.*")),
('Group-API', re.compile(".*API.*")),
('Group-GC-Custom', re.compile("GC_Custom_.*")),
('Group-GC-Background', re.compile(".*GC.*BACKGROUND.*")),
('Group-GC', re.compile("GC_.*|AllocateInTargetSpace")),
('Group-JavaScript', re.compile("JS_Execution")),
('Group-Runtime', re.compile(".*"))]