TickProcessor: more accurate mapping of statically compiled code on Linux.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Jul 2009 09:47:44 +0000 (09:47 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Jul 2009 09:47:44 +0000 (09:47 +0000)
commite0b829b1a5e783a15f9b7d3ac7f00d3104453f77
tree7307d545fc0b78d5104f280f084f3b23a9cb51c0
parent0eb595eb51774ead24d71f3f7bc466d57c785b1c
TickProcessor: more accurate mapping of statically compiled code on Linux.

'nm' is now called with an option to report function code sizes. Static code entries are restricted to the sizes reported, and the remaining unnamed code is attributed to a library as a whole. This makes reports more accurate, as some functions are tiny, but has chunks of unnamed code behind them.

This change doesn't affect reporting on Windows, as in .map files function code sizes aren't specified.

Review URL: http://codereview.chromium.org/149513

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2455 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
test/mjsunit/tools/codemap.js
test/mjsunit/tools/profile.js
test/mjsunit/tools/tickprocessor-test.default
test/mjsunit/tools/tickprocessor-test.ignore-unknown
test/mjsunit/tools/tickprocessor-test.separate-ic
test/mjsunit/tools/tickprocessor.js
tools/codemap.js
tools/profile.js
tools/tickprocessor.js