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

Issue 1165673002: [Startup Tracing] Hook up TraceConfig and remove CategoryFilter & TraceOptions (Closed)

Created:
5 years, 6 months ago by Zhen Wang
Modified:
5 years, 6 months ago
Reviewers:
dsinclair
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, devtools-reviews_chromium.org, erikwright+watch_chromium.org, feature-media-reviews_chromium.org, jam, jbauman+watch_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, pfeldman, piman+watch_chromium.org, qsr+mojo_chromium.org, sievers+watch_chromium.org, tracing+reviews_chromium.org, viettrungluu+watch_chromium.org, wfh+watch_chromium.org, yurys, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Startup Tracing] Hook up TraceConfig and remove CategoryFilter & TraceOptions This CL hooks up TraceConfig and removes CategoryFilter and TraceOptions. This is step 3 of the following. 1- Move current CategoryFilter and TraceOptions to new file. 2- Create TraceConfig but don't use it anywhere 3- Hookup TraceConfig and remove CategoryFilter and TraceOptions. Background: Implementing TraceConfig is the first stage for startup tracing. Startup tracing design doc: https://docs.google.com/document/d/1yRCXhrQ-0rsfUgNHt9T4YdnmJYrXKN6aK56Ozk3kPVc/edit?usp=sharing TraceConfig class design doc: https://docs.google.com/document/d/1zwc6FdeYyrC7m9fC4jJqbkqpB0il9NV-MWH7lEnL0cc/edit?usp=sharing trace-config file format doc: https://docs.google.com/document/d/1auY0Buk-R2tGCzpHJzFgyTfngXTAK0mlxJc6J4M_CK4/edit?usp=sharing BUG=317481, 482098 TBR=phajdan.jr@chromium.org,nduca@chromium.org,michaelbai@chromium.org,tedchoc@chromium.org,pfeldman@chromium.org,perkj@chromium.org,ccameron@chromium.org,cbentzel@chromium.org,jam@chromium.org Committed: https://crrev.com/d601ddc554ca0e22fe7b91b93395a421e329ef83 Cr-Commit-Position: refs/heads/master@{#332467}

Patch Set 1 #

Total comments: 10

Patch Set 2 : review fix #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+679 lines, -1320 lines) Patch
M base/test/trace_event_analyzer_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M base/test/trace_to_file.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M base/trace_event/BUILD.gn View 4 chunks +0 lines, -6 lines 0 comments Download
D base/trace_event/category_filter.h View 1 chunk +0 lines, -105 lines 0 comments Download
D base/trace_event/category_filter.cc View 1 chunk +0 lines, -75 lines 0 comments Download
D base/trace_event/category_filter_unittest.cc View 1 chunk +0 lines, -111 lines 0 comments Download
M base/trace_event/memory_dump_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/trace_event/trace_config.h View 1 4 chunks +38 lines, -12 lines 0 comments Download
M base/trace_event/trace_config.cc View 1 5 chunks +115 lines, -69 lines 0 comments Download
M base/trace_event/trace_config_unittest.cc View 1 8 chunks +150 lines, -85 lines 0 comments Download
M base/trace_event/trace_event.gypi View 4 chunks +0 lines, -6 lines 0 comments Download
M base/trace_event/trace_event_android.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M base/trace_event/trace_event_impl.h View 6 chunks +13 lines, -18 lines 0 comments Download
M base/trace_event/trace_event_impl.cc View 13 chunks +26 lines, -49 lines 0 comments Download
M base/trace_event/trace_event_impl_constants.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M base/trace_event/trace_event_unittest.cc View 1 42 chunks +144 lines, -218 lines 0 comments Download
D base/trace_event/trace_options.h View 1 chunk +0 lines, -79 lines 0 comments Download
D base/trace_event/trace_options.cc View 1 chunk +0 lines, -84 lines 0 comments Download
D base/trace_event/trace_options_unittest.cc View 1 chunk +0 lines, -90 lines 0 comments Download
M chrome/browser/lifetime/application_lifetime.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/test/base/tracing.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M components/feedback/tracing_manager.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/tracing/child_trace_message_filter.h View 1 chunk +4 lines, -6 lines 0 comments Download
M components/tracing/child_trace_message_filter.cc View 3 chunks +8 lines, -16 lines 0 comments Download
M components/tracing/tracing_messages.h View 1 chunk +6 lines, -8 lines 0 comments Download
M content/app/android/library_loader_hooks.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M content/app/content_main_runner.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M content/browser/android/tracing_controller_android.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M content/browser/devtools/protocol/tracing_handler.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/devtools/protocol/tracing_handler.cc View 4 chunks +6 lines, -36 lines 0 comments Download
M content/browser/media/webrtc_getusermedia_browsertest.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M content/browser/tracing/background_tracing_manager_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/tracing/background_tracing_manager_impl.cc View 3 chunks +11 lines, -13 lines 0 comments Download
M content/browser/tracing/trace_message_filter.h View 1 chunk +2 lines, -4 lines 0 comments Download
M content/browser/tracing/trace_message_filter.cc View 2 chunks +6 lines, -10 lines 0 comments Download
M content/browser/tracing/tracing_controller_browsertest.cc View 11 chunks +30 lines, -46 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.h View 3 chunks +6 lines, -13 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.cc View 12 chunks +19 lines, -38 lines 0 comments Download
M content/browser/tracing/tracing_ui.cc View 5 chunks +29 lines, -34 lines 0 comments Download
M content/common/gpu/client/gl_helper_unittest.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M content/public/browser/tracing_controller.h View 3 chunks +3 lines, -6 lines 0 comments Download
M content/public/test/browser_test_base.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/devtools/devtools_agent.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M content/renderer/devtools/v8_sampling_profiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/devtools/v8_sampling_profiler_browsertest.cc View 3 chunks +5 lines, -6 lines 0 comments Download
M mandoline/app/desktop/launcher_process.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M mojo/common/trace_controller_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M mojo/runner/desktop/launcher_process.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M net/log/trace_net_log_observer_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Zhen Wang
ptal
5 years, 6 months ago (2015-06-01 21:22:57 UTC) #2
dsinclair
https://codereview.chromium.org/1165673002/diff/1/base/trace_event/memory_dump_manager_unittest.cc File base/trace_event/memory_dump_manager_unittest.cc (right): https://codereview.chromium.org/1165673002/diff/1/base/trace_event/memory_dump_manager_unittest.cc#newcode67 base/trace_event/memory_dump_manager_unittest.cc:67: TraceConfig(category, ""), TraceLog::RECORDING_MODE); Can we add a default value ...
5 years, 6 months ago (2015-06-02 13:56:55 UTC) #3
Zhen Wang
https://codereview.chromium.org/1165673002/diff/1/base/trace_event/memory_dump_manager_unittest.cc File base/trace_event/memory_dump_manager_unittest.cc (right): https://codereview.chromium.org/1165673002/diff/1/base/trace_event/memory_dump_manager_unittest.cc#newcode67 base/trace_event/memory_dump_manager_unittest.cc:67: TraceConfig(category, ""), TraceLog::RECORDING_MODE); On 2015/06/02 13:56:54, dsinclair wrote: > ...
5 years, 6 months ago (2015-06-02 16:24:42 UTC) #4
dsinclair
On 2015/06/02 at 16:24:42, zhenw wrote: > https://codereview.chromium.org/1165673002/diff/1/base/trace_event/memory_dump_manager_unittest.cc > File base/trace_event/memory_dump_manager_unittest.cc (right): > > https://codereview.chromium.org/1165673002/diff/1/base/trace_event/memory_dump_manager_unittest.cc#newcode67 ...
5 years, 6 months ago (2015-06-02 16:30:40 UTC) #5
Zhen Wang
Since I have updated many files, I need to ask the corresponding owners to review. ...
5 years, 6 months ago (2015-06-02 17:19:06 UTC) #6
dsinclair
On 2015/06/02 at 17:19:06, zhenw wrote: > Since I have updated many files, I need ...
5 years, 6 months ago (2015-06-02 17:26:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1165673002/40001
5 years, 6 months ago (2015-06-02 21:38:11 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-02 21:46:46 UTC) #11
commit-bot: I haz the power
5 years, 6 months ago (2015-06-02 21:47:26 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d601ddc554ca0e22fe7b91b93395a421e329ef83
Cr-Commit-Position: refs/heads/master@{#332467}

Powered by Google App Engine
This is Rietveld 408576698