Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

src: reduce cpu profiler overhead #8791

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2962,6 +2962,7 @@ char** Init(int argc, char *argv[]) {
V8::SetFlagsFromCommandLine(&v8argc, v8argv, false);

#ifdef __POSIX__
uv_loop_configure(uv_default_loop(), UV_LOOP_BLOCK_SIGNAL, SIGPROF);
// Ignore SIGPIPE
RegisterSignalHandler(SIGPIPE, SIG_IGN);
RegisterSignalHandler(SIGINT, SignalExit);
Expand Down