Files
linux/tools/testing/selftests/ublk/trace/seq_io.bt
Caleb Sander Mateos fe8c0182d4 selftests: ublk: remove unused ios map in seq_io.bt
The ios map populated by seq_io.bt is never read, so remove it.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-12-12 12:50:40 -07:00

25 lines
457 B
Plaintext

/*
$1: dev_t
$2: RWBS
$3: strlen($2)
*/
BEGIN {
@last_rw[$1, str($2)] = (uint64)0;
}
tracepoint:block:block_rq_complete
{
$dev = $1;
if ((int64)args.dev == $1 && !strncmp(args.rwbs, str($2), $3)) {
$last = @last_rw[$dev, str($2)];
if ((uint64)args.sector != $last) {
printf("io_out_of_order: exp %llu actual %llu\n",
args.sector, $last);
}
@last_rw[$dev, str($2)] = (args.sector + args.nr_sector);
}
}
END {
clear(@last_rw);
}