projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a24c1
)
t/io_uring: print submitter id with tid on startup
author
Jens Axboe
<axboe@kernel.dk>
Tue, 5 Oct 2021 12:38:41 +0000
(06:38 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 5 Oct 2021 12:38:41 +0000
(06:38 -0600)
Makes it easier to match up multiple threads with the stats.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/io_uring.c
patch
|
blob
|
blame
|
history
diff --git
a/t/io_uring.c
b/t/io_uring.c
index f27a12c7bb26cefe49e224468bc0197f1913795a..27d0d809bc93d00a9a5ce5070863d0515f53ff0e 100644
(file)
--- 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());