Changeset 195142 in webkit
- Timestamp:
- Jan 15, 2016, 12:57:37 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 9 edited
-
Source/WTF/ChangeLog (modified) (1 diff)
-
Source/WTF/WTF.vcxproj/WTF.vcxproj (modified) (1 diff)
-
Source/WTF/WTF.xcodeproj/project.pbxproj (modified) (4 diffs)
-
Source/WTF/wtf/CMakeLists.txt (modified) (1 diff)
-
Source/WTF/wtf/SystemTracing.h (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/dom/Document.cpp (modified) (2 diffs)
-
Source/WebCore/page/FrameView.cpp (modified) (3 diffs)
-
Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp (modified) (2 diffs)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/Tracing (added)
-
Tools/Tracing/SystemTracePoints.plist (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r195141 r195142 1 2016-01-15 Simon Fraser <simon.fraser@apple.com> 2 3 Add kdebug_trace signposts for a few WebCore operations 4 https://bugs.webkit.org/show_bug.cgi?id=153136 5 rdar://problem/24208487 6 7 Reviewed by Sam Weinig. 8 9 New header with the reserved WebKit component code, trace point codes, and 10 a stack-based helper that traces scope entry and exit. 11 12 The available range of trace point codes is arbitrarily segmented into WTF, JSC, 13 WebCore, WebKit and WebKit2. 14 15 * WTF.xcodeproj/project.pbxproj: 16 * wtf/CMakeLists.txt: 17 * wtf/SystemTracing.h: Added. 18 (WTF::TraceScope::TraceScope): 19 (WTF::TraceScope::~TraceScope): 20 1 21 2016-01-15 Andreas Kling <akling@apple.com> 2 22 -
trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj
r195141 r195142 270 270 <ClInclude Include="..\wtf\StringExtras.h" /> 271 271 <ClInclude Include="..\wtf\StringPrintStream.h" /> 272 <ClInclude Include="..\wtf\SystemTracing.h" /> 272 273 <ClInclude Include="..\wtf\TemporaryChange.h" /> 273 274 <ClInclude Include="..\wtf\text\ASCIIFastPath.h" /> -
trunk/Source/WTF/WTF.xcodeproj/project.pbxproj
r195141 r195142 42 42 0FB14E19180FA218009B6B4D /* Bag.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FB14E18180FA218009B6B4D /* Bag.h */; }; 43 43 0FB14E1B1810E1DC009B6B4D /* BagToHashMap.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FB14E1A1810E1DA009B6B4D /* BagToHashMap.h */; }; 44 0FB317C41C488001007E395A /* SystemTracing.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FB317C31C488001007E395A /* SystemTracing.h */; }; 44 45 0FC4488316FE9FE100844BE9 /* ProcessID.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FC4488216FE9FE100844BE9 /* ProcessID.h */; }; 45 46 0FC4EDE61696149600F65041 /* CommaPrinter.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FC4EDE51696149600F65041 /* CommaPrinter.h */; }; … … 347 348 0FB14E18180FA218009B6B4D /* Bag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Bag.h; sourceTree = "<group>"; }; 348 349 0FB14E1A1810E1DA009B6B4D /* BagToHashMap.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BagToHashMap.h; sourceTree = "<group>"; }; 350 0FB317C31C488001007E395A /* SystemTracing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SystemTracing.h; sourceTree = "<group>"; }; 349 351 0FC4488216FE9FE100844BE9 /* ProcessID.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProcessID.h; sourceTree = "<group>"; }; 350 352 0FC4EDE51696149600F65041 /* CommaPrinter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CommaPrinter.h; sourceTree = "<group>"; }; … … 922 924 0FDDBFA51666DFA300C55FEF /* StringPrintStream.cpp */, 923 925 0FDDBFA61666DFA300C55FEF /* StringPrintStream.h */, 926 0FB317C31C488001007E395A /* SystemTracing.h */, 924 927 A8A4731A151A825B004123FF /* TemporaryChange.h */, 925 928 A8A4732F151A825B004123FF /* ThreadFunctionInvocation.h */, … … 1191 1194 A70DA0841799F04D00529A9B /* Insertion.h in Headers */, 1192 1195 26147B0A15DDCCDC00DDB907 /* IntegerToStringConversion.h in Headers */, 1196 0FB317C41C488001007E395A /* SystemTracing.h in Headers */, 1193 1197 7CDD7FF8186D291E007433CD /* IteratorAdaptors.h in Headers */, 1194 1198 7CDD7FFA186D2A54007433CD /* IteratorRange.h in Headers */, -
trunk/Source/WTF/wtf/CMakeLists.txt
r195141 r195142 100 100 StringExtras.h 101 101 StringPrintStream.h 102 SystemTracing.h 102 103 ThreadIdentifierDataPthreads.h 103 104 ThreadSafeRefCounted.h -
trunk/Source/WebCore/ChangeLog
r195141 r195142 1 2016-01-15 Simon Fraser <simon.fraser@apple.com> 2 3 Add kdebug_trace signposts for a few WebCore operations 4 https://bugs.webkit.org/show_bug.cgi?id=153136 5 rdar://problem/24208487 6 7 Reviewed by Sam Weinig. 8 9 Add trace points for style recalc, layout, view painting and layer painting. 10 11 * dom/Document.cpp: 12 (WebCore::Document::recalcStyle): 13 * page/FrameView.cpp: 14 (WebCore::FrameView::layout): 15 (WebCore::FrameView::paintContents): 16 * platform/graphics/ca/GraphicsLayerCA.cpp: 17 (WebCore::GraphicsLayerCA::platformCALayerPaintContents): 18 1 19 2016-01-15 Andreas Kling <akling@apple.com> 2 20 -
trunk/Source/WebCore/dom/Document.cpp
r195091 r195142 181 181 #include <wtf/CurrentTime.h> 182 182 #include <wtf/NeverDestroyed.h> 183 #include <wtf/SystemTracing.h> 183 184 #include <wtf/TemporaryChange.h> 184 185 #include <wtf/text/StringBuffer.h> … … 1823 1824 if (m_inStyleRecalc) 1824 1825 return; // Guard against re-entrancy. -dwh 1826 1827 TraceScope tracingScope(StyleRecalcStart, StyleRecalcEnd); 1825 1828 1826 1829 RenderView::RepaintRegionAccumulator repaintRegionAccumulator(renderView()); -
trunk/Source/WebCore/page/FrameView.cpp
r194823 r195142 94 94 #include <wtf/CurrentTime.h> 95 95 #include <wtf/Ref.h> 96 #include <wtf/SystemTracing.h> 96 97 #include <wtf/TemporaryChange.h> 97 98 … … 1237 1238 return; 1238 1239 } 1240 1241 TraceScope tracingScope(LayoutStart, LayoutEnd); 1239 1242 1240 1243 #if PLATFORM(IOS) … … 4015 4018 if (m_layoutPhase == InViewSizeAdjust) 4016 4019 return; 4017 4020 4021 TraceScope tracingScope(PaintViewStart, PaintViewEnd); 4022 4018 4023 ASSERT(m_layoutPhase == InPostLayerPositionsUpdatedAfterLayout || m_layoutPhase == OutsideLayout); 4019 4024 -
trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
r194825 r195142 48 48 #include <wtf/CurrentTime.h> 49 49 #include <wtf/MathExtras.h> 50 #include <wtf/SystemTracing.h> 50 51 #include <wtf/TemporaryChange.h> 51 52 #include <wtf/text/WTFString.h> … … 1447 1448 return; 1448 1449 } 1450 1451 TraceScope tracingScope(PaintLayerStart, PaintLayerEnd); 1449 1452 paintGraphicsLayerContents(context, clip); 1450 1453 } -
trunk/Tools/ChangeLog
r195083 r195142 1 2016-01-15 Simon Fraser <simon.fraser@apple.com> 2 3 Add kdebug_trace signposts for a few WebCore operations 4 https://bugs.webkit.org/show_bug.cgi?id=153136 5 rdar://problem/24208487 6 7 Reviewed by Sam Weinig. 8 9 Plist used by kdebug_trace() viewing tools. 10 11 * Tracing/SystemTracePoints.plist: Added. 12 1 13 2016-01-14 Konstantin Tokarev <annulen@yandex.ru> 2 14
Note:
See TracChangeset
for help on using the changeset viewer.