summaryrefslogtreecommitdiff
path: root/fio.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2013-11-21 09:55:49 -0700
committerJens Axboe <axboe@kernel.dk>2013-11-21 09:55:49 -0700
commitd95b34a61ec3fc305fe53c0132bfe82e2e5fcc04 (patch)
treea53ea401f3a9e10d9e764f638db4dd8f1ee65405 /fio.h
parent0cf2574b73599004958856c6e5d2e59ef5e531bf (diff)
downloadfio-d95b34a61ec3fc305fe53c0132bfe82e2e5fcc04.tar.gz
blktrace: add support for non-native endian format
The blktrace format is stored in the native endianness of the machine it is run on. So to reply traces on a machine with a different endianness, we need to swap the trace fields. Detect and do this automatically. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fio.h')
-rw-r--r--fio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fio.h b/fio.h
index 0d7fbeb9..a6dcb4ea 100644
--- a/fio.h
+++ b/fio.h
@@ -479,8 +479,8 @@ extern void reset_all_stats(struct thread_data *);
* blktrace support
*/
#ifdef FIO_HAVE_BLKTRACE
-extern int is_blktrace(const char *);
-extern int load_blktrace(struct thread_data *, const char *);
+extern int is_blktrace(const char *, int *);
+extern int load_blktrace(struct thread_data *, const char *, int);
#endif
#define for_each_td(td, i) \