Skip to content

Commit 492b540

Browse files
psmarshallElectron Scripts
authored and
Electron Scripts
committed
deps: backport detailed line info for CPU profiler
[cpu-profiler] Add flag to always generate accurate line info. https://chromium.googlesource.com/v8/v8/+/ 56baf56 [cpu-profiler] Turn on detailed line info for optimized code https://chromium.googlesource.com/v8/v8/+/ 84894ce [cpu-profiler] Separate the flags for generating extra line information https://chromium.googlesource.com/v8/v8/+/ 30ff671 PR-URL: nodejs/node#22688 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Patch-Filename: deps_backport_detailed_line_info_for_cpu_profiler.patch
1 parent 407005b commit 492b540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flag-definitions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ DEFINE_BOOL(log_function_events, false,
12901290
DEFINE_BOOL(prof, false,
12911291
"Log statistical profiling information (implies --log-code).")
12921292

1293-
DEFINE_BOOL(detailed_line_info, false,
1293+
DEFINE_BOOL(detailed_line_info, true,
12941294
"Always generate detailed line information for CPU profiling.")
12951295

12961296
#if defined(ANDROID)

0 commit comments

Comments
 (0)