Changeset 173162 in webkit
- Timestamp:
- Sep 1, 2014 2:15:21 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r173155 r173162 1 2014-09-01 Brian J. Burg <burg@cs.washington.edu> 2 3 Provide column numbers to DTrace willExecute/didExecute probes 4 https://bugs.webkit.org/show_bug.cgi?id=136434 5 6 Reviewed by Antti Koivisto. 7 8 Provide the columnNumber and update stubs for !HAVE(DTRACE). 9 10 * profiler/ProfileGenerator.cpp: 11 (JSC::ProfileGenerator::willExecute): 12 (JSC::ProfileGenerator::didExecute): 13 * runtime/Tracing.d: 14 * runtime/Tracing.h: 15 1 16 2014-09-01 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 17 -
trunk/Source/JavaScriptCore/profiler/ProfileGenerator.cpp
r163844 r173162 112 112 CString name = callIdentifier.functionName().utf8(); 113 113 CString url = callIdentifier.url().utf8(); 114 JAVASCRIPTCORE_PROFILE_WILL_EXECUTE(m_profileGroup, const_cast<char*>(name.data()), const_cast<char*>(url.data()), callIdentifier.lineNumber() );114 JAVASCRIPTCORE_PROFILE_WILL_EXECUTE(m_profileGroup, const_cast<char*>(name.data()), const_cast<char*>(url.data()), callIdentifier.lineNumber(), callIdentifier.columnNumber()); 115 115 } 116 116 … … 127 127 CString name = callIdentifier.functionName().utf8(); 128 128 CString url = callIdentifier.url().utf8(); 129 JAVASCRIPTCORE_PROFILE_DID_EXECUTE(m_profileGroup, const_cast<char*>(name.data()), const_cast<char*>(url.data()), callIdentifier.lineNumber() );129 JAVASCRIPTCORE_PROFILE_DID_EXECUTE(m_profileGroup, const_cast<char*>(name.data()), const_cast<char*>(url.data()), callIdentifier.lineNumber(), callIdentifier.columnNumber()); 130 130 } 131 131 -
trunk/Source/JavaScriptCore/runtime/Tracing.d
r52082 r173162 29 29 probe gc__marked(); 30 30 probe gc__end(); 31 32 probe profile__will_execute(int, char*, char*, int );33 probe profile__did_execute(int, char*, char*, int );31 32 probe profile__will_execute(int, char*, char*, int, int); 33 probe profile__did_execute(int, char*, char*, int, int); 34 34 }; 35 35 -
trunk/Source/JavaScriptCore/runtime/Tracing.h
r95901 r173162 40 40 #define JAVASCRIPTCORE_GC_MARKED_ENABLED() 0 41 41 42 #define JAVASCRIPTCORE_PROFILE_WILL_EXECUTE(arg0, arg1, arg2, arg3 )42 #define JAVASCRIPTCORE_PROFILE_WILL_EXECUTE(arg0, arg1, arg2, arg3, arg4) 43 43 #define JAVASCRIPTCORE_PROFILE_WILL_EXECUTE_ENABLED() 0 44 44 45 #define JAVASCRIPTCORE_PROFILE_DID_EXECUTE(arg0, arg1, arg2, arg3 )45 #define JAVASCRIPTCORE_PROFILE_DID_EXECUTE(arg0, arg1, arg2, arg3, arg4) 46 46 #define JAVASCRIPTCORE_PROFILE_DID_EXECUTE_ENABLED() 0 47 47 -
trunk/Tools/ChangeLog
r173159 r173162 1 2014-09-01 Brian J. Burg <burg@cs.washington.edu> 2 3 Provide column numbers to DTrace willExecute/didExecute probes 4 https://bugs.webkit.org/show_bug.cgi?id=136434 5 6 Reviewed by Antti Koivisto. 7 8 Create a directory for DTrace scripts. Add an example script that 9 shows how to use static probes provided by JavaScriptCore's profiler. 10 11 * Scripts/dtrace/jsc-trace-profiler-events.d: Added. 12 1 13 2014-09-01 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 14
Note: See TracChangeset
for help on using the changeset viewer.