projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
client/server: fixup "All clients" reporting
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 23be863141a3ff670d84780eccb52b924ab0cb66..a682423e9801be03a120b6d038f0b8fd6c762c1c 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-317,6
+317,10
@@
static struct thread_data *get_new_job(int global, struct thread_data *parent,
profile_add_hooks(td);
td->thread_number = thread_number;
+
+ if (!parent || !parent->o.group_reporting)
+ stat_number++;
+
return td;
}