Go to file
vitalyr@chromium.org e6b33bd20b Support profiling based on linux kernel performance events.
Since 2.6.31 perf_events interface has been available in the
kernel. There's a nice tool called "perf" (linux-2.6/tools/perf) that
uses this interface and provides capabilities similar to oprofile. The
simplest form of its usage is just dumping the raw log (trace) of
events generated by the kernel. In this patch I'm adding a script
(tools/ll_prof.py) to build profiles based on perf trace and our code
log. All the heavy-lifting is done by perf. Compared to oprofile agent
this approach does not require recompilation and supports code moving
garbage collections.

Expected usage is documented in the ll_prof's help. Basically one
should run V8 under perf passing --ll-prof flag and then the produced
logs can be analyzed by tools/ll_prof.py.

The new --ll-prof flag enables logging of generated code object
locations and names (like --log-code), and also of their bodies, which
can be later disassembled and annotated by the script.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5663 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-10-19 16:45:11 +00:00
benchmarks Promote the current V8 benchmark suite candidate to version 6. 2010-10-07 07:25:22 +00:00
include New Heap profiler: add dumping HeapNumbers and InternalFields to snapshot. 2010-10-18 09:15:38 +00:00
samples Add stack traces to mjsunit tests. 2010-05-14 10:00:24 +00:00
src Support profiling based on linux kernel performance events. 2010-10-19 16:45:11 +00:00
test Limit end-anchored regexps to testing end of string where possible. 2010-10-19 14:00:01 +00:00
tools Support profiling based on linux kernel performance events. 2010-10-19 16:45:11 +00:00
.gitignore Add '.cpplint-cache' to ignore lists for SVN and Git. This change also sets 'ignore' property on '.', although this change isn't visible in Rietveld. 2009-12-11 09:01:38 +00:00
AUTHORS Added USE_SIMULATOR macro that explicitly indicates that we wish to use the simulator as the execution engine. For example, this allows us to run with the ARM simulator on ARM. 2010-10-14 11:39:48 +00:00
ChangeLog Prepare push to trunk. Now working on version 2.5.1. 2010-10-18 11:06:51 +00:00
LICENSE Get rid of duplicate LICENSE entry for the Valgrind 2009-09-27 09:33:11 +00:00
SConstruct SConstruct: make help work even if guesses failed. 2010-10-18 14:39:59 +00:00