path: root/blkrawverify.c
AgeCommit message (Collapse)Author
2012-02-01Free pdu_buff on bad pdu path in process()Eric Sandeen
On this error path, pdu_buf was never freed. Signed-off-by: Eric Sandeen <> Signed-off-by: Jens Axboe <>
2012-02-01Fix potential array overrun in act_to_strEric Sandeen
The acts[] array is only N_ACTS elements, so we should not ever set acts[N_ACTS] Signed-off-by: Eric Sandeen <> Signed-off-by: Jens Axboe <>
2011-08-11Add FLUSH/FUA supportNamhyung Kim
Add FLUSH/FUA support to blktrace. As FLUSH precedes WRITE and/or FUA follows WRITE, use the same 'F' flag for both cases and distinguish them by their (relative) position. The end results look like (other flags might be shown also): - WRITE: W - WRITE_FLUSH: FW - WRITE_FUA: WF - WRITE_FLUSH_FUA: FWF Note that we reuse TC_BARRIER due to lack of bit space of act_mask. Signed-off-by: Namhyung Kim <> Signed-off-by: Jens Axboe <>
2009-05-11blkrawverify: warn and return error if no traces are foundEric Sandeen
blkrawverify is prints no errors and returns success if the requested tracefiles aren't found: # blkrawverify foobar Verifying foobar # echo $? 0 With this change it's a bit more informative: # ./blkrawverify foobar Verifying foobar No tracefiles found for foobar # echo $? 1 Resolves Red Hat Bugzilla #499581 Reported-by: Milos Malik <> Signed-off-by: Eric Sandeen <> Signed-off-by: Jens Axboe <>
2008-08-15blktrace: support discard requestsDavid Woodhouse
Add support for discard requests to blktrace userspace tools. Signed-off-by: David Woodhouse <> Signed-off-by: Jens Axboe <>
2007-02-12Added return from blkrawverify to signal success or failure.Alan D. Brunelle
2006-07-23[PATCH] Support for logging metadata IO requestsJens Axboe
2006-07-06[PATCH] Support for readahead tracingNathan Scott
These are the userspace changes to allow blktrace to distinguish readahead from non-readahead reads.
2006-05-08[PATCH] fread/fwrite error handlingJens Axboe
Need to check ferror(), not return value. Thanks to Alex Polvi.
2006-02-22[PATCH] README and blkrawverify minor updateJens Axboe
Don't create an output file if the input argument is bogus or fails
2006-02-14[PATCH] blkrawverify: check and convert data appropriatelyJens Axboe
2006-02-09[PATCH] Shrink the trace by 1/3 by removing ->comm[16]Jens Axboe
We now send notify messages out when we see a new process, so we don't need to repeatedly send the same 16 bytes of name info everytime.
2006-02-07[PATCH] blkrawverify: account bad traces, don't dump a warning for each of themJens Axboe
2006-02-07[PATCH] data_is_native can't be both static and externJens Axboe
2006-02-06[PATCH] Allow trace data to stay CPU endiannessJens Axboe
Basically just check whether we need to convert the trace or not in blkparse, then we can get rid of the endianness conversion in the hot path (blktrace:write_tip_events()).
2006-02-02[PATCH] blkrawverify: note what file the output went toJens Axboe
I didn't actually realize this until I looked at the source...
2006-01-28[PATCH] blkrawverify: Check for EOF in error reportingJens Axboe
A check of fread returning 0 is not sufficient towards determining an. error - 0 also indicates EOF. Added check for that.
2006-01-28[PATCH] blkrawverify: cast __u64 to unsigned long long for printingJens Axboe
2006-01-27[PATCH] blktrace/blkrawverify: get rid of pesky signedness warningsJens Axboe
2006-01-26[PATCH] blkrawverify: u64 types need %llu formatJens Axboe
2006-01-26[PATCH] Added blkrawverify utilityAlan D. Brunelle