Add support for loadable profiles
Split the only existing profile, tiobench, into this setup.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/Makefile b/Makefile
index ce63cfc..ce2374b 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
OBJS = gettime.o fio.o ioengines.o init.o stat.o log.o time.o filesetup.o \
eta.o verify.o memory.o io_u.o parse.o mutex.o options.o \
rbtree.o diskutil.o fifo.o blktrace.o smalloc.o filehash.o helpers.o \
- cgroup.o
+ cgroup.o profile.o
OBJS += crc/crc7.o
OBJS += crc/crc16.o
@@ -32,6 +32,8 @@
OBJS += engines/syslet-rw.o
OBJS += engines/guasi.o
+OBJS += profiles/tiobench.o
+
ifneq ($(findstring $(MAKEFLAGS),s),s)
ifndef V
QUIET_CC = @echo ' ' CC $@;