diff --git a/deps/v8/src/log-utils.cc b/deps/v8/src/log-utils.cc index 7bd7baa2d8..5e607daa9a 100644 --- a/deps/v8/src/log-utils.cc +++ b/deps/v8/src/log-utils.cc @@ -105,6 +105,10 @@ void Log::Initialize() { // one character so we can escape the loop properly. p--; break; + case 'p': + // %p expands to the process ID. + stream.Add("%d", OS::GetCurrentProcessId()); + break; case 't': { // %t expands to the current time in milliseconds. double time = OS::TimeCurrentMillis();