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

Issue 1904823002: Reland of [tracing] Turn StackFrame into struct. (Closed)

Created:
4 years, 8 months ago by Dmitry Skiba
Modified:
4 years, 8 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of [tracing] Turn StackFrame into struct. The original CL (1891543003) was reverted because it broke Windows x64 build: heap_profiler_allocation_context.cc(58): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data This CL adds necessary cast to avoid the warning. Original issue's description: > [tracing] Turn StackFrame into struct. > > This change turns StackFrame (aka const char*) into a struct and > introduces 'type' field which controls how stack frame is formatted > when it's written to trace file. As an example, thread name, which > previously was just a string like any other function name, is now > formatted as '[Thread: %s]'. > > More stack frame types will be added in the future, for example > native allocation tracing will add 'program counter' type. > BUG=602701 TBR=primiano@chromium.org Committed: https://crrev.com/c4b751e78f505adc6316bae2d0ab111ba0218dce Cr-Commit-Position: refs/heads/master@{#388615}

Patch Set 1 : Original CL #

Patch Set 2 : Cast SuperFastHash() argument to int #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -151 lines) Patch
M base/trace_event/heap_profiler_allocation_context.h View 2 chunks +46 lines, -26 lines 0 comments Download
M base/trace_event/heap_profiler_allocation_context.cc View 1 2 chunks +26 lines, -16 lines 0 comments Download
M base/trace_event/heap_profiler_allocation_context_tracker.h View 2 chunks +3 lines, -3 lines 0 comments Download
M base/trace_event/heap_profiler_allocation_context_tracker.cc View 3 chunks +17 lines, -19 lines 0 comments Download
M base/trace_event/heap_profiler_allocation_context_tracker_unittest.cc View 11 chunks +37 lines, -37 lines 0 comments Download
M base/trace_event/heap_profiler_allocation_register_unittest.cc View 7 chunks +11 lines, -9 lines 0 comments Download
M base/trace_event/heap_profiler_heap_dump_writer.cc View 2 chunks +9 lines, -15 lines 0 comments Download
M base/trace_event/heap_profiler_heap_dump_writer_unittest.cc View 4 chunks +14 lines, -7 lines 0 comments Download
M base/trace_event/heap_profiler_stack_frame_deduplicator.cc View 2 chunks +14 lines, -2 lines 0 comments Download
M base/trace_event/heap_profiler_stack_frame_deduplicator_unittest.cc View 3 chunks +34 lines, -17 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Dmitry Skiba
Please review.
4 years, 8 months ago (2016-04-20 21:49:59 UTC) #2
Dmitry Skiba
+Primiano
4 years, 8 months ago (2016-04-20 21:52:15 UTC) #5
ssid
lgtm
4 years, 8 months ago (2016-04-20 22:25:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1904823002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1904823002/20001
4 years, 8 months ago (2016-04-20 22:27:15 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-21 00:10:08 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:28:10 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c4b751e78f505adc6316bae2d0ab111ba0218dce
Cr-Commit-Position: refs/heads/master@{#388615}

Powered by Google App Engine
This is Rietveld 408576698