Date: Mon, 5 Sep 2005 22:30:11 +0530 From: Nikhil Dharashivkar <nikhildharashivkar@gmail.com> To: freebsd-hackers@freebsd.org Cc: freebsd-scsi@freebsd.org Subject: Adding new option to ktrace Message-ID: <17db6d3a0509051000622868bc@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi,
i want to hack the ktrace system call. Basically, I want to monitor
scsi disk IO through dastrategy() routine.
It seems that kern_ktrace.c implements different functions for
ktrace options like -tc / -ti ... etc (see man page). So, is it
possible to add new option for disk IO with new structure object
containing disk io information which will be pass to
ktr_submittrequest thr' ktr_request structure.
Will data will be written correctly in ktrace.out and will
kdump analyze that ?
--
Thanks and Regards,
Nikhil.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17db6d3a0509051000622868bc>
