On Mon, 26 Jun 2023 12:16:32 +0300 avidanborisov@xxxxxxxxx wrote: > + if (do_daemonize) { > + daemonize_finish(); > + printf("Send SIGINT to pid %d to stop recording\n", getpid()); I wonder if we should also add SIGTERM, as that's the default signal used by "kill". It would suck to have a nice trace going and then execute "kill $pid" only to find out it killed the process and didn't finish processing it. -- Steve > + } else { > + /* sleep till we are woken with Ctrl^C */ > + printf("Hit Ctrl^C to stop recording\n"); > + }