Reviewers: Søren Gjesse,
Description:
Added the simplest call stack sampling and call profile in tick
processor output.
Currently only two stack frames are sampled (current function and its
caller).
Output of tick processor looks like this:
[Call profile]:
total call path
15.2% LazyCompile: am3 crypto.js:108 <- LazyCompile: montReduce
crypto.js:583
6.5% LazyCompile: am3 crypto.js:108 <- LazyCompile: bnpSquareTo
crypto.js:431
2.9% Builtin: KeyedStoreIC_Generic <- LazyCompile: montReduce
crypto.js:583
2.3% LazyCompile: am3 crypto.js:108 <- LazyCompile: bnpMultiplyTo
crypto.js:415
Tested under Windows, Linux and OS X.
Please review this at http://codereview.chromium.org/21403
Affected files:
M src/SConscript
M src/log.cc
A src/platform-all.cc
M src/platform-freebsd.cc
M src/platform-linux.cc
M src/platform-macos.cc
M src/platform-win32.cc
M src/platform.h
M tools/tickprocessor.py
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---