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

Issue 18174006: Allow tracing to console everywhere. (Closed)

Created:
7 years, 5 months ago by Ian Vollick
Modified:
7 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, erikwright+watch_chromium.org, jam
Visibility:
Public.

Description

Allow tracing to console everywhere. This patch gets rid of the cc-only trace-to-vlog stuff and replaces it with a general trace-to-console approach that can be used everywhere, even the browser. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211245

Patch Set 1 #

Total comments: 8

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : . #

Patch Set 4 : Now with pretty-printing. #

Patch Set 5 : Explicitly convert to bool for win. #

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -34 lines) Patch
M base/base_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M base/base_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M base/command_line.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M base/command_line.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M base/debug/trace_event_impl.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M base/debug/trace_event_impl.cc View 1 2 3 4 5 8 chunks +51 lines, -12 lines 0 comments Download
M cc/base/switches.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/base/switches.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M cc/test/cc_test_suite.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M content/browser/browser_child_process_host_impl.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/child/child_thread.cc View 1 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Ian Vollick
7 years, 5 months ago (2013-06-28 19:36:53 UTC) #1
nduca
lgtm. lets update the tracing wiki on this.
7 years, 5 months ago (2013-06-28 19:39:02 UTC) #2
Ian Vollick
+darin for base/ and content/ OWNERs.
7 years, 5 months ago (2013-06-28 19:46:55 UTC) #3
Ian Vollick
-darin (unavailable) +willchan for base/ OWNERS +piman for content/ OWNERS
7 years, 5 months ago (2013-07-03 13:05:43 UTC) #4
piman
https://codereview.chromium.org/18174006/diff/1/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/18174006/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode1000 content/browser/renderer_host/render_process_host_impl.cc:1000: nit: no need for blank lines https://codereview.chromium.org/18174006/diff/1/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc ...
7 years, 5 months ago (2013-07-03 17:42:28 UTC) #5
willchan no longer on Chromium
base lgtm https://codereview.chromium.org/18174006/diff/1/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/18174006/diff/1/base/debug/trace_event_impl.cc#newcode72 base/debug/trace_event_impl.cc:72: const char* g_category_groups[MAX_CATEGORY_GROUPS] = { Just noticed, ...
7 years, 5 months ago (2013-07-03 17:55:19 UTC) #6
Ian Vollick
https://codereview.chromium.org/18174006/diff/1/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/18174006/diff/1/base/debug/trace_event_impl.cc#newcode812 base/debug/trace_event_impl.cc:812: if (!category_string.size()) On 2013/07/03 17:55:19, willchan wrote: > STL ...
7 years, 5 months ago (2013-07-03 18:48:02 UTC) #7
piman
LGTM+nit https://codereview.chromium.org/18174006/diff/7002/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/18174006/diff/7002/content/browser/renderer_host/render_process_host_impl.cc#newcode1008 content/browser/renderer_host/render_process_host_impl.cc:1008: switches::kTraceToConsole, nit: you'll probably also want to add ...
7 years, 5 months ago (2013-07-03 19:52:23 UTC) #8
Ian Vollick
On 2013/07/03 19:52:23, piman wrote: > LGTM+nit > > https://codereview.chromium.org/18174006/diff/7002/content/browser/renderer_host/render_process_host_impl.cc > File content/browser/renderer_host/render_process_host_impl.cc (right): > ...
7 years, 5 months ago (2013-07-03 20:01:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/18174006/16002
7 years, 5 months ago (2013-07-03 20:06:32 UTC) #10
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-07-03 21:53:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/18174006/16002
7 years, 5 months ago (2013-07-04 00:47:44 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) nacl_integration http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=145773
7 years, 5 months ago (2013-07-04 02:04:19 UTC) #13
Ian Vollick
On 2013/07/04 02:04:19, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 5 months ago (2013-07-04 10:16:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/18174006/40001
7 years, 5 months ago (2013-07-04 10:16:21 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-04 10:46:38 UTC) #16
Ian Vollick
On 2013/07/04 10:46:38, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 5 months ago (2013-07-04 14:27:40 UTC) #17
nduca
still lgtm
7 years, 5 months ago (2013-07-11 17:35:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/18174006/72001
7 years, 5 months ago (2013-07-11 18:22:28 UTC) #19
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-11 19:04:56 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/18174006/5629499534213120
7 years, 5 months ago (2013-07-11 19:36:34 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/18174006/5825281323433984
7 years, 5 months ago (2013-07-11 20:03:25 UTC) #22
commit-bot: I haz the power
7 years, 5 months ago (2013-07-11 23:10:42 UTC) #23
Message was sent while issue was closed.
Change committed as 211245

Powered by Google App Engine
This is Rietveld 408576698