From 7e847fd05fd39f9b3bd57e0b091f10189014c694 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 5 Oct 2021 06:38:41 -0600 Subject: [PATCH] t/io_uring: print submitter id with tid on startup Makes it easier to match up multiple threads with the stats. Signed-off-by: Jens Axboe --- t/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/io_uring.c b/t/io_uring.c index f27a12c7..27d0d809 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -552,7 +552,7 @@ static int submitter_init(struct submitter *s) int i, nr_batch; s->tid = gettid(); - printf("submitter=%d\n", s->tid); + printf("submitter=%d, tid=%d\n", s->index, s->tid); srand48(pthread_self()); -- 2.25.1