[PATCH] init.c: Expose f_out and f_err to loaded libraries via dlsym()
authorJoel Becker <joel.becker@oracle.com>
Thu, 1 Mar 2007 07:24:39 +0000 (08:24 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 1 Mar 2007 07:24:39 +0000 (08:24 +0100)
commit9728ce37ea4348d4bdb2eefbaafee75ad651758c
tree9180097b0314f862181cbf39f60dba8cda2f3508
parentad231bc4f41a9756871455c69d05ea91f1adf727
[PATCH] init.c: Expose f_out and f_err to loaded libraries via dlsym()

Loaded ioengines would like to use the logging functions but can't, as
they can't see f_out and f_err.  Create get_f_{out,err}() so that
the libraries can dlsym() them.  Compile fio with -rdynamic so dlopen()
works.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Makefile
fio.h
init.c