Improve sampler resolution on Linux.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 26 Oct 2010 14:51:31 +0000 (14:51 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 26 Oct 2010 14:51:31 +0000 (14:51 +0000)
commit3d8e94863d6400e6a4913cb1204e1a2eeccfccdc
tree5b8f14c5e6e34d0aabf6dfe4614c672c41032c77
parent1766d4b5e4619421727d9f5881d5e125c42882bb
Improve sampler resolution on Linux.

Instead of relying on itimer signals from kernel, send them
ourselves from a separate thread. This disables an ability
to profile multiple VM threads on Linux, but it anyway doesn't
work on other platforms, so we need a common solution for
it (issue 913 created to track this).

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5711 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/platform-linux.cc
test/cctest/test-log.cc