Skip to content

Commit

Permalink
deps: backport detailed line info for CPU profiler
Browse files Browse the repository at this point in the history
[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 <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

Patch-Filename: deps_backport_detailed_line_info_for_cpu_profiler.patch
  • Loading branch information
psmarshall authored and Electron Scripts committed May 13, 2019
1 parent 6ea7920 commit b42bc7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flag-definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b42bc7f

Please sign in to comment.