| Index: src/counters.h | 
| diff --git a/src/counters.h b/src/counters.h | 
| index eb92a90ea743e815d15b7f77153f94913e7ab560..ee4a0ffeac4b74c82840583ed9e2d3cc955659bf 100644 | 
| --- a/src/counters.h | 
| +++ b/src/counters.h | 
| @@ -853,13 +853,14 @@ | 
| bool in_use_; | 
| }; | 
|  | 
| -#define TRACE_RUNTIME_CALL_STATS(isolate, counter_name) \ | 
| -  do {                                                  \ | 
| -    if (V8_UNLIKELY(FLAG_runtime_stats)) {              \ | 
| -      RuntimeCallStats::CorrectCurrentCounterId(        \ | 
| -          isolate->counters()->runtime_call_stats(),    \ | 
| -          &RuntimeCallStats::counter_name);             \ | 
| -    }                                                   \ | 
| +#define TRACE_RUNTIME_CALL_STATS(isolate, counter_name)                 \ | 
| +  do {                                                                  \ | 
| +    if (V8_UNLIKELY(TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_ENABLED() || \ | 
| +                    FLAG_runtime_call_stats)) {                         \ | 
| +      RuntimeCallStats::CorrectCurrentCounterId(                        \ | 
| +          isolate->counters()->runtime_call_stats(),                    \ | 
| +          &RuntimeCallStats::counter_name);                             \ | 
| +    }                                                                   \ | 
| } while (false) | 
|  | 
| #define TRACE_HANDLER_STATS(isolate, counter_name) \ | 
|  |