Date: Wed, 19 Jun 1996 22:07:51 +1000 From: Bruce Evans <bde@zeta.org.au> To: fcurrent@jraynard.demon.co.uk, wosch@cs.tu-berlin.de Cc: freebsd-current@freebsd.org Subject: Re: ktrace [Was: 2.2-960612-SNAP resolver problems] Message-ID: <199606191207.WAA14502@godzilla.zeta.org.au>
index | next in thread | raw e-mail
>>Indeed. Apart from volume of output, is there any particular reason >>why ktrace writes to a file which kdump reads in, as opposed to using >>a pipe? Particularly as the first thing kdump does is >>freopen(tracefile, "r", stdin)! >Hm, try `ktrace -f /dev/stdout | kdump -f /dev/stdin' I tried it before posting :-). ktrace(2) only works on regular files. This is undocumented of course. It obviously can't work on stdout because stdout goes away when ktrace(1) exits. Brucehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606191207.WAA14502>
