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

Issue 2049653002: tracing v2: Add TraceRingBuffer class. (Closed)

Created:
4 years, 6 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 5 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tracing v2: Add TraceRingBuffer class. TraceRingBuffer handles the chunking of the large continuous tracing buffer. Some features, such as the support for shared metadata (interned string index, process name, etc.), are still missing. BUG=608719 Committed: https://crrev.com/9294ab8ff1484d31d48803e51a160ba0d0c8e368 Cr-Commit-Position: refs/heads/master@{#403135}

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebase + oysteine review #

Total comments: 30

Patch Set 3 : petrcermak + fix win #

Total comments: 4

Patch Set 4 : missing nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -0 lines) Patch
M components/components_tests.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/tracing.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M components/tracing/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
A components/tracing/core/trace_ring_buffer.h View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
A components/tracing/core/trace_ring_buffer.cc View 1 2 1 chunk +71 lines, -0 lines 0 comments Download
A components/tracing/core/trace_ring_buffer_unittest.cc View 1 2 3 1 chunk +81 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2049653002/1
4 years, 6 months ago (2016-06-08 09:56:09 UTC) #2
Primiano Tucci (use gerrit)
If you agree I'd start upstreaming the pieces even if they are not fully final ...
4 years, 6 months ago (2016-06-08 10:04:08 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/202837)
4 years, 6 months ago (2016-06-08 10:51:39 UTC) #6
oystein (OOO til 10th of July)
On 2016/06/08 10:04:08, Primiano Tucci wrote: > If you agree I'd start upstreaming the pieces ...
4 years, 6 months ago (2016-06-15 07:52:52 UTC) #7
Primiano Tucci (use gerrit)
Hmm looks like Oystein is OOO for two weeks. Petr can I ask you to ...
4 years, 5 months ago (2016-06-28 09:53:24 UTC) #9
Primiano Tucci (use gerrit)
On 2016/06/15 07:52:52, Oystein (OOO to July11) wrote: > Having both common/ and core/ seems ...
4 years, 5 months ago (2016-06-28 09:55:23 UTC) #10
petrcermak
As always looks very good overall. I've left a few inline comment. One description nit: ...
4 years, 5 months ago (2016-06-28 10:22:30 UTC) #11
Primiano Tucci (use gerrit)
Thanks! https://codereview.chromium.org/2049653002/diff/20001/components/tracing/core/trace_ring_buffer.cc File components/tracing/core/trace_ring_buffer.cc (right): https://codereview.chromium.org/2049653002/diff/20001/components/tracing/core/trace_ring_buffer.cc#newcode14 components/tracing/core/trace_ring_buffer.cc:14: DCHECK_GE(size, Chunk::kSize); On 2016/06/28 10:22:29, petrcermak wrote: > ...
4 years, 5 months ago (2016-06-28 11:30:14 UTC) #14
petrcermak
You seem to have missed some of my previous comments. Also, I've just realized that ...
4 years, 5 months ago (2016-06-28 11:35:13 UTC) #15
kraynov
LGTM if my comments does not point a problem. https://codereview.chromium.org/2049653002/diff/60001/components/tracing/core/trace_ring_buffer.cc File components/tracing/core/trace_ring_buffer.cc (right): https://codereview.chromium.org/2049653002/diff/60001/components/tracing/core/trace_ring_buffer.cc#newcode13 components/tracing/core/trace_ring_buffer.cc:13: ...
4 years, 5 months ago (2016-06-28 13:15:16 UTC) #16
Primiano Tucci (use gerrit)
Oops sorry for the missing comments. Hope I addressed all of them this time. 2nd ...
4 years, 5 months ago (2016-06-28 14:52:11 UTC) #19
kraynov
lgtm
4 years, 5 months ago (2016-06-28 17:42:20 UTC) #20
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/2049653002/100001
4 years, 5 months ago (2016-06-29 07:29:47 UTC) #23
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/209271)
4 years, 5 months ago (2016-06-29 07:36:40 UTC) #25
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/2049653002/100001
4 years, 5 months ago (2016-06-30 09:06:02 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 5 months ago (2016-06-30 10:14:19 UTC) #29
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 10:15:40 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9294ab8ff1484d31d48803e51a160ba0d0c8e368
Cr-Commit-Position: refs/heads/master@{#403135}

Powered by Google App Engine
This is Rietveld 408576698