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

Issue 2760363002: [instrumentation] Generalize instrumentation to be used beyond the core layer (Closed)

Created:
3 years, 9 months ago by alph
Modified:
3 years, 9 months ago
Reviewers:
dgozman, pfeldman
CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, dshwang, eae+blinkwatch, apavlov+blink_chromium.org, kinuko+watch, rwlbuis, caseq+blink_chromium.org, krit, drott+blinkwatch_chromium.org, blink-reviews-events_chromium.org, Justin Novosad, dglazkov+blink, Rik, gavinp+loader_chromium.org, devtools-reviews_chromium.org, blink-reviews, ajuma+watch_chromium.org, blink-reviews-frames_chromium.org, jbroman, lushnikov+blink_chromium.org, loading-reviews_chromium.org, pdr+graphicswatchlist_chromium.org, loading-reviews+fetch_chromium.org, Nate Chapin, Stephen Chennney, tyoshino+watch_chromium.org, dtapuska+blinkwatch_chromium.org, fmalita+watch_chromium.org, pfeldman+blink_chromium.org, danakj+watch_chromium.org, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[instrumentation] Generalize instrumentation to be used beyond the core layer Changes made in the patch: - Code generator is made more generic, so it can generate code for core as well as for platform. - Introduced instrumenting agents for FetchContext in the platform - Introduced PlatformTraceEventsAgent what listens to PlatformSendRequest probe and produces corresponsing trace events. BUG=695625 Review-Url: https://codereview.chromium.org/2760363002 Cr-Commit-Position: refs/heads/master@{#459183} Committed: https://chromium.googlesource.com/chromium/src/+/480ae9f27c791955a96bbdb7b9db090ec57db4ab

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -1082 lines) Patch
M third_party/WebKit/Source/core/frame/LocalFrame.h View 3 chunks +3 lines, -3 lines 2 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/BUILD.gn View 1 chunk +10 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h View 4 chunks +17 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl View 3 chunks +6 lines, -1 line 2 comments Download
M third_party/WebKit/Source/core/inspector/InspectorSession.h View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorSession.cpp View 1 chunk +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp View 1 chunk +4 lines, -3 lines 0 comments Download
D third_party/WebKit/Source/core/inspector/InstrumentingAgents_h.template View 1 chunk +0 lines, -46 lines 0 comments Download
D third_party/WebKit/Source/core/inspector/InstrumentingProbes.idl View 1 chunk +0 lines, -362 lines 0 comments Download
D third_party/WebKit/Source/core/inspector/InstrumentingProbesCodeGenerator.py View 1 chunk +0 lines, -233 lines 0 comments Download
D third_party/WebKit/Source/core/inspector/InstrumentingProbesImpl_cpp.template View 1 chunk +0 lines, -114 lines 0 comments Download
D third_party/WebKit/Source/core/inspector/InstrumentingProbesImpl_h.template View 1 chunk +0 lines, -55 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/WorkerInspectorController.h View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 5 chunks +30 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/platform/PlatformInstrumentation.h View 1 chunk +0 lines, -97 lines 0 comments Download
D third_party/WebKit/Source/platform/PlatformInstrumentation.cpp View 1 chunk +0 lines, -50 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/BitmapImage.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Image.cpp View 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/platform/instrumentation/InstrumentingAgents_h.template View 3 chunks +11 lines, -7 lines 0 comments Download
A + third_party/WebKit/Source/platform/instrumentation/InstrumentingProbesCodeGenerator.py View 4 chunks +20 lines, -7 lines 0 comments Download
A + third_party/WebKit/Source/platform/instrumentation/InstrumentingProbesImpl_cpp.template View 3 chunks +11 lines, -9 lines 0 comments Download
A + third_party/WebKit/Source/platform/instrumentation/InstrumentingProbesImpl_h.template View 3 chunks +7 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/platform/instrumentation/PlatformInstrumentation.h View 2 chunks +31 lines, -30 lines 0 comments Download
A + third_party/WebKit/Source/platform/instrumentation/PlatformInstrumentation.cpp View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/platform/instrumentation/PlatformInstrumentation.idl View 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/instrumentation/PlatformTraceEventsAgent.h View 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/instrumentation/PlatformTraceEventsAgent.cpp View 1 chunk +33 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/loader/fetch/FetchContext.h View 3 chunks +11 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp View 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp View 2 chunks +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebDevToolsAgentImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (11 generated)
alph
3 years, 9 months ago (2017-03-21 18:02:56 UTC) #2
pfeldman
Please don't instantiate this in platform just yet, make it a pure move. https://codereview.chromium.org/2760363002/diff/1/third_party/WebKit/Source/core/frame/LocalFrame.h File ...
3 years, 9 months ago (2017-03-22 01:39:28 UTC) #7
pfeldman
lgtm
3 years, 9 months ago (2017-03-22 01:52:35 UTC) #8
alph
On 2017/03/22 01:39:28, pfeldman wrote: > Please don't instantiate this in platform just yet, make ...
3 years, 9 months ago (2017-03-22 22:09:04 UTC) #10
alph
https://codereview.chromium.org/2760363002/diff/1/third_party/WebKit/Source/core/frame/LocalFrame.h File third_party/WebKit/Source/core/frame/LocalFrame.h (right): https://codereview.chromium.org/2760363002/diff/1/third_party/WebKit/Source/core/frame/LocalFrame.h#newcode167 third_party/WebKit/Source/core/frame/LocalFrame.h:167: InspectorInstrumentationAgents* instrumentingAgents() { On 2017/03/22 01:39:28, pfeldman wrote: > ...
3 years, 9 months ago (2017-03-22 22:09:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2760363002/1
3 years, 9 months ago (2017-03-22 22:10:24 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/177939)
3 years, 9 months ago (2017-03-22 23:08:41 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2760363002/1
3 years, 9 months ago (2017-03-23 19:07:56 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 19:43:33 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/480ae9f27c791955a96bbdb7b9db...

Powered by Google App Engine
This is Rietveld 408576698