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

Issue 2676403002: [tracing] The CPU profiler should only be enabled for specific modes of tracing (Closed)

Created:
3 years, 10 months ago by ssid
Modified:
3 years, 10 months ago
CC:
v8-reviews_googlegroups.com, v8-merges_googlegroups.com, Paweł Hajdan Jr., DmitrySkiba
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[tracing] The CPU profiler should only be enabled for specific modes of tracing We have different modes of tracing: recording, event callback and filtering. The cpu profiler should not be enabled when tracing is enabled with filtering mode. BUG=688651 Review-Url: https://codereview.chromium.org/2676403002 Cr-Commit-Position: refs/heads/master@{#43119} Committed: https://chromium.googlesource.com/v8/v8/+/21523c7832cdbd74fceacddf4660977eef02cd4c

Patch Set 1 : . #

Total comments: 7

Patch Set 2 : Use TRACE_EVENT_CATEGORY_GROUP_ENABLED. #

Total comments: 2

Patch Set 3 : Remove macro #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M src/profiler/tracing-cpu-profiler.cc View 1 2 4 chunks +11 lines, -8 lines 0 comments Download

Messages

Total messages: 36 (23 generated)
ssid
+alph ptal, thanks
3 years, 10 months ago (2017-02-06 21:36:14 UTC) #3
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2676403002/diff/20001/src/profiler/tracing-cpu-profiler.cc File src/profiler/tracing-cpu-profiler.cc (right): https://codereview.chromium.org/2676403002/diff/20001/src/profiler/tracing-cpu-profiler.cc#newcode14 src/profiler/tracing-cpu-profiler.cc:14: (kEnabledForRecording_CategoryGroupEnabledFlags | \ Don't we have the _enabled_for_recording macro ...
3 years, 10 months ago (2017-02-06 23:10:16 UTC) #10
ssid
https://codereview.chromium.org/2676403002/diff/20001/src/profiler/tracing-cpu-profiler.cc File src/profiler/tracing-cpu-profiler.cc (right): https://codereview.chromium.org/2676403002/diff/20001/src/profiler/tracing-cpu-profiler.cc#newcode14 src/profiler/tracing-cpu-profiler.cc:14: (kEnabledForRecording_CategoryGroupEnabledFlags | \ On 2017/02/06 23:10:16, Primiano Tucci wrote: ...
3 years, 10 months ago (2017-02-07 00:11:54 UTC) #11
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2676403002/diff/20001/src/profiler/tracing-cpu-profiler.cc File src/profiler/tracing-cpu-profiler.cc (right): https://codereview.chromium.org/2676403002/diff/20001/src/profiler/tracing-cpu-profiler.cc#newcode14 src/profiler/tracing-cpu-profiler.cc:14: (kEnabledForRecording_CategoryGroupEnabledFlags | \ On 2017/02/07 00:11:54, ssid wrote: > ...
3 years, 10 months ago (2017-02-07 10:50:14 UTC) #13
alph
https://codereview.chromium.org/2676403002/diff/20001/src/profiler/tracing-cpu-profiler.cc File src/profiler/tracing-cpu-profiler.cc (right): https://codereview.chromium.org/2676403002/diff/20001/src/profiler/tracing-cpu-profiler.cc#newcode14 src/profiler/tracing-cpu-profiler.cc:14: (kEnabledForRecording_CategoryGroupEnabledFlags | \ On 2017/02/07 10:50:14, Primiano Tucci wrote: ...
3 years, 10 months ago (2017-02-07 22:04:32 UTC) #14
ssid
Thanks! Made changes, ptal. https://codereview.chromium.org/2676403002/diff/20001/src/profiler/tracing-cpu-profiler.cc File src/profiler/tracing-cpu-profiler.cc (right): https://codereview.chromium.org/2676403002/diff/20001/src/profiler/tracing-cpu-profiler.cc#newcode14 src/profiler/tracing-cpu-profiler.cc:14: (kEnabledForRecording_CategoryGroupEnabledFlags | \ On 2017/02/07 ...
3 years, 10 months ago (2017-02-08 02:24:12 UTC) #15
Primiano Tucci (use gerrit)
non-owner LGTM from the trace macros viewpoint. +alph for OWNERS
3 years, 10 months ago (2017-02-09 11:56:27 UTC) #16
alph
lgtm % nit https://codereview.chromium.org/2676403002/diff/40001/src/profiler/tracing-cpu-profiler.cc File src/profiler/tracing-cpu-profiler.cc (right): https://codereview.chromium.org/2676403002/diff/40001/src/profiler/tracing-cpu-profiler.cc#newcode11 src/profiler/tracing-cpu-profiler.cc:11: #define PROFILER_TRACE_CATEGORY_ENABLED(cat, ret) \ Don't think ...
3 years, 10 months ago (2017-02-09 18:23:56 UTC) #17
ssid
Thanks https://codereview.chromium.org/2676403002/diff/40001/src/profiler/tracing-cpu-profiler.cc File src/profiler/tracing-cpu-profiler.cc (right): https://codereview.chromium.org/2676403002/diff/40001/src/profiler/tracing-cpu-profiler.cc#newcode11 src/profiler/tracing-cpu-profiler.cc:11: #define PROFILER_TRACE_CATEGORY_ENABLED(cat, ret) \ On 2017/02/09 18:23:56, alph ...
3 years, 10 months ago (2017-02-10 01:47:41 UTC) #18
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/2676403002/60001
3 years, 10 months ago (2017-02-10 01:47:53 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel_ng/builds/20738) v8_linux64_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-10 02:09:50 UTC) #23
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/2676403002/60001
3 years, 10 months ago (2017-02-10 19:21:59 UTC) #33
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 19:23:38 UTC) #36
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/21523c7832cdbd74fceacddf4660977eef0...

Powered by Google App Engine
This is Rietveld 408576698