Go to file
jarin@chromium.org 4e439deb0b Support for the Linux 'perf report' and 'perf annotate' tools.
In this change, the support comes in two flavours:

--perf_jit_prof - outputs the files in a new perf format that only works with a
patched perf tool (patch obtained from Stephane Eranian). Both 'perf report' and
'perf annotate' are supported (the file format also contains the machine code).

--perf_basic_prof - outputs the files in a format that the existing perf tool
can consume. Only 'perf report' is supported.

In both cases, we have to disable code compaction because the perf tool does not
understand code relocation. (We are told that code relocation should be
supported soon.)

Usage:

perf record -g d8 --perf_jit_prof --no_compact_code_space my.js
perf report

The change itself is straightforward - we simply listen to code events and
write an entry to a log file for every new piece of code.

I am not yet sure whether we should keep both versions or just one (and which
one). My hope is the reviewers can help here.

R=danno@chromium.org
BUG=

Review URL: https://codereview.chromium.org/70013002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18034 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-25 06:44:23 +00:00
benchmarks Fix bug in nextWeaker function of deltablue benchmark. 2013-10-25 13:21:46 +00:00
build Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
include Deprecate old versions of Isolate::SetData and GetData 2013-11-22 14:23:32 +00:00
samples Remove usage of deprecated APIs from samples 2013-11-22 12:26:00 +00:00
src Support for the Linux 'perf report' and 'perf annotate' tools. 2013-11-25 06:44:23 +00:00
test Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
tools Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
.clang-format Add clang-format configuration file and set coding style to "Google" 2013-11-21 16:02:31 +00:00
.gitignore Migrate to new test status file syntax 2013-09-24 12:08:33 +00:00
AUTHORS Fix a crash when generating forward jumps to labels at very high assembly offsets 2013-08-01 08:13:08 +00:00
ChangeLog Repair ChangeLog. 2013-11-22 13:39:55 +00:00
DEPS Update V8's dependencies: 2013-07-31 13:41:12 +00:00
LICENSE Update LICENSE file 2012-01-03 16:38:42 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Use a fixed random seed per default. 2013-11-07 12:01:26 +00:00
Makefile.android Enable building for android on x86_64 machines. 2013-07-17 08:37:48 +00:00
Makefile.nacl Turn on i18n support by default 2013-09-19 12:07:03 +00:00
OWNERS Add ishell@ to OWNERS. 2013-10-21 13:52:12 +00:00
PRESUBMIT.py Add ChangeLog presubmit check. 2013-11-14 14:49:07 +00:00
WATCHLISTS Add myself to a watchlist for the public API. 2013-10-10 11:37:48 +00:00