Skip to content

Commit 0bc4c4b

Browse files
committed
Debug
1 parent faebd7e commit 0bc4c4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/um/um.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ static inline void um_process_cqe(struct um *machine, struct io_uring_cqe *cqe)
9191
struct um_op *op = (struct um_op *)cqe->user_data;
9292
if (unlikely(!op)) return;
9393

94-
// printf(
95-
// ": process_cqe op %p kind %d state %d flags %d cqe_res %d cqe_flags %d\n",
96-
// op, op->kind, op->state, op->flags, cqe->res, cqe->flags
97-
// );
94+
printf(
95+
": process_cqe op %p kind %d state %d flags %d cqe_res %d cqe_flags %d\n",
96+
op, op->kind, op->state, op->flags, cqe->res, cqe->flags
97+
);
9898
if (unlikely(op->flags & OP_F_DISCARD)) {
9999
// multishot ops might have multiple CQEs already queued, so we transition
100100
// to idle only on the last one. Otherwise, we just ignore the CQE.

0 commit comments

Comments
 (0)