On Wed, 19 May 2010 10:53:59 PDT ron minnich <[email protected]>  wrote:
> I'll only take that patch if it does NOT include stdio.h.

Well, you have the trivial diff so do what you want.

> As for output ... I'm conflicted on output on 1 vs. 2. But it is nice
> that you can see normal output of the traced process. But, hmm, if
> traced process prints on 2, well ... you'll lose it.

1 is the working channel -- where most useful thing show up.
The issue is that the output of the traced process is
intermingled with syscalltrace and that just doesn't make
sense.  They are different things. With output to 2 I can
redirect it where I want.

BTW, truss does the same thing (output to stderr).  ktrace on
FreeBSD finesses by just dumping trace output to a file and
then kdump is used to show it.

> So, my feeling is, if you are *really* concerned about output and
> interaction with the process, run rc in another window, and
> syscalltrace <pid-of-rc>

Too much work.

Reply via email to