Caleb Sander Mateos
1fd4b8d7e3
selftests: ublk: correct last_rw map type in seq_io.bt
...
The last_rw map is initialized with a value of 0 but later assigned the
value args.sector + args.nr_sector, which has type sector_t = u64.
bpftrace complains about the type mismatch between int64 and uint64:
trace/seq_io.bt:18:3-59: ERROR: Type mismatch for @last_rw: trying to assign value of type 'uint64' when map already contains a value of type 'int64'
@last_rw[$dev, str($2)] = (args.sector + args.nr_sector);
Cast the initial value to uint64 so bpftrace will load the program.
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
..
2025-08-22 08:20:45 +02:00
2025-11-28 15:47:12 +00:00
2025-12-03 17:24:33 -08:00
2025-07-10 14:21:30 -06:00
2025-10-22 09:23:18 -06:00
2025-12-03 13:04:07 -08:00
2025-03-25 14:59:05 +01:00
2025-11-04 22:05:01 +01:00
2025-06-17 14:12:16 -06:00
2025-05-09 12:43:39 -06:00
2025-09-13 16:55:02 -07:00
2025-11-19 15:00:14 -07:00
2025-12-02 15:37:53 -08:00
2025-11-03 17:41:18 +01:00
2025-12-03 15:08:18 -08:00
2025-09-20 18:23:13 +02:00
2025-04-14 22:30:01 +02:00
2025-10-15 17:27:06 +02:00
2025-11-05 15:11:26 -04:00
2025-06-17 14:45:05 -06:00
2025-09-25 13:43:28 -06:00
2025-09-13 16:54:55 -07:00
2025-05-11 17:54:09 -07:00
2025-11-19 15:00:22 -07:00
2025-09-16 18:05:03 -06:00
2025-12-02 17:03:55 -08:00
2025-09-13 16:55:16 -07:00
2025-04-15 13:50:43 -07:00
2025-10-15 14:50:46 +02:00
2025-07-21 21:35:01 -07:00
2025-04-16 20:07:32 -07:00
2025-11-24 14:25:17 -08:00
2025-08-11 14:51:49 +02:00
2025-04-01 15:17:16 -07:00
2025-11-11 10:01:32 +01:00
2025-05-20 18:13:43 -07:00
2025-12-01 12:02:13 -08:00
2025-12-03 09:23:25 -08:00
2025-08-27 18:41:00 +05:30
2025-04-18 08:23:22 -05:00
2025-09-13 16:55:16 -07:00
2025-05-09 13:12:33 -06:00
2025-11-04 22:04:38 +01:00
2025-09-01 13:23:29 +05:30
2025-10-02 18:44:54 -07:00
2025-06-23 13:32:14 +01:00
2025-08-03 16:23:09 -07:00
2025-11-30 22:20:33 +01:00
2025-09-18 19:26:07 -06:00
2025-11-17 11:10:38 +01:00
2025-04-01 15:25:15 +02:00
2025-03-19 22:23:24 +01:00
2025-10-15 06:46:36 -10:00
2025-09-30 11:11:21 -07:00
2025-06-13 18:36:39 +02:00
2025-07-23 11:56:02 +02:00
2025-12-02 13:28:00 +01:00
2025-09-04 22:17:47 +02:00
2025-05-09 13:12:57 -06:00
2025-11-14 20:34:50 +01:00
2025-04-08 14:56:13 -06:00
2025-12-12 12:50:40 -07:00
2025-11-15 10:52:02 -08:00
2025-11-17 11:10:38 +01:00
2025-11-12 08:04:42 -07:00
2025-11-12 06:19:40 -08:00
2025-09-16 16:55:04 -06:00
2025-09-21 14:22:01 -07:00
2025-11-18 10:38:26 -08:00
2025-09-21 14:21:59 -07:00
2025-04-08 14:56:13 -06:00
2025-09-30 16:07:10 -07:00
2025-10-02 18:18:33 -07:00
2025-09-18 12:05:27 -06:00
2025-10-04 08:24:54 -07:00
2025-11-19 15:00:22 -07:00