From 58adeea4936337ad8f3a6c35ccfc892cfc953379 Mon Sep 17 00:00:00 2001
From: Peter Marshall
Date: Tue, 4 Sep 2018 15:48:15 +0200
Subject: [PATCH] deps: backport detailed line info for CPU profiler
[cpu-profiler] Add flag to always generate accurate line info.
https://chromium.googlesource.com/v8/v8/+/
56baf56790de439b3f69e887e94beb3b301ed77c
[cpu-profiler] Turn on detailed line info for optimized code
https://chromium.googlesource.com/v8/v8/+/
84894ce6d2af7feb9e1f5574409355120887326c
[cpu-profiler] Separate the flags for generating extra line information
https://chromium.googlesource.com/v8/v8/+/
30ff6719db441cc7ef220d449970cc169067e256
PR-URL: https://github.com/nodejs/node/pull/22688
Reviewed-By: James M Snell
Reviewed-By: Ruben Bridgewater
Patch-Filename: deps_backport_detailed_line_info_for_cpu_profiler.patch
---
src/flag-definitions.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index d262fb70129f..deec6d034505 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -1290,7 +1290,7 @@ DEFINE_BOOL(log_function_events, false,
DEFINE_BOOL(prof, false,
"Log statistical profiling information (implies --log-code).")
-DEFINE_BOOL(detailed_line_info, false,
+DEFINE_BOOL(detailed_line_info, true,
"Always generate detailed line information for CPU profiling.")
#if defined(ANDROID)