Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1192)

Issue 1582004: C++ profiles processor: wire up to VM. (Closed)

Created:
10 years, 8 months ago by mnaganov (inactive)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

C++ profiles processor: wire up to VM. If 'shell' is compiled with 'cppprofilesprocessor=on' and run with '--prof' flag, top-down and bottom-up call trees are printed on shell exit. Committed: http://code.google.com/p/v8/source/detail?r=4343

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+681 lines, -186 lines) Patch
M src/arm/regexp-macro-assembler-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/builtins.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/code-stubs.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/codegen.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler.cc View 2 chunks +10 lines, -8 lines 0 comments Download
M src/cpu-profiler.h View 7 chunks +100 lines, -13 lines 0 comments Download
M src/cpu-profiler.cc View 3 chunks +267 lines, -2 lines 0 comments Download
M src/cpu-profiler-inl.h View 1 chunk +22 lines, -2 lines 0 comments Download
M src/handles.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/log.h View 3 chunks +22 lines, -1 line 0 comments Download
M src/log.cc View 10 chunks +25 lines, -18 lines 0 comments Download
M src/mark-compact.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M src/platform.h View 1 chunk +1 line, -1 line 0 comments Download
M src/platform-linux.cc View 1 chunk +36 lines, -19 lines 4 comments Download
M src/platform-macos.cc View 2 chunks +22 lines, -12 lines 0 comments Download
M src/platform-win32.cc View 1 chunk +25 lines, -15 lines 0 comments Download
M src/profile-generator.h View 3 chunks +24 lines, -12 lines 0 comments Download
M src/profile-generator.cc View 6 chunks +26 lines, -5 lines 0 comments Download
M src/profile-generator-inl.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/stub-cache.cc View 30 chunks +39 lines, -37 lines 0 comments Download
M src/v8.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/v8.cc View 3 chunks +17 lines, -0 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/x64/regexp-macro-assembler-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-cpu-profiler.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/test-log.cc View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-profile-generator.cc View 7 chunks +18 lines, -18 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
mnaganov (inactive)
This change looks big, but it is actually pretty simple: it adds Logger-like CpuProfiler object ...
10 years, 8 months ago (2010-03-31 16:08:53 UTC) #1
Kevin Millikin (Chromium)
LGTM. http://codereview.chromium.org/1582004/diff/1/16 File src/platform-linux.cc (right): http://codereview.chromium.org/1582004/diff/1/16#newcode735 src/platform-linux.cc:735: TickSample sample_obj, *sample = &sample_obj; This is probably ...
10 years, 8 months ago (2010-04-06 09:10:47 UTC) #2
mnaganov (inactive)
Thanks a lot, Kevin! http://codereview.chromium.org/1582004/diff/1/16 File src/platform-linux.cc (right): http://codereview.chromium.org/1582004/diff/1/16#newcode735 src/platform-linux.cc:735: TickSample sample_obj, *sample = &sample_obj; ...
10 years, 8 months ago (2010-04-06 10:31:42 UTC) #3
Søren Thygesen Gjesse
http://codereview.chromium.org/1582004/diff/1/16 File src/platform-linux.cc (right): http://codereview.chromium.org/1582004/diff/1/16#newcode773 src/platform-linux.cc:773: #ifdef ENABLE_CPP_PROFILES_PROCESSOR If this #ifdef block needed? From above ...
10 years, 8 months ago (2010-04-06 10:37:43 UTC) #4
mnaganov (inactive)
10 years, 8 months ago (2010-04-06 11:44:52 UTC) #5
http://codereview.chromium.org/1582004/diff/1/16
File src/platform-linux.cc (right):

http://codereview.chromium.org/1582004/diff/1/16#newcode773
src/platform-linux.cc:773: #ifdef ENABLE_CPP_PROFILES_PROCESSOR
On 2010/04/06 10:37:43, Søren Gjesse wrote:
> If this #ifdef block needed? From above IsVmThread() must be true if
> ENABLE_CPP_PROFILES_PROCESSOR is defined.

Right, not needed actually. I will remove it in my next commit.

Powered by Google App Engine
This is Rietveld 408576698