projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
file hash: don't close file fd on lookup/add race
[fio.git]
/
profile.c
diff --git
a/profile.c
b/profile.c
index 855dde3e6d1efb2c316d28265be80754d604283b..506462eb85373d795f745b0a4e479bd9a1937f1e 100644
(file)
--- a/
profile.c
+++ b/
profile.c
@@
-93,8
+93,10
@@
void profile_add_hooks(struct thread_data *td)
if (!ops)
return;
- if (ops->io_ops)
+ if (ops->io_ops)
{
td->prof_io_ops = *ops->io_ops;
+ td->flags |= TD_F_PROFILE_OPS;
+ }
}
int profile_td_init(struct thread_data *td)