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

Issue 717083003: Report trace buffer usage as number of events, not only percentage (Closed)

Created:
6 years, 1 month ago by yurys
Modified:
6 years, 1 month ago
CC:
aandrey+blink_chromium.org, chromium-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, dsinclair+watch_chromium.org, erikwright+watch_chromium.org, jam, paulirish+reviews_chromium.org, pfeldman, vsevik, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Report trace buffer usage as number of events, not only percentage The total event count will be used later to show progress indicator when retrieving recorded events. The progress will be estimated as total events received divided by total buffer size. BUG=426117 Committed: https://crrev.com/d57ba6fe68ea4b8bfbdc403ea7b3a3e74e38b03f Cr-Commit-Position: refs/heads/master@{#304404}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Addressed comment #

Total comments: 12

Patch Set 4 : #

Total comments: 4

Patch Set 5 : Addressed comments #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -112 lines) Patch
M base/debug/trace_event_impl.h View 1 2 3 4 5 3 chunks +8 lines, -2 lines 0 comments Download
M base/debug/trace_event_impl.cc View 1 2 3 4 2 chunks +11 lines, -3 lines 0 comments Download
M base/debug/trace_event_unittest.cc View 1 2 3 4 3 chunks +3 lines, -6 lines 0 comments Download
M components/tracing/child_trace_message_filter.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/tracing/child_trace_message_filter.cc View 1 2 3 4 2 chunks +4 lines, -6 lines 0 comments Download
M components/tracing/tracing_messages.h View 1 2 3 4 4 chunks +10 lines, -5 lines 0 comments Download
M content/browser/browser_shutdown_profile_dumper.cc View 1 2 3 4 1 chunk +9 lines, -3 lines 0 comments Download
M content/browser/devtools/protocol/tracing_handler.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/protocol/tracing_handler.cc View 1 2 2 chunks +8 lines, -9 lines 0 comments Download
M content/browser/tracing/trace_message_filter.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/tracing/trace_message_filter.cc View 1 2 3 4 4 chunks +8 lines, -8 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.h View 1 2 3 4 5 chunks +12 lines, -12 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.cc View 1 2 3 4 4 chunks +50 lines, -44 lines 0 comments Download
M content/browser/tracing/tracing_ui.cc View 1 2 3 4 2 chunks +25 lines, -5 lines 0 comments Download
M content/public/browser/tracing_controller.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 35 (9 generated)
yurys
6 years, 1 month ago (2014-11-12 15:30:28 UTC) #2
yurys
Blink change that relies on this CL: https://codereview.chromium.org/722693002/
6 years, 1 month ago (2014-11-12 15:33:48 UTC) #3
yurys
6 years, 1 month ago (2014-11-12 15:34:05 UTC) #5
yurys
6 years, 1 month ago (2014-11-12 19:04:28 UTC) #7
caseq
https://codereview.chromium.org/717083003/diff/1/base/debug/trace_event_impl.h File base/debug/trace_event_impl.h (right): https://codereview.chromium.org/717083003/diff/1/base/debug/trace_event_impl.h#newcode498 base/debug/trace_event_impl.h:498: size_t GetBufferUsage() const; Can we get more descriptive -- ...
6 years, 1 month ago (2014-11-12 20:52:49 UTC) #8
yurys
PTAl https://codereview.chromium.org/717083003/diff/1/base/debug/trace_event_impl.h File base/debug/trace_event_impl.h (right): https://codereview.chromium.org/717083003/diff/1/base/debug/trace_event_impl.h#newcode498 base/debug/trace_event_impl.h:498: size_t GetBufferUsage() const; On 2014/11/12 20:52:49, caseq wrote: ...
6 years, 1 month ago (2014-11-13 15:54:33 UTC) #9
caseq
lgtm https://codereview.chromium.org/717083003/diff/20001/base/debug/trace_event_impl.h File base/debug/trace_event_impl.h (right): https://codereview.chromium.org/717083003/diff/20001/base/debug/trace_event_impl.h#newcode498 base/debug/trace_event_impl.h:498: void GetBufferUsage(float* percent_full, nit: we could probably keep ...
6 years, 1 month ago (2014-11-13 17:16:21 UTC) #10
yurys
https://codereview.chromium.org/717083003/diff/20001/base/debug/trace_event_impl.h File base/debug/trace_event_impl.h (right): https://codereview.chromium.org/717083003/diff/20001/base/debug/trace_event_impl.h#newcode498 base/debug/trace_event_impl.h:498: void GetBufferUsage(float* percent_full, On 2014/11/13 17:16:21, caseq wrote: > ...
6 years, 1 month ago (2014-11-14 10:07:00 UTC) #11
yurys
@nduca: please review @jochen: please do OWNERS review for content/browser/browser_shutdown_profile_dumper.cc content/public/browser/tracing_controller.h
6 years, 1 month ago (2014-11-14 10:10:55 UTC) #13
alph
lgtm https://codereview.chromium.org/717083003/diff/40001/components/tracing/tracing_messages.h File components/tracing/tracing_messages.h (right): https://codereview.chromium.org/717083003/diff/40001/components/tracing/tracing_messages.h#newcode75 components/tracing/tracing_messages.h:75: size_t /*trace buffer usage in number of events*/) ...
6 years, 1 month ago (2014-11-14 10:59:31 UTC) #14
yurys
https://codereview.chromium.org/717083003/diff/40001/components/tracing/tracing_messages.h File components/tracing/tracing_messages.h (right): https://codereview.chromium.org/717083003/diff/40001/components/tracing/tracing_messages.h#newcode75 components/tracing/tracing_messages.h:75: size_t /*trace buffer usage in number of events*/) On ...
6 years, 1 month ago (2014-11-14 13:03:47 UTC) #15
jochen (gone - plz use gerrit)
my bits lgtm
6 years, 1 month ago (2014-11-14 13:04:44 UTC) #16
yurys
@dcheng: please do security review for components/tracing/tracing_messages.h
6 years, 1 month ago (2014-11-14 13:07:01 UTC) #18
nduca
lgtm if you're in a rush. though: I notice how you had to touch the ...
6 years, 1 month ago (2014-11-14 18:11:17 UTC) #19
dcheng
lgtm for IPC changes.
6 years, 1 month ago (2014-11-15 18:45:01 UTC) #20
yurys
On 2014/11/14 18:11:17, nduca wrote: > lgtm if you're in a rush. > > though: ...
6 years, 1 month ago (2014-11-17 09:10:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/717083003/80001
6 years, 1 month ago (2014-11-17 09:10:40 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/17894)
6 years, 1 month ago (2014-11-17 09:28:13 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/717083003/80001
6 years, 1 month ago (2014-11-17 09:51:30 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/717083003/100001
6 years, 1 month ago (2014-11-17 09:53:39 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years, 1 month ago (2014-11-17 10:58:05 UTC) #30
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/d57ba6fe68ea4b8bfbdc403ea7b3a3e74e38b03f Cr-Commit-Position: refs/heads/master@{#304404}
6 years, 1 month ago (2014-11-17 10:59:00 UTC) #31
yurys
On 2014/11/14 18:11:17, nduca wrote: > https://codereview.chromium.org/717083003/diff/60001/content/browser/tracing/tracing_ui.cc > File content/browser/tracing/tracing_ui.cc (right): > > https://codereview.chromium.org/717083003/diff/60001/content/browser/tracing/tracing_ui.cc#newcode135 > ...
6 years, 1 month ago (2014-11-17 16:09:17 UTC) #32
yurys
On 2014/11/14 18:11:17, nduca wrote: > https://codereview.chromium.org/717083003/diff/60001/content/browser/tracing/tracing_ui.cc > File content/browser/tracing/tracing_ui.cc (right): > > https://codereview.chromium.org/717083003/diff/60001/content/browser/tracing/tracing_ui.cc#newcode135 > ...
6 years, 1 month ago (2014-11-17 16:09:20 UTC) #33
nduca
tracing has to be backcompat to stable channel...
6 years, 1 month ago (2014-11-18 22:23:51 UTC) #34
yurys
6 years, 1 month ago (2014-11-19 10:24:00 UTC) #35
Message was sent while issue was closed.
On 2014/11/18 22:23:51, nduca wrote:
> tracing has to be backcompat to stable channel...

Then someone has to take care of making "Tracing" domain in the protocol public.
We normally don't commit to backward compatibility of the hidden
domains/commands/events in the remote debugging protocol.

Powered by Google App Engine
This is Rietveld 408576698