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

Issue 11823016: Trace category groups and category filter. (Closed)

Created:
7 years, 11 months ago by rterrazas
Modified:
7 years, 9 months ago
Reviewers:
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Support for tracing category groups. Added support for trace category groups, and changes to simplify the filtering logic. Stylistic changes found in: https://codereview.chromium.org/12150004 BUG=168284 TEST=

Patch Set 1 #

Total comments: 2

Patch Set 2 : Tagged category support cleanup, parameter renaming, documentation updated. #

Total comments: 4

Patch Set 3 : Minor edits from previous changeset, mainly fixing line exceeding 80 chars. #

Total comments: 7

Patch Set 4 : Category group and category filter basics. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -234 lines) Patch
M base/debug/trace_event_impl.h View 1 2 3 5 chunks +73 lines, -33 lines 0 comments Download
M base/debug/trace_event_impl.cc View 1 2 3 6 chunks +141 lines, -85 lines 3 comments Download
M base/debug/trace_event_unittest.cc View 1 2 3 12 chunks +109 lines, -57 lines 0 comments Download
M base/test/trace_event_analyzer_unittest.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M components/tracing/child_trace_message_filter.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M components/tracing/child_trace_message_filter.cc View 1 2 3 3 chunks +7 lines, -8 lines 0 comments Download
M components/tracing/tracing_messages.h View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M content/app/android/library_loader_hooks.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M content/app/content_main_runner.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/tracing/trace_controller_impl.h View 1 2 3 2 chunks +3 lines, -13 lines 0 comments Download
M content/browser/tracing/trace_controller_impl.cc View 1 2 3 4 chunks +11 lines, -21 lines 0 comments Download
M content/browser/tracing/trace_message_filter.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/tracing/trace_message_filter.cc View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
nduca
7 years, 11 months ago (2013-01-09 09:35:22 UTC) #1
nduca
a great first start. figure out how to make it clean, start clarifying naming, add ...
7 years, 11 months ago (2013-01-09 09:43:33 UTC) #2
rterrazas
https://codereview.chromium.org/11823016/diff/4001/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/11823016/diff/4001/base/debug/trace_event_impl.cc#newcode396 base/debug/trace_event_impl.cc:396: static bool DoesCategoryContainMatchingTag(const char* tagged_category, Implemented the support for ...
7 years, 11 months ago (2013-01-15 08:08:31 UTC) #3
rterrazas
https://codereview.chromium.org/11823016/diff/4001/content/browser/devtools/devtools_tracing_handler.cc File content/browser/devtools/devtools_tracing_handler.cc (right): https://codereview.chromium.org/11823016/diff/4001/content/browser/devtools/devtools_tracing_handler.cc#newcode64 content/browser/devtools/devtools_tracing_handler.cc:64: if (params && params->HasKey("categories")) Didn't rename key because I ...
7 years, 11 months ago (2013-01-15 08:11:48 UTC) #4
rterrazas
https://codereview.chromium.org/11823016/diff/11001/content/browser/devtools/devtools_tracing_handler.cc File content/browser/devtools/devtools_tracing_handler.cc (right): https://codereview.chromium.org/11823016/diff/11001/content/browser/devtools/devtools_tracing_handler.cc#newcode64 content/browser/devtools/devtools_tracing_handler.cc:64: if (params && params->HasKey(kCategoriesParam)) I believe the value of ...
7 years, 11 months ago (2013-01-18 01:22:05 UTC) #5
rterrazas
https://codereview.chromium.org/11823016/diff/4001/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/11823016/diff/4001/base/debug/trace_event_impl.cc#newcode499 base/debug/trace_event_impl.cc:499: const std::vector<std::string>& excluded_tag_patterns) { On 2013/01/15 08:08:31, rterrazas wrote: ...
7 years, 11 months ago (2013-01-18 01:25:35 UTC) #6
rterrazas
https://codereview.chromium.org/11823016/diff/11001/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/11823016/diff/11001/base/debug/trace_event_impl.cc#newcode404 base/debug/trace_event_impl.cc:404: TrimWhitespaceASCII(tag_tokens.token(), TRIM_ALL, &trimmed_tag); I'm thinking that maybe checking if ...
7 years, 11 months ago (2013-01-18 17:44:18 UTC) #7
rterrazas
https://codereview.chromium.org/11823016/diff/11001/content/browser/devtools/devtools_tracing_handler.cc File content/browser/devtools/devtools_tracing_handler.cc (right): https://codereview.chromium.org/11823016/diff/11001/content/browser/devtools/devtools_tracing_handler.cc#newcode64 content/browser/devtools/devtools_tracing_handler.cc:64: if (params && params->HasKey(kCategoriesParam)) Duh, I was wrong, it ...
7 years, 11 months ago (2013-01-21 06:59:53 UTC) #8
nduca
Can you tweak it so that categories have no spaces? foo,bar is good foo, bar ...
7 years, 10 months ago (2013-01-28 08:05:20 UTC) #9
nduca
https://codereview.chromium.org/11823016/diff/11001/base/debug/trace_event.h File base/debug/trace_event.h (right): https://codereview.chromium.org/11823016/diff/11001/base/debug/trace_event.h#newcode22 base/debug/trace_event.h:22: // A category can be made up of several ...
7 years, 10 months ago (2013-01-28 08:15:28 UTC) #10
nduca
Hmm maybe also we should split the patch into the renaming portion and the functional ...
7 years, 10 months ago (2013-01-28 08:22:28 UTC) #11
rterrazas
On 2013/01/28 08:05:20, nduca wrote: > Can you tweak it so that categories have no ...
7 years, 10 months ago (2013-01-28 17:50:28 UTC) #12
nduca
Sgtm
7 years, 10 months ago (2013-01-28 18:35:35 UTC) #13
rterrazas
Just added the very basic core functionality in this changelist (sans tests, I kept the ...
7 years, 10 months ago (2013-02-01 05:08:15 UTC) #14
rterrazas
https://codereview.chromium.org/11823016/diff/31001/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/11823016/diff/31001/base/debug/trace_event_impl.cc#newcode539 base/debug/trace_event_impl.cc:539: bool CategoryFilter::IsCategoryGroupEnabled(const char* category_group_name) This does a lot of ...
7 years, 10 months ago (2013-02-20 02:40:06 UTC) #15
rterrazas
https://codereview.chromium.org/11823016/diff/31001/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/11823016/diff/31001/base/debug/trace_event_impl.cc#newcode465 base/debug/trace_event_impl.cc:465: const char* category) { So...I was thinking, I'd like ...
7 years, 10 months ago (2013-02-21 04:08:05 UTC) #16
nduca
Oh dear, now I'm confused. I left a bunch of comments on https://codereview.chromium.org/12150004/ for your ...
7 years, 10 months ago (2013-02-22 19:54:21 UTC) #17
nduca
https://codereview.chromium.org/11823016/diff/31001/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/11823016/diff/31001/base/debug/trace_event_impl.cc#newcode465 base/debug/trace_event_impl.cc:465: const char* category) { This sounds like a metho ...
7 years, 10 months ago (2013-02-22 19:55:19 UTC) #18
rterrazas
On 2013/02/22 19:54:21, nduca wrote: > Oh dear, now I'm confused. I left a bunch ...
7 years, 10 months ago (2013-02-22 20:58:57 UTC) #19
nduca
Should we close this one and do it all as one in the other patch?
7 years, 9 months ago (2013-03-13 06:02:01 UTC) #20
nduca
(to close, you press the little x in the top left corner of the review ...
7 years, 9 months ago (2013-03-13 06:02:25 UTC) #21
rterrazas
7 years, 9 months ago (2013-03-13 06:03:11 UTC) #22
On 2013/03/13 06:02:01, nduca wrote:
> Should we close this one and do it all as one in the other patch?

Yeah, I think so, the other is a super set of this one, has been reviewed
extensively. Closing.

Powered by Google App Engine
This is Rietveld 408576698