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

Issue 2770653002: Add enable_ipc_logging build argument (Closed)

Created:
3 years, 9 months ago by Szabolcs David
Modified:
3 years, 9 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, Peter Beverloo
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add enable_ipc_logging build argument Implement a build option to enable the IPC logging system in release builds. It's useful to save time and resources when debugging IPC communication (e.g. in automated testing environments). It also turns IPC_MESSAGE_LOG_ENABLED macro to a build flag. BUG= Review-Url: https://codereview.chromium.org/2770653002 Cr-Commit-Position: refs/heads/master@{#459094} Committed: https://chromium.googlesource.com/chromium/src/+/76890ec11e7402591d1c9add533d4e61c30f8e08

Patch Set 1 #

Patch Set 2 : Fix build of content_shell #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -64 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/logging_chrome.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/service/service_ipc_server.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/browser_ipc_logging.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/child_thread_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/child/child_thread_impl.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M content/common/child_process_host_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/common/child_process_messages.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/common/content_ipc_logging.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M content/public/browser/browser_ipc_logging.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/common/content_ipc_logging.h View 2 chunks +1 line, -3 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M ipc/BUILD.gn View 2 chunks +13 lines, -0 lines 0 comments Download
M ipc/ipc_channel_nacl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ipc/ipc_channel_proxy.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M ipc/ipc_channel_reader.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ipc/ipc_logging.h View 3 chunks +5 lines, -5 lines 0 comments Download
M ipc/ipc_logging.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ipc/ipc_message.h View 3 chunks +3 lines, -6 lines 0 comments Download
M ipc/ipc_message.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_sync_channel.cc View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/nacl_irt/irt_ppapi.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 31 (15 generated)
Szabolcs David
3 years, 9 months ago (2017-03-22 15:35:27 UTC) #3
Ken Rockot(use gerrit already)
Seems reasonable to me. I can always get behind more BUILDFLAG usage. LGTM and thanks!
3 years, 9 months ago (2017-03-22 15:39:31 UTC) #4
jam
lgtm
3 years, 9 months ago (2017-03-22 15:55:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2770653002/1
3 years, 9 months ago (2017-03-22 16:07:54 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/391643)
3 years, 9 months ago (2017-03-22 16:14:35 UTC) #9
kenrb
lgtm for IPC security review
3 years, 9 months ago (2017-03-22 16:54:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2770653002/20001
3 years, 9 months ago (2017-03-23 11:53:58 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/334440)
3 years, 9 months ago (2017-03-23 13:48:17 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2770653002/20001
3 years, 9 months ago (2017-03-23 13:51:27 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/76890ec11e7402591d1c9add533d4e61c30f8e08
3 years, 9 months ago (2017-03-23 15:51:29 UTC) #25
Szabolcs David
Thank you guys for supporting my first patch in Chromium. :)
3 years, 9 months ago (2017-03-23 15:54:20 UTC) #26
findit-for-me
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2769823003/ by findit-for-me@appspot.gserviceaccount.com. ...
3 years, 9 months ago (2017-03-23 16:30:49 UTC) #27
stgao
On 2017/03/23 16:30:49, findit-for-me wrote: > A revert of this CL (patchset #2 id:20001) has ...
3 years, 9 months ago (2017-03-23 17:43:21 UTC) #28
stgao
On 2017/03/23 17:43:21, stgao(ping after 24h) wrote: > On 2017/03/23 16:30:49, findit-for-me wrote: > > ...
3 years, 9 months ago (2017-03-23 18:55:55 UTC) #29
Ken Rockot(use gerrit already)
Alas, you also get to experience your first revert :) We can reland this after ...
3 years, 9 months ago (2017-03-23 20:15:42 UTC) #30
Ken Rockot(use gerrit already)
3 years, 9 months ago (2017-03-23 20:17:30 UTC) #31
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2768403002/ by rockot@chromium.org.

The reason for reverting is: Causing build flake due to assorted missing
dependencies on //ipc. Will reland after
https://codereview.chromium.org/2767193005 lands..

Powered by Google App Engine
This is Rietveld 408576698