Date: Fri, 22 Aug 2014 15:16:32 -0400 From: Eric van Gyzen <eric@vangyzen.net> To: freebsd-current@freebsd.org Subject: ktrace -c behavior Message-ID: <53F79710.6090700@vangyzen.net>
next in thread | raw e-mail | index | archive | help
What behavior would you expect from this sequence of commands? ktrace -tw -p 1234 ktrace -c -p 1234 Based on this... -c Clear the trace points associated with the specified file or processes. ...I would expect the second command to clear the trace point for context switches. It doesn't. I have to specify -tw with the -c to get that behavior. This makes sense; it's just not what I was expecting. Assuming we want to keep this behavior, can we clarify the -c flag in man page? I would suggest: If the -t flag is not specified, clear the default set of trace points. Thanks, Eric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53F79710.6090700>