SIGINT/Ctrl-C while profiling should gracefully finish the profiler and write the results to stdout/file. Two SIGINT/Ctrl-C should stop the program.