On 8/12/07, Hao Song <baritonelw@xxxxxxxxx> wrote: > Hi, > I am trying to use blktrace (mentioned in the documentation for > CONFIG_BLK_DEV_IO_TRACE) to collect some disk I/O statistics. > It works at first, but every time I kill it with Ctrl-C and then try to > restart it, the program aborts with the message > > BLKTRACESETUP: No such file or directory > Failed to start trace on /dev/hda > > my exact sequence of commands is this > $ sudo blktrace -d /dev/hda -o - | blkparse -i - | tee trace-log > (some output...) > (Ctrl-C) > $ sudo blktrace -d /dev/hda -o - | blkparse -i - | tee trace-log2 > (abort...) > > I 'git clone' the blktrace source code from > git://git.kernel.dk/blktrace.git and compiled it on my > machine, the last 'git log' item is like this > commit 2885ecaa19a04ab9980896d1a849cdae9238b7d1 > Author: Vincent Legoll <vincent.legoll@xxxxxxxxx> > Date: Mon Jul 30 15:23:43 2007 +0200 > ... > > output from 'blktrace --version' > blktrace version 0.99.2 > > I think this will be enough for you to identify my blktrace version. > > any idea about this problem? > Hi Hao, take a look at https://secure.engr.oregonstate.edu/wiki/CS411/index.php/Blktrace_Guide at Bug Alert! -Javi -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ