X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=fio.c;h=dfda268712919a37c5f8aabf30b852bfbf3589ca;hp=778749d6a3322411a7affc06f945ee2c3a4a2aff;hb=008618a8df7268a4f17ceef73f796af25252b2b9;hpb=4ceb30d4b44957e252a75f7ee4170f36109934c3 diff --git a/fio.c b/fio.c index 778749d6..dfda2687 100644 --- a/fio.c +++ b/fio.c @@ -40,6 +40,7 @@ #include "verify.h" #include "diskutil.h" #include "cgroup.h" +#include "profile.h" unsigned long page_mask; unsigned long page_size; @@ -432,6 +433,8 @@ static void do_verify(struct thread_data *td) int ret, min_events; unsigned int i; + dprint(FD_VERIFY, "starting loop\n"); + /* * sync io first and invalidate cache, to make sure we really * read from disk. @@ -569,6 +572,8 @@ sync_done: cleanup_pending_aio(td); td_set_runstate(td, TD_RUNNING); + + dprint(FD_VERIFY, "exiting loop\n"); } /* @@ -1653,6 +1658,9 @@ int main(int argc, char *argv[]) if (parse_options(argc, argv)) return 1; + if (exec_profile && load_profile(exec_profile)) + return 1; + if (!thread_number) return 0;