Index: src/api-arguments-inl.h |
diff --git a/src/api-arguments-inl.h b/src/api-arguments-inl.h |
index bf72fc4e6f44f56db6dc159717e1cca262d9781d..b1f7ffb3932066485ca54eb41743a79b108ab56a 100644 |
--- a/src/api-arguments-inl.h |
+++ b/src/api-arguments-inl.h |
@@ -20,6 +20,8 @@ |
Handle<Name> name) { \ |
Isolate* isolate = this->isolate(); \ |
RuntimeCallTimerScope timer(isolate, &RuntimeCallStats::Function); \ |
+ TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( \ |
+ isolate, &tracing::TraceEventStatsTable::Function); \ |
VMState<EXTERNAL> state(isolate); \ |
ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \ |
PropertyCallbackInfo<ApiReturn> info(begin()); \ |
@@ -44,6 +46,8 @@ |
uint32_t index) { \ |
Isolate* isolate = this->isolate(); \ |
RuntimeCallTimerScope timer(isolate, &RuntimeCallStats::Function); \ |
+ TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( \ |
+ isolate, &tracing::TraceEventStatsTable::Function); \ |
VMState<EXTERNAL> state(isolate); \ |
ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \ |
PropertyCallbackInfo<ApiReturn> info(begin()); \ |
@@ -64,6 +68,9 @@ |
Isolate* isolate = this->isolate(); |
RuntimeCallTimerScope timer( |
isolate, &RuntimeCallStats::GenericNamedPropertySetterCallback); |
+ TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
+ isolate, |
+ &tracing::TraceEventStatsTable::GenericNamedPropertySetterCallback); |
VMState<EXTERNAL> state(isolate); |
ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); |
PropertyCallbackInfo<v8::Value> info(begin()); |
@@ -79,6 +86,9 @@ |
Isolate* isolate = this->isolate(); |
RuntimeCallTimerScope timer( |
isolate, &RuntimeCallStats::GenericNamedPropertyDefinerCallback); |
+ TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
+ isolate, |
+ &tracing::TraceEventStatsTable::GenericNamedPropertyDefinerCallback); |
VMState<EXTERNAL> state(isolate); |
ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); |
PropertyCallbackInfo<v8::Value> info(begin()); |
@@ -94,6 +104,8 @@ |
Isolate* isolate = this->isolate(); |
RuntimeCallTimerScope timer(isolate, |
&RuntimeCallStats::IndexedPropertySetterCallback); |
+ TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
+ isolate, &tracing::TraceEventStatsTable::IndexedPropertySetterCallback); |
VMState<EXTERNAL> state(isolate); |
ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); |
PropertyCallbackInfo<v8::Value> info(begin()); |
@@ -109,6 +121,8 @@ |
Isolate* isolate = this->isolate(); |
RuntimeCallTimerScope timer( |
isolate, &RuntimeCallStats::IndexedPropertyDefinerCallback); |
+ TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
+ isolate, &tracing::TraceEventStatsTable::IndexedPropertyDefinerCallback); |
VMState<EXTERNAL> state(isolate); |
ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); |
PropertyCallbackInfo<v8::Value> info(begin()); |
@@ -123,6 +137,8 @@ |
Isolate* isolate = this->isolate(); |
RuntimeCallTimerScope timer(isolate, |
&RuntimeCallStats::AccessorNameSetterCallback); |
+ TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
+ isolate, &tracing::TraceEventStatsTable::AccessorNameSetterCallback); |
VMState<EXTERNAL> state(isolate); |
ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); |
PropertyCallbackInfo<void> info(begin()); |