for (ncompleted = 0, inprogress = 0,
aio = flowop->fo_thread->tf_aiolist;
ncompleted < todo, aio != NULL; aio = aio->al_next) {
int result;
result = aio_error64(&aio->al_aiocb);
#include <math.h>
#include <libgen.h>
#include <sys/mman.h>
#include "fileset.h"
#include "filebench.h"
#include "gamma_dist.h"
/*
/* we are re-using */
reusing = 1;
filebench_log(LOG_VERBOSE,
"Re-using %s %s on %s file system.",
"Re-using %s %s.",
fileset_entity_name(fileset),
fileset_name, sb.st_fstype);
fileset_name);
}
(void) mkdir(path, 0755);
#include <stdio.h>
#include <string.h>
#include <sys/errno.h>
#ifndef HAVE_BOOLEAN_T
typedef enum { B_FALSE, B_TRUE } boolean_t;
#endif
#ifndef HAVE_U_LONGLONG_T
typedef unsigned long long u_longlong_t;
#include "vars.h"
#include "misc.h"
*/
#include <sys/time.h>
#include "eventgen.h"
#include "flowop.h"
#include "ipc.h"
#include <sys/stat.h>
#include <sys/wait.h>
#include "procflow.h"
#else
if (execl(execname, procname, "-a", procname, "-i",
if (execlp(execname, procname, "-a", procname, "-i",
instance, "-s", shmaddr, "-m", shmpath, NULL) < 0) {
filebench_log(LOG_ERROR,
"procflow exec proc failed: %s",
#include <sys/lwp.h>
#include <signal.h>
#include "threadflow.h"
#ifdef HAVE_STDINT_H
#include <stdint.h>
#include "utils.h"
#include "parsertypes.h"
#include <errno.h>
#include "stats.h"
#include "fb_random.h"
static var_t *var_find_dynamic(char *name);
#ifdef HAVE_LIBTECLA
#include <libtecla.h>
} else {
filebench_log(LOG_INFO,
"load <personality> (ls "
"/usr/benchmarks/filebench/workloads for list)");
FILEBENCHDIR "/workloads for list)");
#include "parser_gram.h"
#
bin_PROGRAMS = go_filebench
filebench_SOURCES = gamma_dist.c misc.c procflow.c threadflow.c \
go_filebench_SOURCES = gamma_dist.c misc.c procflow.c threadflow.c \
utils.c flowop.c flowop_library.c ipc.c \
vars.c stats.c eventgen.c fileset.c fb_random.c \
parser_gram.y parser_lex.l
filebenchdir = $(datadir)/filebench
INCLUDES = -I../intl -DFILEBENCHDIR=\"$(datadir)/filebench\"
INCLUDES = -I../intl -DFILEBENCHDIR=\"$(prefix)/filebench\"
MV=@MV@
LEX=@LEX@
YACC=@YACC@
LFLAGS = @LFLAGS@
AM_LFLAGS = @LFLAGS@
YFLAGS = @YFLAGS@
AM_YFLAGS = @YFLAGS@
DEFS = -D_REENTRANT @DEFINES@
LIBS = @LDLIBS@
BUILD = @BUILD@
parser_lex.c: parser_lex.l parser_gram.h Makefile
YFLAGS="-d"
AC_DEFINE(HAVE_OFF64_T, 1,
[ Define if we can use 64 bit files ])
FILEBENCHDIR=${prefix}/filebench
FILEBENCHDIR=${datadir}/filebench
FILEBENCHBIN=${prefix}/bin
FILEBENCHBIN=${bindir}
;;
esac
AC_SUBST(FILEBENCHDIR)
AC_SUBST(FILEBENCHBIN)
AC_CONFIG_FILES([Makefile filebench/Makefile fastsu/Makefile workloads/Makefile workloads/build/Makefile scripts/Makefile benchpoint/Makefile benchpoint/bin/Makefile benchpoint/config/Makefile benchpoint/functions/Makefile benchpoint/profiles/Makefile])
AC_CONFIG_FILES([Makefile filebench/Makefile fastsu/Makefile workloads/Makefile workloads/build/Makefile scripts/Makefile benchpoint/Makefile benchpoint/bin/Makefile benchpoint/config/Makefile benchpoint/functions/Makefile benchpoint/profiles/Makefile bin/Makefile])
AC_OUTPUT
#include <unistd.h>
#include <stdlib.h>
#include <strings.h>
void
int
main(int argc, char *argv[], char *envp[])
{
char *shell;
char cmd[2048];
*cmd = NULL;
*cmd = '\0';
shell=getenv("SHELL");
*(argv++);
argv++;
argc--;
while(argc-- != 0) {
(void) strcat(cmd,*argv);
(void) strcat(cmd," ");
execlp(shell, shell, "-c", cmd, (char *) 0);
/* control should not reach here */
return -1;
# See the file LICENSING in this distribution for details.
filebenchdir = $(prefix)/filebench
configdir = ${FILEBENCHDIR}/config
configdir = $(filebenchdir)/config
config_DATA = *.conf
config_DATA = *.prof
bin_SCRIPTS = filebench
scriptsdir = $(filebenchdir)/bin
scripts_SCRIPTS = filebench
config_SCRIPTS = *.func
scriptsdir = ${FILEBENCHDIR}/scripts
scriptsdir = $(filebenchdir)/scripts
scripts_SCRIPTS = filebench_compare filebench_summary filebench_plot fs_flush
SUBDIRS = build
pkg: filebench
workloadsdir = ${FILEBENCHDIR}/workloads
workloadsdir = $(filebenchdir)/workloads
workloads_DATA = BUILD \
bringover.f \