Hi,
when you Ctrl-C latrace, the control dir/file stays around:
$ ./latrace -q /bin/cat
controled config: /tmp/lt-config-Bl4RzW/config
<Ctrl-C>
$ ls -d /tmp/lt-config-*
/tmp/lt-config-Bl4RzW/config
This happens because the signal terminates latrace itself in lt_run().
It could maybe install a SIGINT handler that sets a flag and wrap the
waitpid() into an loop that checks for EINTR plus this flag...
--
akos