[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regarding IO transfer



Hi,

Le Mon, 4 Jun 2007 17:10:45 +0200,
"Devvrat Tripathi" <tripathidevvrat@xxxxxxxxx> a écrit :

> No, i mean all the devices( excluding the main memory). Even if the a
> packet from the ethernet device is received i should be able to log
> that. I guess device driver code wont be of much help because i can
> edit each and every one of them .Is there a centralized way to do it?

Not as far as I know.

To trace block-level events, use blktrace, as suggested previsouly by
Erik Mouw. The kernel part is included since ~2.6.19, and the
userspace part is available at
http://brick.kernel.dk/snaps/blktrace-git-latest.tar.gz.

To trace network events, you can of course use things like Wireshark.

To trace other events, you can thinks such as System Tap
(http://sourceware.org/systemtap/).

Sincerly,

Thomas
-- 
Thomas Petazzoni - thomas.petazzoni@xxxxxxxx
http://{thomas,sos,kos}.enix.org - http://www.toulibre.org
http://www.{livret,agenda}dulibre.org

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ