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 1876413003: cc: Copy category/arg names for tracing in BeginFrameTracker. (Closed)

Created:
4 years, 8 months ago by sunnyps
Modified:
4 years, 8 months ago
Reviewers:
Sami
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Copy arg names for tracing in BeginFrameTracker. Tracing does not copy arg names by default assuming them to be global constants. BeginFrameTracker passes the location string to tracing but does not copy them leading to a crash later. BUG=601459 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/c289ed1dff66e6d902c6d7e46aac5926fb52ded8 Cr-Commit-Position: refs/heads/master@{#389179}

Patch Set 1 #

Patch Set 2 : remove incorrect flow event #

Patch Set 3 : #

Patch Set 4 : use TRACE_EVENT_COPY... instead of TRACE_STR_COPY #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M cc/scheduler/begin_frame_tracker.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 32 (17 generated)
sunnyps
PTAL This fixes a use-after-free bug with using non constant string for tracing categories. I ...
4 years, 8 months ago (2016-04-12 02:04:44 UTC) #4
Sami
lgtm. Thanks for cleaning up the flow usage too.
4 years, 8 months ago (2016-04-12 10:14:38 UTC) #5
Sami
Just to mention an alternative, the char* members of tracked_objects::Location() are long lived so they ...
4 years, 8 months ago (2016-04-12 10:15:58 UTC) #6
sunnyps
On 2016/04/12 10:15:58, Sami wrote: > Just to mention an alternative, the char* members of ...
4 years, 8 months ago (2016-04-15 20:40:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1876413003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1876413003/40001
4 years, 8 months ago (2016-04-15 20:41:18 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/188891)
4 years, 8 months ago (2016-04-15 20:49:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1876413003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1876413003/60001
4 years, 8 months ago (2016-04-18 23:58:16 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/55892)
4 years, 8 months ago (2016-04-19 01:11:24 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1876413003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1876413003/60001
4 years, 8 months ago (2016-04-19 01:23:55 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/55919)
4 years, 8 months ago (2016-04-19 01:38:25 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1876413003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1876413003/60001
4 years, 8 months ago (2016-04-22 01:03:06 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/58378)
4 years, 8 months ago (2016-04-22 02:07:48 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1876413003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1876413003/60001
4 years, 8 months ago (2016-04-22 18:27:54 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-22 18:35:20 UTC) #30
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:50:18 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c289ed1dff66e6d902c6d7e46aac5926fb52ded8
Cr-Commit-Position: refs/heads/master@{#389179}

Powered by Google App Engine
This is Rietveld 408576698