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

Issue 19409003: Update Xray for PNaCl (Closed)

Created:
7 years, 5 months ago by grosse
Modified:
7 years, 5 months ago
Reviewers:
nfullagar1
CC:
chromium-reviews, binji, Sam Clegg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

This modifies Xray to use the proposed PNaCl and Pepper changes, including passing strings directly to the instrumentation functions and sending the results via the Pepper Dev tracing interface. Note: This is an experimental project within the NaCl SDK which is not normally built. NOTRY=true was added due to unrelated test failures on the trybots. BUG=none NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212634

Patch Set 1 #

Patch Set 2 : revert Earth #

Patch Set 3 : add/remove files, change instrumentation ot __pnacl #

Total comments: 42

Patch Set 4 : hopefully this worked #

Patch Set 5 : Change to perframe calibration #

Total comments: 9

Patch Set 6 : use TLS address for threadid #

Total comments: 18

Patch Set 7 : more style fixes #

Patch Set 8 : Merge __x_profile funcs and add comments to address mask #

Total comments: 16

Patch Set 9 : miscellaneous fixes #

Total comments: 7

Patch Set 10 : Pop by depth rather than end time #

Patch Set 11 : the real changes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -9 lines) Patch
A native_client_sdk/src/libraries/xray/browser.c View 1 2 3 4 5 6 7 8 9 10 1 chunk +133 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/xray/library.dsc View 2 chunks +2 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/xray/report.c View 1 2 3 5 chunks +4 lines, -5 lines 0 comments Download
M native_client_sdk/src/libraries/xray/symtable.c View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -0 lines 1 comment Download
M native_client_sdk/src/libraries/xray/xray.h View 1 2 3 4 5 6 3 chunks +21 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/xray/xray.c View 1 2 3 4 5 6 7 8 9 10 11 chunks +57 lines, -3 lines 0 comments Download
M native_client_sdk/src/libraries/xray/xray_priv.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
nfullagar1
I haven't finished reviewing this yet, but here are some comments to work on in ...
7 years, 5 months ago (2013-07-17 00:53:19 UTC) #1
grosse
https://codereview.chromium.org/19409003/diff/4001/native_client_sdk/src/libraries/xray/browser.c File native_client_sdk/src/libraries/xray/browser.c (right): https://codereview.chromium.org/19409003/diff/4001/native_client_sdk/src/libraries/xray/browser.c#newcode8 native_client_sdk/src/libraries/xray/browser.c:8: On 2013/07/17 00:53:19, nfullagar1 wrote: > wrap this file ...
7 years, 5 months ago (2013-07-17 19:37:56 UTC) #2
grosse
https://codereview.chromium.org/19409003/diff/4001/native_client_sdk/src/libraries/xray/browser.c File native_client_sdk/src/libraries/xray/browser.c (right): https://codereview.chromium.org/19409003/diff/4001/native_client_sdk/src/libraries/xray/browser.c#newcode53 native_client_sdk/src/libraries/xray/browser.c:53: double scale_a = pdiff/odiff; On 2013/07/17 00:53:19, nfullagar1 wrote: ...
7 years, 5 months ago (2013-07-17 19:40:01 UTC) #3
nfullagar1
getting closer! https://codereview.chromium.org/19409003/diff/21001/native_client_sdk/src/libraries/xray/browser.c File native_client_sdk/src/libraries/xray/browser.c (right): https://codereview.chromium.org/19409003/diff/21001/native_client_sdk/src/libraries/xray/browser.c#newcode25 native_client_sdk/src/libraries/xray/browser.c:25: static PPB_Trace_Event_Dev* trace = NULL; s/trace/ppb_trace_event_interface https://codereview.chromium.org/19409003/diff/21001/native_client_sdk/src/libraries/xray/browser.c#newcode77 ...
7 years, 5 months ago (2013-07-18 00:47:22 UTC) #4
grosse
https://codereview.chromium.org/19409003/diff/21001/native_client_sdk/src/libraries/xray/browser.c File native_client_sdk/src/libraries/xray/browser.c (right): https://codereview.chromium.org/19409003/diff/21001/native_client_sdk/src/libraries/xray/browser.c#newcode25 native_client_sdk/src/libraries/xray/browser.c:25: static PPB_Trace_Event_Dev* trace = NULL; On 2013/07/18 00:47:22, nfullagar1 ...
7 years, 5 months ago (2013-07-18 01:26:40 UTC) #5
grosse
All the comments should be addressed now. https://codereview.chromium.org/19409003/diff/24001/native_client_sdk/src/libraries/xray/symtable.c File native_client_sdk/src/libraries/xray/symtable.c (right): https://codereview.chromium.org/19409003/diff/24001/native_client_sdk/src/libraries/xray/symtable.c#newcode151 native_client_sdk/src/libraries/xray/symtable.c:151: addr |= ...
7 years, 5 months ago (2013-07-18 17:37:05 UTC) #6
nfullagar1
thx for addressing previous comments! a few more... https://codereview.chromium.org/19409003/diff/36001/native_client_sdk/src/libraries/xray/browser.c File native_client_sdk/src/libraries/xray/browser.c (right): https://codereview.chromium.org/19409003/diff/36001/native_client_sdk/src/libraries/xray/browser.c#newcode59 native_client_sdk/src/libraries/xray/browser.c:59: capture, ...
7 years, 5 months ago (2013-07-18 18:21:06 UTC) #7
grosse
https://codereview.chromium.org/19409003/diff/36001/native_client_sdk/src/libraries/xray/browser.c File native_client_sdk/src/libraries/xray/browser.c (right): https://codereview.chromium.org/19409003/diff/36001/native_client_sdk/src/libraries/xray/browser.c#newcode59 native_client_sdk/src/libraries/xray/browser.c:59: capture, frame, true); On 2013/07/18 18:21:06, nfullagar1 wrote: > ...
7 years, 5 months ago (2013-07-18 20:45:37 UTC) #8
nfullagar1
https://codereview.chromium.org/19409003/diff/46001/native_client_sdk/src/libraries/xray/browser.c File native_client_sdk/src/libraries/xray/browser.c (right): https://codereview.chromium.org/19409003/diff/46001/native_client_sdk/src/libraries/xray/browser.c#newcode74 native_client_sdk/src/libraries/xray/browser.c:74: sizeof(struct XRayTraceBufferEntry*) * (count + 1)); So XRay has ...
7 years, 5 months ago (2013-07-18 21:35:59 UTC) #9
grosse
https://codereview.chromium.org/19409003/diff/46001/native_client_sdk/src/libraries/xray/browser.c File native_client_sdk/src/libraries/xray/browser.c (right): https://codereview.chromium.org/19409003/diff/46001/native_client_sdk/src/libraries/xray/browser.c#newcode74 native_client_sdk/src/libraries/xray/browser.c:74: sizeof(struct XRayTraceBufferEntry*) * (count + 1)); On 2013/07/18 21:36:00, ...
7 years, 5 months ago (2013-07-18 23:00:06 UTC) #10
nfullagar1
lgtm :) and thanks very much for this CL! Great to see these NaCl captures ...
7 years, 5 months ago (2013-07-18 23:49:42 UTC) #11
grosse
7 years, 5 months ago (2013-07-19 19:48:49 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grosse@chromium.org/19409003/54001
7 years, 5 months ago (2013-07-19 19:50:57 UTC) #13
commit-bot: I haz the power
7 years, 5 months ago (2013-07-19 19:57:14 UTC) #14
Message was sent while issue was closed.
Change committed as 212634

Powered by Google App Engine
This is Rietveld 408576698