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

Issue 2303343002: tracing v2: building blocks for reading-back trace protobufs (Closed)

Created:
4 years, 3 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 3 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, alph
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tracing v2: building blocks for reading-back trace protobufs This CL introduces the core building blocks to read-back the proto-encoded trace buffer. This will be used by next CLs at trace finalization time to convert protobuf -> v1 JSON. BUG=643674 Committed: https://crrev.com/7a4e4ee2ed6c4b31692a02f6ee7951d356cc74ef Cr-Commit-Position: refs/heads/master@{#417591}

Patch Set 1 #

Total comments: 4

Patch Set 2 : add tests + rebase #

Patch Set 3 : . #

Total comments: 41

Patch Set 4 : oysteine + petrcermak review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -57 lines) Patch
M components/tracing/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/tracing/core/proto_utils.h View 1 2 3 3 chunks +22 lines, -1 line 0 comments Download
A components/tracing/core/proto_utils.cc View 1 2 3 1 chunk +89 lines, -0 lines 0 comments Download
M components/tracing/core/proto_utils_unittest.cc View 1 2 3 5 chunks +111 lines, -56 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 28 (17 generated)
Primiano Tucci (use gerrit)
4 years, 3 months ago (2016-09-02 15:08:52 UTC) #4
kraynov
https://codereview.chromium.org/2303343002/diff/1/components/tracing/core/proto_utils.cc File components/tracing/core/proto_utils.cc (right): https://codereview.chromium.org/2303343002/diff/1/components/tracing/core/proto_utils.cc#newcode26 components/tracing/core/proto_utils.cc:26: } while (*pos++ & 0x80); Termination condition looks too ...
4 years, 3 months ago (2016-09-02 16:06:50 UTC) #5
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2303343002/diff/1/components/tracing/core/proto_utils.cc File components/tracing/core/proto_utils.cc (right): https://codereview.chromium.org/2303343002/diff/1/components/tracing/core/proto_utils.cc#newcode26 components/tracing/core/proto_utils.cc:26: } while (*pos++ & 0x80); On 2016/09/02 16:06:49, kraynov ...
4 years, 3 months ago (2016-09-02 16:54:59 UTC) #6
kraynov
On 2016/09/02 16:54:59, Primiano Tucci wrote: > https://codereview.chromium.org/2303343002/diff/1/components/tracing/core/proto_utils.cc > File components/tracing/core/proto_utils.cc (right): > > https://codereview.chromium.org/2303343002/diff/1/components/tracing/core/proto_utils.cc#newcode26 ...
4 years, 3 months ago (2016-09-05 10:18:08 UTC) #14
petrcermak
LGTM with a couple of (non-binding) comments. BTW, I don't understand why you say "reading-back" ...
4 years, 3 months ago (2016-09-08 16:13:25 UTC) #18
oystein (OOO til 10th of July)
lgtm w/ nitty comments https://codereview.chromium.org/2303343002/diff/60001/components/tracing/core/proto_utils.cc File components/tracing/core/proto_utils.cc (right): https://codereview.chromium.org/2303343002/diff/60001/components/tracing/core/proto_utils.cc#newcode39 components/tracing/core/proto_utils.cc:39: *field_type = static_cast<FieldType>(*pos & 7); ...
4 years, 3 months ago (2016-09-08 21:26:04 UTC) #19
oystein (OOO til 10th of July)
https://codereview.chromium.org/2303343002/diff/60001/components/tracing/core/proto_utils.h File components/tracing/core/proto_utils.h (right): https://codereview.chromium.org/2303343002/diff/60001/components/tracing/core/proto_utils.h#newcode21 components/tracing/core/proto_utils.h:21: enum FieldType : uint32_t { Why is this an ...
4 years, 3 months ago (2016-09-08 22:16:07 UTC) #20
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2303343002/diff/60001/components/tracing/core/proto_utils.cc File components/tracing/core/proto_utils.cc (right): https://codereview.chromium.org/2303343002/diff/60001/components/tracing/core/proto_utils.cc#newcode5 components/tracing/core/proto_utils.cc:5: #include "components/tracing/core/proto_utils.h" On 2016/09/08 16:13:25, petrcermak wrote: > Is ...
4 years, 3 months ago (2016-09-09 14:15:49 UTC) #22
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/2303343002/100001
4 years, 3 months ago (2016-09-09 14:16:18 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 3 months ago (2016-09-09 15:48:22 UTC) #26
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 15:50:01 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7a4e4ee2ed6c4b31692a02f6ee7951d356cc74ef
Cr-Commit-Position: refs/heads/master@{#417591}

Powered by Google App Engine
This is Rietveld 408576698