Date: Wed, 11 Jun 1997 17:23:57 +0300 (EET DST) From: "Jukka A. Ukkonen" <jau@jau.tmt.tele.fi> To: questions@freebsd.org Subject: what about adding fktrace() to parallel ktrace() Message-ID: <199706111423.RAA24797@jau.tmt.tele.fi>
next in thread | raw e-mail | index | archive | help
Hello everybody! Sometimes it would be nice to be able run online process tracing on some processes. Currently this is impossible due to ktrace(1) using ktrace(2) system call and due to how this system call has been implemented. It would be quite simple to make kdump(1) to read a socket or a fifo though. Wouldn't it be reasonable to add also a new system call fktrace() to parallel the current ktrace(2). To this new system call one would pass a file descriptor instead of the file name. Having fktrace() call would allow one to modify ktrace(1) to generate the trace output directly via a socket to kdump(1). This would instantly give us an online tracing capability. In fact with some weird programming applied this would also allow running kdump(1) on a remote machine, which probably is not a very bright idea. ;-) Cheers, // jau ------ / Jukka A. Ukkonen, Internet Services R&D / Telecom Finland Ltd. /__ M.Sc. (sw-eng & cs) (Phone) +358-2040-4025 / Internet: Jukka.Ukkonen@tele.fi (Fax) +358-2040-64724 / Internet: jau@iki.fi (Mobile) +358-400-606671 v Internet: ukkonen@nic.funet.fi (Home&Fax) +358-9-6215280
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706111423.RAA24797>