diff options
author | Jens Axboe <axboe@kernel.dk> | 2013-11-21 09:55:49 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-11-21 09:55:49 -0700 |
commit | d95b34a61ec3fc305fe53c0132bfe82e2e5fcc04 (patch) | |
tree | a53ea401f3a9e10d9e764f638db4dd8f1ee65405 /fio.h | |
parent | 0cf2574b73599004958856c6e5d2e59ef5e531bf (diff) | |
download | fio-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) \ |