smalloc: Remove Valgrind instrumentation
[fio.git] / blktrace.h
CommitLineData
a3e59412
TK
1#ifndef FIO_BLKTRACE_H
2#define FIO_BLKTRACE_H
3
4#ifdef FIO_HAVE_BLKTRACE
5
6int is_blktrace(const char *, int *);
7int load_blktrace(struct thread_data *, const char *, int);
8
9#else
10
11static inline int is_blktrace(const char *fname, int *need_swap)
12{
13 return 0;
14}
15
16static inline int load_blktrace(struct thread_data *td, const char *fname,
17 int need_swap)
18{
19 return 1;
20}
21
22#endif
23#endif