Using Dave Cheney's profile package to figure out the execution path of a 
library I'm trying to understand.

The application starts, (it's a server), I hit ^c after a couple of 
minutes, and the console says

    Stopping Profiling
    Stopping

Main() catches the console interrupt:
    signal.Notify(c, os.Interrupt)
    log.Info("Stopping")

But the cpu profile file is empty. Is there a way to force is to sync 
before exiting?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/b46a2b7f-0ac7-4e5a-a1e2-268a31f3afe8%40googlegroups.com.

Reply via email to