summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7abf833)
We don't need it anymore, since we link in known io engines and unknown
ones have to be given with a full path.
Also fixup Makefiles for Solaris and FreeBSD, they were a bit outdated.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
bindir = $(prefix)/bin
libdir = $(prefix)/lib/fio
bindir = $(prefix)/bin
libdir = $(prefix)/lib/fio
-FIO_INST_DIR = $(subst ','\'',$(prefix))
-
-CFLAGS += '-D_INST_PREFIX="$(FIO_INST_DIR)"'
-
all: depend $(PROGS) $(SCRIPTS)
fio: $(OBJS)
all: depend $(PROGS) $(SCRIPTS)
fio: $(OBJS)
PROGS = fio
SCRIPTS = fio_generate_plots
PROGS = fio
SCRIPTS = fio_generate_plots
-OBJS = fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o
+OBJS = fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o \
+ filesetup.o eta.o verify.o memory.o io_u.o parse.o
+
+OBJS += engines/fio-engine-cpu.o
+OBJS += engines/fio-engine-mmap.o
+OBJS += engines/fio-engine-posixaio.o
+OBJS += engines/fio-engine-sync.o
all: depend $(PROGS) $(SCRIPTS)
all: depend $(PROGS) $(SCRIPTS)
-fio: fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o
$(CC) $(CFLAGS) -o $@ $(OBJS) -lpthread -lm
clean:
$(CC) $(CFLAGS) -o $@ $(OBJS) -lpthread -lm
clean:
PROGS = fio
SCRIPTS = fio_generate_plots
PROGS = fio
SCRIPTS = fio_generate_plots
-OBJS = fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o
+OBJS = fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o \
+ filesetup.o eta.o verify.o memory.o io_u.o parse.o
+
+OBJS += engines/fio-engine-cpu.o
+OBJS += engines/fio-engine-mmap.o
+OBJS += engines/fio-engine-posixaio.o
+OBJS += engines/fio-engine-sync.o
all: depend $(PROGS) $(SCRIPTS)
all: depend $(PROGS) $(SCRIPTS)
-fio: fio.o ioengines.o init.o stat.o log.o time.o md5.o crc32.o
$(CC) $(CFLAGS) -o $@ $(OBJS) -lc -lpthread -lm -laio -lrt
clean:
$(CC) $(CFLAGS) -o $@ $(OBJS) -lc -lpthread -lm -laio -lrt
clean:
int thread_number = 0;
int shm_id = 0;
int temp_stall_ts;
int thread_number = 0;
int shm_id = 0;
int temp_stall_ts;
-const char *fio_inst_prefix = _INST_PREFIX;
static volatile int startup_sem;
static volatile int startup_sem;
extern int terse_output;
extern FILE *f_out;
extern FILE *f_err;
extern int terse_output;
extern FILE *f_out;
extern FILE *f_err;
-extern const char *fio_inst_prefix;
extern int temp_stall_ts;
extern struct thread_data *threads;
extern int temp_stall_ts;
extern struct thread_data *threads;