From: Jens Axboe Date: Thu, 20 Sep 2018 19:14:11 +0000 (-0600) Subject: blktrace: provide empty merge_blktrace_iologs() X-Git-Tag: fio-3.11~29 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=bd6afe89a9874aeb788a228f7e63995b191b2eaa blktrace: provide empty merge_blktrace_iologs() For platforms that don't suppor blktrace, we need an empty helper that just fails it. Fixes: b9921d1a56d9 ("blktrace: add support to interleave blktrace files") Signed-off-by: Jens Axboe --- diff --git a/blktrace.h b/blktrace.h index 72d74cf8..a0e82faa 100644 --- a/blktrace.h +++ b/blktrace.h @@ -36,5 +36,10 @@ static inline bool load_blktrace(struct thread_data *td, const char *fname, return false; } +static inline int merge_blktrace_iologs(struct thread_data *td) +{ + return false; +} + #endif #endif