having problems with blktrace

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

 



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?

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux