summaryrefslogtreecommitdiff
path: root/options.h
blob: 96c81a17c8770be00fa0f01a6a94676378b6bfd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef FIO_OPTION_H
#define FIO_OPTION_H

#include "parse.h"
#include "flist.h"

#define td_var_offset(var)	((size_t) &((struct thread_options *)0)->var)

struct ext_option {
	struct flist_head list;
	const char *prof_name;
	struct fio_option o;
};

void register_ext_option(struct ext_option *);
void prune_profile_options(const char *);

#endif