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

Issue 2253013008: Second reland: Introduce mojo interface for collecting StackSamplingProfiler data (Closed)

Created:
4 years, 4 months ago by Mike Wittman
Modified:
4 years, 4 months ago
Reviewers:
Tom Sepez, Ilya Sherman, sky
CC:
chromium-reviews, qsr+mojo_chromium.org, droger+watchlist_chromium.org, viettrungluu+watch_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, asvitkine+watch_chromium.org, darin (slow to review)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Second reland: Introduce mojo interface for collecting StackSamplingProfiler data Adds interfaces, typemaps, and tests for collecting StackSamplingProfiler result types. The collection interface will be used to receive stack profiles from non-browser processes. This change was previously reverted in https://codereview.chromium.org/2264613002/ for introducing a skia dependency that broke cronet. The dependency has been removed and the new code has been split into independent targets. BUG=517958 Committed: https://crrev.com/a6e65bb0cea385fc9fa82a5a1af4a5c3616e43e4 Committed: https://crrev.com/871f5628bf9ee3ee840e17bb65b8696a153b68eb Cr-Original-Commit-Position: refs/heads/master@{#413285} Cr-Commit-Position: refs/heads/master@{#413471}

Patch Set 1 : original CL #

Patch Set 2 : remove skia dep, add separate target #

Patch Set 3 : restore iOS test exclusion #

Total comments: 2

Patch Set 4 : use source_set for call_stacks target #

Unified diffs Side-by-side diffs Delta from patch set Stats (+522 lines, -10 lines) Patch
M base/profiler/stack_sampling_profiler.h View 1 chunk +4 lines, -2 lines 0 comments Download
M base/profiler/stack_sampling_profiler.cc View 2 chunks +9 lines, -1 line 0 comments Download
M components/metrics/BUILD.gn View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M components/metrics/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A + components/metrics/public/cpp/BUILD.gn View 1 1 chunk +5 lines, -8 lines 0 comments Download
A + components/metrics/public/cpp/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A components/metrics/public/cpp/call_stack_profile.typemap View 1 chunk +17 lines, -0 lines 0 comments Download
A components/metrics/public/cpp/call_stack_profile_struct_traits.h View 1 chunk +138 lines, -0 lines 0 comments Download
A components/metrics/public/cpp/call_stack_profile_struct_traits_unittest.cc View 1 chunk +251 lines, -0 lines 0 comments Download
A + components/metrics/public/cpp/typemaps.gni View 1 chunk +1 line, -1 line 0 comments Download
A components/metrics/public/interfaces/BUILD.gn View 1 1 chunk +26 lines, -0 lines 0 comments Download
A + components/metrics/public/interfaces/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A components/metrics/public/interfaces/call_stack_profile_collector.mojom View 1 chunk +40 lines, -0 lines 0 comments Download
A components/metrics/public/interfaces/call_stack_profile_collector_test.mojom View 1 chunk +18 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/chromium_bindings_configuration.gni View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 36 (22 generated)
Mike Wittman
Please take another look. Original CL in patch set 1. Build changes in patch sets ...
4 years, 4 months ago (2016-08-19 21:13:50 UTC) #8
Mike Wittman
4 years, 4 months ago (2016-08-19 21:15:13 UTC) #11
Tom Sepez
still lgtm.
4 years, 4 months ago (2016-08-19 21:39:25 UTC) #14
sky
LGTM
4 years, 4 months ago (2016-08-19 22:31:11 UTC) #15
Ilya Sherman
LGTM % a nit: https://codereview.chromium.org/2253013008/diff/40001/components/metrics/BUILD.gn File components/metrics/BUILD.gn (right): https://codereview.chromium.org/2253013008/diff/40001/components/metrics/BUILD.gn#newcode337 components/metrics/BUILD.gn:337: } Hmm, why did you ...
4 years, 4 months ago (2016-08-19 23:09:31 UTC) #16
Mike Wittman
https://codereview.chromium.org/2253013008/diff/40001/components/metrics/BUILD.gn File components/metrics/BUILD.gn (right): https://codereview.chromium.org/2253013008/diff/40001/components/metrics/BUILD.gn#newcode337 components/metrics/BUILD.gn:337: } On 2016/08/19 23:09:31, Ilya Sherman wrote: > Hmm, ...
4 years, 4 months ago (2016-08-19 23:27:54 UTC) #17
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/2253013008/40001
4 years, 4 months ago (2016-08-19 23:29:07 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-19 23:34:18 UTC) #21
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a6e65bb0cea385fc9fa82a5a1af4a5c3616e43e4 Cr-Commit-Position: refs/heads/master@{#413285}
4 years, 4 months ago (2016-08-19 23:36:32 UTC) #23
alexmos
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2267483002/ by alexmos@chromium.org. ...
4 years, 4 months ago (2016-08-20 00:29:30 UTC) #24
Mike Wittman
Apparently the Mac official build doesn't like static libraries containing only mojo bindings. Attempting to ...
4 years, 4 months ago (2016-08-22 16:35:14 UTC) #26
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/2253013008/60001
4 years, 4 months ago (2016-08-22 16:37:10 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-22 17:50:17 UTC) #34
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 17:53:18 UTC) #36
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/871f5628bf9ee3ee840e17bb65b8696a153b68eb
Cr-Commit-Position: refs/heads/master@{#413471}

Powered by Google App Engine
This is Rietveld 408576698