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

Issue 16901014: CPUProfiler: Simplify logging part of CreateCodeEvent functions. (Closed)

Created:
7 years, 6 months ago by loislo
Modified:
7 years, 6 months ago
Reviewers:
Sven Panne, yurys, Yang
CC:
v8-dev
Visibility:
Public.

Description

CPUProfiler: Simplify logging part of CreateCodeEvent functions. We have 5 overloaded functions with name CreateCodeEvent. All these functions have many common parts. I'd like to eliminate the difference between them. TEST=existing tests R=yangguo@chromium.org, yurys@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15287

Patch Set 1 #

Total comments: 2

Patch Set 2 : new Code::kind was added for REGEXP #

Total comments: 4

Patch Set 3 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -88 lines) Patch
M src/log.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/log.cc View 1 2 11 chunks +49 lines, -82 lines 0 comments Download
M src/log-utils.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/log-utils.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/objects.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/spaces.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/plot-timer-events.js View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
loislo
7 years, 6 months ago (2013-06-21 09:16:08 UTC) #1
yurys
lgtm Please check that --prof and tick-processors are not affected by this change. https://codereview.chromium.org/16901014/diff/1/src/log.cc File ...
7 years, 6 months ago (2013-06-21 09:32:50 UTC) #2
loislo
On 2013/06/21 09:32:50, Yury Semikhatsky wrote: > lgtm > > Please check that --prof and ...
7 years, 6 months ago (2013-06-21 10:05:13 UTC) #3
Sven Panne
On 2013/06/21 10:05:13, loislo wrote: > [...] I have no idea why we use -2 ...
7 years, 6 months ago (2013-06-21 11:15:33 UTC) #4
loislo
On 2013/06/21 11:15:33, Sven Panne wrote: > On 2013/06/21 10:05:13, loislo wrote: > > [...] ...
7 years, 6 months ago (2013-06-21 14:01:15 UTC) #5
loislo
+yangguo I found that REGEXP kind is used for plot-timer-events.js.
7 years, 6 months ago (2013-06-24 12:10:02 UTC) #6
Yang
Got some comments. LGTM once those are fixed. https://codereview.chromium.org/16901014/diff/7001/src/log.cc File src/log.cc (right): https://codereview.chromium.org/16901014/diff/7001/src/log.cc#newcode865 src/log.cc:865: msg.Append("%s,%s,-3,", ...
7 years, 6 months ago (2013-06-24 12:49:15 UTC) #7
loislo
https://codereview.chromium.org/16901014/diff/7001/src/log.cc File src/log.cc (right): https://codereview.chromium.org/16901014/diff/7001/src/log.cc#newcode865 src/log.cc:865: msg.Append("%s,%s,-3,", On 2013/06/24 12:49:15, Yang wrote: > We also ...
7 years, 6 months ago (2013-06-24 12:54:31 UTC) #8
loislo
7 years, 6 months ago (2013-06-24 12:55:35 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r15287 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698