blkrawverify & verify_blkparse

blkrawverify 和 verify_blkparse 都是 verifies an output file produced by blkparse

blkrawverify

The blkrawverify utility can be used to verify data retrieved via blktrace. It will check for valid event formats, forward progressing sequence numbers and time stamps, also does reasonable checks for other potential issues within individual events.

    blkrawverify <dev> [<dev>...]

Errors found will be tracked in <dev>.verify.out.

verify_blkparse

Verifies an output file from blkparse. All it does is check if the events in the file are correctly time ordered. If an entry is found that isn't ordered, it's dumped to stdout.

    verify_blkparse <filename>

区别

blkrawverify 检查的更细致,对消息的格式;verify_blkparse 检查要粗略得多,重点在 events 的 time order。而且前者的参数是 devname 如 sda,后者要指定具体的文件名