Skip to content

Commit

Permalink
Merge pull request #55 from P403n1x87/chore/remove-redundant-signal-i…
Browse files Browse the repository at this point in the history
…nstall

chore: remove duplicate signal handler setup
  • Loading branch information
P403n1x87 authored Oct 22, 2023
2 parents 10d7b80 + dc72af6 commit 19db218
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions echion/coremodule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,6 @@ _sampler()
output << "# mode: " << (cpu ? "cpu" : "wall") << std::endl;
output << "# interval: " << interval << std::endl;

// Install the signal handler if we are sampling the native stacks.
if (native)
// We use SIGPROF to sample the stacks within each thread.
signal(SIGPROF, sigprof_handler);

while (running)
{
microsecond_t now = gettime();
Expand Down

0 comments on commit 19db218

Please sign in to comment.