DescriptionReland 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 #Messages
Total messages: 12 (6 generated)
|