CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2022/06/02 15:38:46

Modified files:
        usr.sbin/btrace: btrace.c 

Log message:
Let btrace(8) execute the END probe upon receiving a SIGTERM signal

While SIGINT (already handled) makes sense for interactive use, handling
SIGTERM in the same manner is less surprising for scripting.  This lets
you do:

btrace ... & some workload; kill $!

and get the expected output.

ok mpi@

Reply via email to