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

Issue 1923533004: Tracing pre-filtering (Closed)

Created:
4 years, 8 months ago by oystein (OOO til 10th of July)
Modified:
4 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tracing pre-filtering This adds functionality to insert filtering predicates in-between calls to add trace events, and the actual trace buffer. These predicates can be used to implement custom logic for whether or not events should actually be added or not, in addition to the normal category checks. Events can also be modified, if need be. The initial added usecase for this is to be able to add an additional level of filtering to reduce sizes of traces to the bare minimum, for use with perf waterfall TBMv2 metrics, and Slow Reports. Committed: https://crrev.com/ca609aea2cd3f4c25766f1f7d2715f4c1e54e296 Cr-Commit-Position: refs/heads/master@{#412594}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Total comments: 21

Patch Set 3 : Review fixes #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : Added test #

Total comments: 26

Patch Set 6 : Rebase #

Patch Set 7 : Review fixes #

Total comments: 8

Patch Set 8 : Review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+514 lines, -49 lines) Patch
M base/trace_event/trace_config.h View 1 2 3 4 5 6 7 5 chunks +37 lines, -1 line 0 comments Download
M base/trace_event/trace_config.cc View 1 2 3 4 5 6 7 9 chunks +156 lines, -1 line 0 comments Download
M base/trace_event/trace_config_unittest.cc View 1 2 3 4 5 6 5 chunks +50 lines, -17 lines 0 comments Download
M base/trace_event/trace_event.h View 1 2 3 4 5 6 3 chunks +20 lines, -1 line 0 comments Download
M base/trace_event/trace_event_unittest.cc View 1 2 3 4 5 6 7 2 chunks +96 lines, -0 lines 0 comments Download
M base/trace_event/trace_log.h View 1 2 3 4 5 6 7 3 chunks +22 lines, -1 line 0 comments Download
M base/trace_event/trace_log.cc View 1 2 3 4 5 6 7 9 chunks +133 lines, -28 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 58 (30 generated)
shatch
https://codereview.chromium.org/1923533004/diff/100001/base/trace_event/trace_log.cc File base/trace_event/trace_log.cc (right): https://codereview.chromium.org/1923533004/diff/100001/base/trace_event/trace_log.cc#newcode110 base/trace_event/trace_log.cc:110: virtual bool FilterTraceEvent(const TraceEvent& trace_event) const = 0; Did ...
4 years, 7 months ago (2016-05-04 19:57:38 UTC) #2
oystein (OOO til 10th of July)
On 2016/05/04 19:57:38, shatch wrote: > https://codereview.chromium.org/1923533004/diff/100001/base/trace_event/trace_log.cc > File base/trace_event/trace_log.cc (right): > > https://codereview.chromium.org/1923533004/diff/100001/base/trace_event/trace_log.cc#newcode110 > ...
4 years, 7 months ago (2016-05-04 23:16:32 UTC) #11
oystein (OOO til 10th of July)
First pass; ready for an early look, I think. https://codereview.chromium.org/1923533004/diff/200001/base/trace_event/trace_log.cc File base/trace_event/trace_log.cc (right): https://codereview.chromium.org/1923533004/diff/200001/base/trace_event/trace_log.cc#newcode1323 base/trace_event/trace_log.cc:1323: ...
4 years, 7 months ago (2016-05-04 23:20:44 UTC) #15
oystein (OOO til 10th of July)
ping primiano: I forgot to poke you about this, sorry. Any initial comments?
4 years, 7 months ago (2016-05-10 16:32:29 UTC) #16
Primiano Tucci (use gerrit)
On 2016/05/10 16:32:29, Oystein wrote: > ping primiano: I forgot to poke you about this, ...
4 years, 7 months ago (2016-05-10 17:13:03 UTC) #17
Primiano Tucci (use gerrit)
Ok gave a first pass. Architecturally this makes lot of sense to me and LG. ...
4 years, 7 months ago (2016-05-11 16:11:58 UTC) #18
oystein (OOO til 10th of July)
Thanks! On 2016/05/11 16:11:58, Primiano Tucci wrote: > The only major architecture thing left open ...
4 years, 7 months ago (2016-05-20 20:03:44 UTC) #19
ssid
On 2016/05/20 20:03:44, Oystein wrote: > Thanks! > > On 2016/05/11 16:11:58, Primiano Tucci wrote: ...
4 years, 7 months ago (2016-05-20 21:58:42 UTC) #21
oystein (OOO til 10th of July)
On 2016/05/20 21:58:42, ssid wrote: > On 2016/05/20 20:03:44, Oystein wrote: > > Thanks! > ...
4 years, 7 months ago (2016-05-24 01:05:13 UTC) #22
ssid
Great, this works for memory-infra. Yes, passing the category and name is enough. Thanks.
4 years, 7 months ago (2016-05-24 05:21:15 UTC) #23
oystein (OOO til 10th of July)
On 2016/05/24 05:21:15, ssid wrote: > Great, this works for memory-infra. Yes, passing the category ...
4 years, 7 months ago (2016-05-24 22:16:43 UTC) #24
oystein (OOO til 10th of July)
On 2016/05/24 22:16:43, Oystein wrote: > On 2016/05/24 05:21:15, ssid wrote: > > Great, this ...
4 years, 7 months ago (2016-05-24 22:23:50 UTC) #25
Primiano Tucci (use gerrit)
Apologies I am super backlogged on codereview. Manage to get only half the way through. ...
4 years, 6 months ago (2016-05-27 17:47:06 UTC) #26
Primiano Tucci (use gerrit)
OK took a second pass. Makes sense to me. I think the only thing we ...
4 years, 6 months ago (2016-05-31 15:41:24 UTC) #27
ssid
Friendly ping.
4 years, 6 months ago (2016-06-22 17:32:09 UTC) #28
Primiano Tucci (use gerrit)
On 2016/06/22 17:32:09, ssid wrote: > Friendly ping. I think Oystein is on vacation for ...
4 years, 5 months ago (2016-06-28 15:33:28 UTC) #29
ssid
On 2016/06/28 15:33:28, Primiano Tucci wrote: > On 2016/06/22 17:32:09, ssid wrote: > > Friendly ...
4 years, 5 months ago (2016-07-19 22:22:17 UTC) #30
oystein (OOO til 10th of July)
On 2016/07/19 22:22:17, ssid wrote: > On 2016/06/28 15:33:28, Primiano Tucci wrote: > > On ...
4 years, 5 months ago (2016-07-19 22:35:38 UTC) #31
oystein (OOO til 10th of July)
Yikes, sorry for the insanely long turnaround time :/. Context switching this back was fun. ...
4 years, 4 months ago (2016-08-01 13:39:49 UTC) #32
shatch
Spoke to Oystein a bit offline to catch up on this CL but I think ...
4 years, 4 months ago (2016-08-15 21:25:48 UTC) #41
oystein (OOO til 10th of July)
Thanks! primiano: Ping me when you're back from OOO if there's any changes you'd like ...
4 years, 4 months ago (2016-08-16 22:17:53 UTC) #42
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/1923533004/320001
4 years, 4 months ago (2016-08-16 22:18:25 UTC) #45
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/1923533004/320001
4 years, 4 months ago (2016-08-16 22:21:51 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/123854)
4 years, 4 months ago (2016-08-17 00:18:19 UTC) #51
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/1923533004/320001
4 years, 4 months ago (2016-08-17 17:39:59 UTC) #53
commit-bot: I haz the power
Committed patchset #8 (id:320001)
4 years, 4 months ago (2016-08-17 18:35:45 UTC) #55
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/ca609aea2cd3f4c25766f1f7d2715f4c1e54e296 Cr-Commit-Position: refs/heads/master@{#412594}
4 years, 4 months ago (2016-08-17 18:43:32 UTC) #57
Primiano Tucci (use gerrit)
4 years, 4 months ago (2016-08-22 10:37:38 UTC) #58
Message was sent while issue was closed.
LGTM, if something doesn't work we can fix it later :)

Powered by Google App Engine
This is Rietveld 408576698