hrev51161 adds 1 changeset to branch 'master'
old head: 7f06022487ccb6fb5a748da86650772eca6ce801
new head: c72855f6c053905c35146f05f649422314119809
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=c72855f6c053+%5E7f06022487cc
----------------------------------------------------------------------------
c72855f6c053: libMicro: Remove from tree.
Upstream libMicro builds and runs on Haiku with minimal changes now
(no recipe as it does not have an INSTALL mechanism). I submitted
a pull request with those to upstream, but for now you can get them
from https://github.com/waddlesplash/libMicro.
[ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev51161
Commit: c72855f6c053905c35146f05f649422314119809
URL: http://cgit.haiku-os.org/haiku/commit/?id=c72855f6c053
Author: Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date: Fri May 12 21:05:38 2017 UTC
----------------------------------------------------------------------------
113 files changed, 15861 deletions(-)
src/tests/system/benchmarks/Jamfile | 2 -
.../libMicro/.OptionalPackageDescription | 3 -
src/tests/system/benchmarks/libMicro/Jamfile | 358 ----
src/tests/system/benchmarks/libMicro/Makefile | 95 --
.../system/benchmarks/libMicro/Makefile.Aix | 41 -
.../system/benchmarks/libMicro/Makefile.Linux | 43 -
.../system/benchmarks/libMicro/Makefile.SunOS | 61 -
.../benchmarks/libMicro/Makefile.benchmarks | 112 --
.../system/benchmarks/libMicro/Makefile.com | 127 --
.../benchmarks/libMicro/OPENSOLARIS.LICENSE | 385 -----
src/tests/system/benchmarks/libMicro/README | 85 -
src/tests/system/benchmarks/libMicro/atomic.c | 74 -
src/tests/system/benchmarks/libMicro/bench | 484 ------
.../system/benchmarks/libMicro/benchmark_fini.c | 46 -
.../benchmarks/libMicro/benchmark_finibatch.c | 46 -
.../benchmarks/libMicro/benchmark_finirun.c | 45 -
.../benchmarks/libMicro/benchmark_finiworker.c | 46 -
.../system/benchmarks/libMicro/benchmark_init.c | 46 -
.../benchmarks/libMicro/benchmark_initbatch.c | 47 -
.../benchmarks/libMicro/benchmark_initrun.c | 45 -
.../benchmarks/libMicro/benchmark_initworker.c | 46 -
.../benchmarks/libMicro/benchmark_optswitch.c | 46 -
.../benchmarks/libMicro/benchmark_result.c | 47 -
src/tests/system/benchmarks/libMicro/bind.c | 163 --
.../system/benchmarks/libMicro/cachetocache.c | 222 ---
.../system/benchmarks/libMicro/cascade_cond.c | 278 ----
.../system/benchmarks/libMicro/cascade_fcntl.c | 232 ---
.../system/benchmarks/libMicro/cascade_flock.c | 229 ---
.../system/benchmarks/libMicro/cascade_lockf.c | 223 ---
.../system/benchmarks/libMicro/cascade_mutex.c | 227 ---
src/tests/system/benchmarks/libMicro/chdir.c | 132 --
src/tests/system/benchmarks/libMicro/close.c | 141 --
src/tests/system/benchmarks/libMicro/close_tcp.c | 241 ---
.../system/benchmarks/libMicro/config_libmicro.h | 12 -
.../system/benchmarks/libMicro/connection.c | 305 ----
src/tests/system/benchmarks/libMicro/dup.c | 139 --
src/tests/system/benchmarks/libMicro/elided.c | 59 -
src/tests/system/benchmarks/libMicro/exec.c | 101 --
src/tests/system/benchmarks/libMicro/exec_bin.c | 65 -
src/tests/system/benchmarks/libMicro/exit.c | 160 --
src/tests/system/benchmarks/libMicro/exp.c | 73 -
src/tests/system/benchmarks/libMicro/fcntl.c | 99 --
.../system/benchmarks/libMicro/fcntl_ndelay.c | 100 --
src/tests/system/benchmarks/libMicro/file_lock.c | 106 --
src/tests/system/benchmarks/libMicro/fork.c | 131 --
.../system/benchmarks/libMicro/getcontext.c | 74 -
src/tests/system/benchmarks/libMicro/getenv.c | 126 --
.../system/benchmarks/libMicro/getpeername.c | 163 --
src/tests/system/benchmarks/libMicro/getpid.c | 64 -
src/tests/system/benchmarks/libMicro/getrusage.c | 73 -
.../system/benchmarks/libMicro/getsockname.c | 125 --
.../system/benchmarks/libMicro/gettimeofday.c | 72 -
src/tests/system/benchmarks/libMicro/isatty.c | 110 --
src/tests/system/benchmarks/libMicro/libmicro.c | 1544 ------------------
src/tests/system/benchmarks/libMicro/libmicro.h | 196 ---
.../system/benchmarks/libMicro/libmicro_main.c | 44 -
src/tests/system/benchmarks/libMicro/listen.c | 127 --
.../system/benchmarks/libMicro/localtime_r.c | 75 -
src/tests/system/benchmarks/libMicro/log.c | 73 -
src/tests/system/benchmarks/libMicro/longjmp.c | 65 -
src/tests/system/benchmarks/libMicro/lrand48.c | 71 -
src/tests/system/benchmarks/libMicro/lseek.c | 130 --
src/tests/system/benchmarks/libMicro/malloc.c | 138 --
src/tests/system/benchmarks/libMicro/memcpy.c | 160 --
src/tests/system/benchmarks/libMicro/memmove.c | 160 --
src/tests/system/benchmarks/libMicro/memrand.c | 146 --
src/tests/system/benchmarks/libMicro/memset.c | 169 --
src/tests/system/benchmarks/libMicro/mk_tarball | 28 -
src/tests/system/benchmarks/libMicro/mktime.c | 112 --
src/tests/system/benchmarks/libMicro/mmap.c | 198 ---
src/tests/system/benchmarks/libMicro/mprotect.c | 200 ---
src/tests/system/benchmarks/libMicro/msync.c | 190 ---
src/tests/system/benchmarks/libMicro/multiview | 201 ---
.../system/benchmarks/libMicro/multiview.sh | 201 ---
src/tests/system/benchmarks/libMicro/munmap.c | 192 ---
src/tests/system/benchmarks/libMicro/mutex.c | 194 ---
src/tests/system/benchmarks/libMicro/nop.c | 63 -
src/tests/system/benchmarks/libMicro/open.c | 138 --
src/tests/system/benchmarks/libMicro/pipe.c | 566 -------
src/tests/system/benchmarks/libMicro/poll.c | 218 ---
src/tests/system/benchmarks/libMicro/pread.c | 142 --
.../system/benchmarks/libMicro/pthread_create.c | 160 --
src/tests/system/benchmarks/libMicro/pwrite.c | 154 --
src/tests/system/benchmarks/libMicro/read.c | 143 --
src/tests/system/benchmarks/libMicro/realpath.c | 85 -
src/tests/system/benchmarks/libMicro/recurse.c | 98 --
src/tests/system/benchmarks/libMicro/recurse2.c | 46 -
src/tests/system/benchmarks/libMicro/select.c | 214 ---
src/tests/system/benchmarks/libMicro/semop.c | 103 --
.../system/benchmarks/libMicro/setcontext.c | 67 -
.../system/benchmarks/libMicro/setsockopt.c | 99 --
src/tests/system/benchmarks/libMicro/sigaction.c | 95 --
.../system/benchmarks/libMicro/siglongjmp.c | 69 -
src/tests/system/benchmarks/libMicro/signal.c | 100 --
.../system/benchmarks/libMicro/sigprocmask.c | 84 -
src/tests/system/benchmarks/libMicro/socket.c | 157 --
.../system/benchmarks/libMicro/socketpair.c | 118 --
src/tests/system/benchmarks/libMicro/stat.c | 88 -
.../system/benchmarks/libMicro/strcasecmp.c | 150 --
[ *** stats truncated: 14 lines dropped *** ]
----------------------------------------------------------------------------
diff --git a/src/tests/system/benchmarks/Jamfile
b/src/tests/system/benchmarks/Jamfile
index c1f90b6..51d5f04 100644
--- a/src/tests/system/benchmarks/Jamfile
+++ b/src/tests/system/benchmarks/Jamfile
@@ -19,5 +19,3 @@ SimpleTest execbenchTest :
SimpleTest forkbenchTest :
forkbench.c
;
-
-SubInclude HAIKU_TOP src tests system benchmarks libMicro ;
\ No newline at end of file
diff --git a/src/tests/system/benchmarks/libMicro/.OptionalPackageDescription
b/src/tests/system/benchmarks/libMicro/.OptionalPackageDescription
deleted file mode 100644
index f8d6f5d..0000000
--- a/src/tests/system/benchmarks/libMicro/.OptionalPackageDescription
+++ /dev/null
@@ -1,3 +0,0 @@
-Package: libMicro
-Copyright: 2007 Sun Microsystems, Inc. All rights reserved.
-License: OpenSolaris
diff --git a/src/tests/system/benchmarks/libMicro/Jamfile
b/src/tests/system/benchmarks/libMicro/Jamfile
deleted file mode 100644
index 7c247b6..0000000
--- a/src/tests/system/benchmarks/libMicro/Jamfile
+++ /dev/null
@@ -1,358 +0,0 @@
-SubDir HAIKU_TOP src tests system benchmarks libMicro ;
-
-SEARCH_SOURCE = [ FDirName $(SUBDIR) ] ;
-
-# filter warnings we don't want here
-TARGET_WARNING_CCFLAGS_$(TARGET_PACKAGING_ARCH)
- = [ FFilter $(TARGET_WARNING_CCFLAGS_$(TARGET_PACKAGING_ARCH))
- : -Wall -Wmissing-prototypes -Wsign-compare ] ;
-
-UseHeaders [ FDirName $(SUBDIR) $(SUBDIR) $(SUBDIR) $(SUBDIR) $(SUBDIR)
headers posix ] : true ;
-UseHeaders [ FDirName $(SUBDIR) ] : true ;
-
-SubDirHdrs $(HAIKU_TOP) src tests system benchmarks libMicro ;
-SubDirCcFlags -nostdinc ;
-SubDirCcFlags -D_REENTRANT ;
-
-SubDirCcFlags -include $(SUBDIR)/config_libmicro.h ;
-
-StaticLibrary libmicro.a :
- libmicro.c
- libmicro_main.c
- benchmark_init.c
- benchmark_fini.c
- benchmark_initrun.c
- benchmark_finirun.c
- benchmark_initbatch.c
- benchmark_finibatch.c
- benchmark_initworker.c
- benchmark_finiworker.c
- benchmark_optswitch.c
- benchmark_result.c
-;
-
-StaticLibrary libelided.a :
- elided.c ;
-
-BinCommand <libmicro>bind :
- bind.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-BinCommand atomic :
- : libelided.a ;
-
-BinCommand cachetocache :
- : libelided.a ;
-
-BinCommand cascade_mutex :
- cascade_mutex.c
- : libmicro.a ;
-
-BinCommand cascade_cond :
- cascade_cond.c
- : libmicro.a ;
-
-BinCommand cascade_lockf :
- cascade_lockf.c
- : libmicro.a ;
-
-BinCommand cascade_fcntl :
- cascade_fcntl.c
- : libmicro.a ;
-
-BinCommand cascade_flock :
- cascade_flock.c
- : libmicro.a ;
-
-BinCommand chdir :
- chdir.c
- : libmicro.a ;
-
-BinCommand close :
- close.c
- : libmicro.a ;
-
-BinCommand close_tcp :
- close_tcp.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-BinCommand connection :
- connection.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-BinCommand dup :
- dup.c
- : libmicro.a ;
-
-BinCommand exec_bin :
- exec_bin.c
- : libmicro.a ;
-
-BinCommand exec :
- exec.c
- : libmicro.a ;
-
-BinCommand exit :
- exit.c
- : libmicro.a ;
-
-BinCommand exp :
- exp.c
- : libmicro.a ;
-
-BinCommand fcntl :
- fcntl.c
- : libmicro.a ;
-
-BinCommand fcntl_ndelay :
- fcntl_ndelay.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-BinCommand file_lock :
- file_lock.c
- : libmicro.a ;
-
-BinCommand fork :
- fork.c
- : libmicro.a ;
-
-# atm unsupported
-BinCommand getcontext :
- : libelided.a ;
-
-BinCommand getenv :
- getenv.c
- : libmicro.a ;
-
-BinCommand gettimeofday :
- gettimeofday.c
- : libmicro.a ;
-
-BinCommand <libmicro>getpeername :
- getpeername.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-BinCommand getpid :
- getpid.c
- : libmicro.a ;
-
-BinCommand getrusage :
- getrusage.c
- : libmicro.a ;
-
-BinCommand getsockname :
- getsockname.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-BinCommand isatty :
- isatty.c
- : libmicro.a ;
-
-BinCommand listen :
- listen.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-BinCommand localtime_r :
- localtime_r.c
- : libmicro.a ;
-
-BinCommand <libmicro>log :
- log.c
- : libmicro.a ;
-
-BinCommand longjmp :
- longjmp.c
- : libmicro.a ;
-
-BinCommand lrand48 :
- lrand48.c
- : libmicro.a ;
-
-BinCommand lseek :
- lseek.c
- : libmicro.a ;
-
-BinCommand malloc :
- malloc.c
- : libmicro.a ;
-
-BinCommand memcpy :
- memcpy.c
- : libmicro.a ;
-
-BinCommand memmove :
- memmove.c
- : libmicro.a ;
-
-BinCommand memrand :
- memrand.c
- : libmicro.a ;
-
-BinCommand memset :
- memset.c
- : libmicro.a ;
-
-BinCommand mktime :
- mktime.c
- : libmicro.a ;
-
-# atm unsupported
-BinCommand mprotect :
- : libelided.a ;
-
-BinCommand mmap :
- mmap.c
- : libmicro.a ;
-
-# atm unsupported
-BinCommand msync :
- : libelided.a ;
-
-BinCommand munmap :
- munmap.c
- : libmicro.a ;
-
-BinCommand mutex :
- mutex.c
- : libmicro.a ;
-
-BinCommand nop :
- nop.c
- : libmicro.a ;
-
-BinCommand <libmicro>open :
- open.c
- : libmicro.a ;
-
-BinCommand pipe :
- pipe.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-BinCommand poll :
- poll.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-BinCommand pread :
- pread.c
- : libmicro.a ;
-
-BinCommand pthread_create :
- pthread_create.c
- : libmicro.a ;
-
-BinCommand pwrite :
- pwrite.c
- : libmicro.a ;
-
-BinCommand read :
- read.c
- : libmicro.a ;
-
-BinCommand realpath :
- realpath.c
- : libmicro.a ;
-
-BinCommand recurse :
- recurse.c
- recurse2.c
- : libmicro.a ;
-
-BinCommand select :
- select.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-# atm unsupported
-BinCommand semop :
- : libelided.a ;
-
-# atm unsupported
-BinCommand setcontext :
- : libelided.a ;
-
-BinCommand setsockopt :
- setsockopt.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-BinCommand sigaction :
- sigaction.c
- : libmicro.a ;
-
-BinCommand siglongjmp :
- siglongjmp.c
- : libmicro.a ;
-
-BinCommand signal :
- signal.c
- : libmicro.a ;
-
-BinCommand sigprocmask :
- sigprocmask.c
- : libmicro.a ;
-
-
-BinCommand <libmicro>socket :
- socket.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-search on socket.c = [ FDirName $(SUBDIR) ] ;
-
-
-BinCommand socketpair :
- socketpair.c
- : libmicro.a $(TARGET_NETWORK_LIBS) ;
-
-BinCommand <libmicro>stat :
- stat.c
- : libmicro.a ;
-
-BinCommand strcasecmp :
- strcasecmp.c
- : libmicro.a ;
-
-BinCommand strchr :
- strchr.c
- : libmicro.a ;
-
-BinCommand strcmp :
- strcmp.c
- : libmicro.a ;
-
-BinCommand strcpy :
- strcpy.c
- : libmicro.a ;
-
-BinCommand strftime :
- strftime.c
- : libmicro.a ;
-
-BinCommand strlen :
- strlen.c
- : libmicro.a ;
-
-BinCommand strtol :
- strtol.c
- : libmicro.a ;
-
-BinCommand system :
- system.c
- : libmicro.a ;
-
-BinCommand time :
- time.c
- : libmicro.a ;
-
-BinCommand times :
- times.c
- : libmicro.a ;
-
-BinCommand write :
- write.c
- : libmicro.a ;
-
-BinCommand writev :
- writev.c
- : libmicro.a ;
-
-BinCommand tattle :
- tattle.c
- : libmicro.a ;
diff --git a/src/tests/system/benchmarks/libMicro/Makefile
b/src/tests/system/benchmarks/libMicro/Makefile
deleted file mode 100644
index aee11a5..0000000
--- a/src/tests/system/benchmarks/libMicro/Makefile
+++ /dev/null
@@ -1,95 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms
-# of the Common Development and Distribution License
-# (the "License"). You may not use this file except
-# in compliance with the License.
-#
-# You can obtain a copy of the license at
-# src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing
-# permissions and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL
-# HEADER in each file and include the License file at
-# usr/src/OPENSOLARIS.LICENSE. If applicable,
-# add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your
-# own identifying information: Portions Copyright [yyyy]
-# [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-
-include Makefile.benchmarks
-
-BINS= $(ALL:%=bin/%) bin/tattle
-
-TARBALL_CONTENTS = \
- Makefile.benchmarks \
- Makefile.SunOS \
- Makefile.Linux \
- Makefile.Aix \
- Makefile.com \
- Makefile \
- $(ALL:%=%.c) \
- elided.c \
- exec_bin.c \
- libmicro.c \
- libmicro_main.c \
- libmicro.h \
- recurse2.c \
- benchmark_finibatch.c \
- benchmark_initbatch.c \
- benchmark_optswitch.c \
- benchmark_fini.c \
- benchmark_init.c \
- benchmark_result.c \
- benchmark_finirun.c \
- benchmark_initrun.c \
- benchmark_initworker.c \
- benchmark_finiworker.c \
- bench \
- bench.sh \
- mk_tarball \
- multiview \
- multiview.sh \
- OPENSOLARIS.LICENSE \
- tattle.c \
- wrapper \
- wrapper.sh \
- README
-
-default $(ALL) run cstyle lint tattle: $(BINS)
- @cp bench.sh bench
- @cp multiview.sh multiview
- @cp wrapper.sh wrapper
- @chmod +x bench multiview wrapper
- @mkdir -p bin-`uname -m`; cd bin-`uname -m`; MACH=`uname -m` $(MAKE) -f
../Makefile.`uname -s` UNAME_RELEASE=`uname -r | sed 's/\./_/g'` $@
-
-clean:
- rm -rf bin bin-* wrapper multiview bench
-
-bin:
- @mkdir -p bin
-
-$(BINS): bin
- @cp wrapper.sh wrapper
- @chmod +x wrapper
- @ln -sf ../wrapper $@
-
-
-libMicro.tar: FORCE
- @chmod +x ./mk_tarball wrapper
- @./mk_tarball $(TARBALL_CONTENTS)
-
-FORCE:
-
diff --git a/src/tests/system/benchmarks/libMicro/Makefile.Aix
b/src/tests/system/benchmarks/libMicro/Makefile.Aix
deleted file mode 100644
index 9e4dc42..0000000
--- a/src/tests/system/benchmarks/libMicro/Makefile.Aix
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms
-# of the Common Development and Distribution License
-# (the "License"). You may not use this file except
-# in compliance with the License.
-#
-# You can obtain a copy of the license at
-# src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing
-# permissions and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL
-# HEADER in each file and include the License file at
-# usr/src/OPENSOLARIS.LICENSE. If applicable,
-# add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your
-# own identifying information: Portions Copyright [yyyy]
-# [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-
-CFLAGS= -O3
-
-CPPFLAGS = -D_REENTRANT
-
-include ../Makefile.com
-
-NSLLIB= -lnsl
-SOCKLIB=
-
-.KEEP_STATE:
diff --git a/src/tests/system/benchmarks/libMicro/Makefile.Linux
b/src/tests/system/benchmarks/libMicro/Makefile.Linux
deleted file mode 100644
index ca12d15..0000000
--- a/src/tests/system/benchmarks/libMicro/Makefile.Linux
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms
-# of the Common Development and Distribution License
-# (the "License"). You may not use this file except
-# in compliance with the License.
-#
-# You can obtain a copy of the license at
-# src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing
-# permissions and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL
-# HEADER in each file and include the License file at
-# usr/src/OPENSOLARIS.LICENSE. If applicable,
-# add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your
-# own identifying information: Portions Copyright [yyyy]
-# [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-
-CC= gcc
-
-#CFLAGS= -O -DUSE_SEMOP
-CPPFLAGS= -DUSE_SEMOP -D_REENTRANT
-MATHLIB= -lm
-
-ELIDED_BENCHMARKS= \
- cachetocache \
- atomic
-
-
-include ../Makefile.com
diff --git a/src/tests/system/benchmarks/libMicro/Makefile.SunOS
b/src/tests/system/benchmarks/libMicro/Makefile.SunOS
deleted file mode 100644
index 4fc7269..0000000
--- a/src/tests/system/benchmarks/libMicro/Makefile.SunOS
+++ /dev/null
@@ -1,61 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms
-# of the Common Development and Distribution License
-# (the "License"). You may not use this file except
-# in compliance with the License.
-#
-# You can obtain a copy of the license at
-# src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing
-# permissions and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL
-# HEADER in each file and include the License file at
-# usr/src/OPENSOLARIS.LICENSE. If applicable,
-# add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your
-# own identifying information: Portions Copyright [yyyy]
-# [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-
-CPPFLAGS= -DUSE_GETHRTIME -D_REENTRANT
-
-CFLAGS = -O $(extra_CFLAGS)
-
-#
-# These defines allow libmicro to be compiled against older Solaris
-# releases by turning off the tests which don't work there.
-#
-# This is a little contorted-- UNAME_RELEASE is set as an environment
-# variable for us by the invoking make process (see Makefile)-- it is
-# the output of uname -r | sed 's/\./_/g'.
-#
-# We couldn't find any other gmake/unix make portable way to make this
-# work.
-#
-ELIDED_BENCHMARKS_5_8=atomic cachetocache
-ELIDED_BENCHMARKS_5_9=atomic
-
-ELIDED_BENCHMARKS_CMN=cascade_flock
-
-ELIDED_BENCHMARKS=$(ELIDED_BENCHMARKS_CMN)
$(ELIDED_BENCHMARKS_$(UNAME_RELEASE))
-
-include ../Makefile.com
-
-NSLLIB= -lnsl
-SOCKLIB= -lsocket
-UCBLIB= -lc -L/usr/ucblib -lucb -R/usr/ucblib
-MATHLIB= -lm
-
-.KEEP_STATE:
diff --git a/src/tests/system/benchmarks/libMicro/Makefile.benchmarks
b/src/tests/system/benchmarks/libMicro/Makefile.benchmarks
deleted file mode 100644
index ed1923a..0000000
--- a/src/tests/system/benchmarks/libMicro/Makefile.benchmarks
+++ /dev/null
@@ -1,112 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms
-# of the Common Development and Distribution License
-# (the "License"). You may not use this file except
-# in compliance with the License.
-#
-# You can obtain a copy of the license at
-# src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing
-# permissions and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL
-# HEADER in each file and include the License file at
-# usr/src/OPENSOLARIS.LICENSE. If applicable,
-# add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your
-# own identifying information: Portions Copyright [yyyy]
-# [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-
-ALL= \
- atomic \
- bind \
- cachetocache \
- cascade_mutex \
- cascade_cond \
- cascade_lockf \
- cascade_fcntl \
- cascade_flock \
- chdir \
- close \
- close_tcp \
- connection \
- dup \
- exec \
- exit \
- exp \
- fcntl \
- fcntl_ndelay \
- file_lock \
- fork \
- getcontext \
- getenv \
- gettimeofday \
- getpeername \
- getpid \
- getrusage \
- getsockname \
- isatty \
- listen \
- localtime_r \
- log \
- longjmp \
- lrand48 \
- lseek \
- malloc \
- memcpy \
- memmove \
- memrand \
- memset \
- mktime \
- mprotect \
- mmap \
- msync \
- munmap \
- mutex \
- nop \
- open \
- pipe \
- poll \
- pread \
- pthread_create \
- pwrite \
- read \
- realpath \
- recurse \
- select \
- semop \
- setcontext \
- setsockopt \
- sigaction \
- siglongjmp \
- signal \
- sigprocmask \
- socket \
- socketpair \
- stat \
- strcasecmp \
- strchr \
- strcmp \
- strcpy \
- strftime \
- strlen \
- strtol \
- system \
- time \
- times \
- write \
- writev
-
-
diff --git a/src/tests/system/benchmarks/libMicro/Makefile.com
b/src/tests/system/benchmarks/libMicro/Makefile.com
deleted file mode 100644
index 61f2684..0000000
--- a/src/tests/system/benchmarks/libMicro/Makefile.com
+++ /dev/null
@@ -1,127 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms
-# of the Common Development and Distribution License
-# (the "License"). You may not use this file except
-# in compliance with the License.
-#
-# You can obtain a copy of the license at
-# src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing
-# permissions and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL
-# HEADER in each file and include the License file at
-# usr/src/OPENSOLARIS.LICENSE. If applicable,
-# add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your
-# own identifying information: Portions Copyright [yyyy]
-# [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-include ../Makefile.benchmarks
-
-EXTRA_CFILES= \
- exec_bin.c \
- elided.c \
- tattle.c
-
-#
-# some definitions to make getting compiler versions possible - avoid quotes
-#
-COMPILER_VERSION_CMD_cc=cc -V 2>&1 | egrep Sun
-COMPILER_VERSION_CMD_gcc=gcc -dumpversion
-COMPILER_VERSION_CMD=$(COMPILER_VERSION_CMD_$(CC))
-
-default: $(ALL) tattle
-
-cstyle:
- for file in $(ALL:%=../%.c) $(EXTRA_CFILES:%=../%) ; \
- do cstyle -p $$file ;\
- done
-
-
-lint: libmicro.ln $(ALL:%=%.lint) $(EXTRA_CFILES:%.c=%.lint)
-
-
-$(EXTRA_CFILES:%.c=%.lint):
- $(LINT) ../$(@:%.lint=%.c) -I. -mu -lc libmicro.ln -lm
-
-%.lint: ../%.c libmicro.ln
- $(LINT) -mu $(CPPFLAGS) $< libmicro.ln -lpthread -lsocket -lnsl -lm
-
-%.o: ../%.c
- $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
-
-libmicro.ln: ../libmicro.c ../libmicro_main.c ../libmicro.h ../benchmark_*.c
- $(LINT) -muc $(CPPFLAGS) ../libmicro.c ../libmicro_main.c
../benchmark_*.c
-
-CPPFLAGS+= -D_REENTRANT
-
-bind_EXTRA_LIBS=$(NSLLIB) $(SOCKLIB)
-cascade_flock_EXTRA_LIBS=$(UCBLIB)
-close_tcp_EXTRA_LIBS=$(NSLLIB) $(SOCKLIB)
-connection_EXTRA_LIBS=$(NSLLIB) $(SOCKLIB)
-fcntl_ndelay_EXTRA_LIBS=$(SOCKLIB)
-getpeername_EXTRA_LIBS=$(NSLLIB) $(SOCKLIB)
-getsockname_EXTRA_LIBS=$(NSLLIB) $(SOCKLIB)
-listen_EXTRA_LIBS=$(NSLLIB) $(SOCKLIB)
-log_EXTRA_LIBS=$(MATHLIB)
-pipe_EXTRA_LIBS=$(NSLLIB) $(SOCKLIB)
-poll_EXTRA_LIBS=$(SOCKLIB)
-select_EXTRA_LIBS=$(SOCKLIB)
-setsockopt_EXTRA_LIBS=$(NSLLIB) $(SOCKLIB)
-socket_EXTRA_LIBS=$(SOCKLIB)
-socketpair_EXTRA_LIBS=$(SOCKLIB)
-
-BENCHMARK_FUNCS= \
- benchmark_init.o \
- benchmark_fini.o \
- benchmark_initrun.o \
- benchmark_finirun.o \
- benchmark_initbatch.o \
- benchmark_finibatch.o \
- benchmark_initworker.o \
- benchmark_finiworker.o \
- benchmark_optswitch.o \
- benchmark_result.o
-
-recurse_EXTRA_DEPS=recurse2.o
-
-
-recurse: $(recurse_EXTRA_DEPS)
-
-libmicro.a: libmicro.o libmicro_main.o $(BENCHMARK_FUNCS)
- $(AR) -cr libmicro.a libmicro.o libmicro_main.o
$(BENCHMARK_FUNCS)
-
-tattle: ../tattle.c libmicro.a
- echo "char * compiler_version = \""`$(COMPILER_VERSION_CMD)`"\";" >
tattle.h
- echo "char * CC = \""$(CC)"\";" >> tattle.h
- echo "char * extra_compiler_flags = \""$(extra_CFLAGS)"\";" >> tattle.h
- $(CC) -o tattle $(CFLAGS) -I. ../tattle.c libmicro.a -lrt -lm
-
-$(ELIDED_BENCHMARKS): ../elided.c
- $(CC) -o $(@) ../elided.c
-
-%: libmicro.a %.o
- $(CC) -o $(@) $(@).o $($(@)_EXTRA_DEPS) $(CFLAGS) libmicro.a
$($(@)_EXTRA_LIBS) $(EXTRA_LIBS) -lpthread -lm
-
-exec: exec_bin
-
-exec_bin: exec_bin.o
- $(CC) -o exec_bin $(CFLAGS) exec_bin.o
-
-FORCE:
-
-
-._KEEP_STATE:
-
diff --git a/src/tests/system/benchmarks/libMicro/OPENSOLARIS.LICENSE
b/src/tests/system/benchmarks/libMicro/OPENSOLARIS.LICENSE
deleted file mode 100644
index 535dec2..0000000
--- a/src/tests/system/benchmarks/libMicro/OPENSOLARIS.LICENSE
+++ /dev/null
@@ -1,385 +0,0 @@
-Unless otherwise noted, all files in this distribution are released
-under the Common Development and Distribution License (CDDL),
-Version 1.0 only. Exceptions are noted within the associated
-source files.
-
---------------------------------------------------------------------
-
-
-COMMON DEVELOPMENT AND DISTRIBUTION LICENSE Version 1.0
-
-1. Definitions.
-
- 1.1. "Contributor" means each individual or entity that creates
- or contributes to the creation of Modifications.
-
- 1.2. "Contributor Version" means the combination of the Original
- Software, prior Modifications used by a Contributor (if any),
- and the Modifications made by that particular Contributor.
-
- 1.3. "Covered Software" means (a) the Original Software, or (b)
- Modifications, or (c) the combination of files containing
- Original Software with files containing Modifications, in
- each case including portions thereof.
-
- 1.4. "Executable" means the Covered Software in any form other
- than Source Code.
-
- 1.5. "Initial Developer" means the individual or entity that first
- makes Original Software available under this License.
-
- 1.6. "Larger Work" means a work which combines Covered Software or
- portions thereof with code not governed by the terms of this
- License.
-
- 1.7. "License" means this document.
-
- 1.8. "Licensable" means having the right to grant, to the maximum
- extent possible, whether at the time of the initial grant or
- subsequently acquired, any and all of the rights conveyed
- herein.
-
- 1.9. "Modifications" means the Source Code and Executable form of
- any of the following:
-
- A. Any file that results from an addition to, deletion from or
- modification of the contents of a file containing Original
- Software or previous Modifications;
-
- B. Any new file that contains any part of the Original
- Software or previous Modifications; or
-
- C. Any new file that is contributed or otherwise made
- available under the terms of this License.
-
- 1.10. "Original Software" means the Source Code and Executable
- form of computer software code that is originally released
- under this License.
-
- 1.11. "Patent Claims" means any patent claim(s), now owned or
- hereafter acquired, including without limitation, method,
- process, and apparatus claims, in any patent Licensable by
- grantor.
-
- 1.12. "Source Code" means (a) the common form of computer software
- code in which modifications are made and (b) associated
- documentation included in or with such code.
-
- 1.13. "You" (or "Your") means an individual or a legal entity
- exercising rights under, and complying with all of the terms
- of, this License. For legal entities, "You" includes any
- entity which controls, is controlled by, or is under common
- control with You. For purposes of this definition,
- "control" means (a) the power, direct or indirect, to cause
- the direction or management of such entity, whether by
- contract or otherwise, or (b) ownership of more than fifty
- percent (50%) of the outstanding shares or beneficial
- ownership of such entity.
-
-2. License Grants.
-
- 2.1. The Initial Developer Grant.
-
- Conditioned upon Your compliance with Section 3.1 below and
- subject to third party intellectual property claims, the Initial
- Developer hereby grants You a world-wide, royalty-free,
- non-exclusive license:
-
- (a) under intellectual property rights (other than patent or
- trademark) Licensable by Initial Developer, to use,
- reproduce, modify, display, perform, sublicense and
- distribute the Original Software (or portions thereof),
- with or without Modifications, and/or as part of a Larger
- Work; and
-
- (b) under Patent Claims infringed by the making, using or
- selling of Original Software, to make, have made, use,
- practice, sell, and offer for sale, and/or otherwise
- dispose of the Original Software (or portions thereof).
-
- (c) The licenses granted in Sections 2.1(a) and (b) are
- effective on the date Initial Developer first distributes
- or otherwise makes the Original Software available to a
- third party under the terms of this License.
-
- (d) Notwithstanding Section 2.1(b) above, no patent license is
- granted: (1) for code that You delete from the Original
- Software, or (2) for infringements caused by: (i) the
- modification of the Original Software, or (ii) the
- combination of the Original Software with other software
- or devices.
-
- 2.2. Contributor Grant.
-
- Conditioned upon Your compliance with Section 3.1 below and
- subject to third party intellectual property claims, each
- Contributor hereby grants You a world-wide, royalty-free,
- non-exclusive license:
-
- (a) under intellectual property rights (other than patent or
- trademark) Licensable by Contributor to use, reproduce,
- modify, display, perform, sublicense and distribute the
- Modifications created by such Contributor (or portions
- thereof), either on an unmodified basis, with other
- Modifications, as Covered Software and/or as part of a
- Larger Work; and
-
- (b) under Patent Claims infringed by the making, using, or
- selling of Modifications made by that Contributor either
- alone and/or in combination with its Contributor Version
- (or portions of such combination), to make, use, sell,
- offer for sale, have made, and/or otherwise dispose of:
- (1) Modifications made by that Contributor (or portions
- thereof); and (2) the combination of Modifications made by
- that Contributor with its Contributor Version (or portions
- of such combination).
-
- (c) The licenses granted in Sections 2.2(a) and 2.2(b) are
- effective on the date Contributor first distributes or
- otherwise makes the Modifications available to a third
- party.
-
- (d) Notwithstanding Section 2.2(b) above, no patent license is
- granted: (1) for any code that Contributor has deleted
- from the Contributor Version; (2) for infringements caused
- by: (i) third party modifications of Contributor Version,
- or (ii) the combination of Modifications made by that
- Contributor with other software (except as part of the
- Contributor Version) or other devices; or (3) under Patent
- Claims infringed by Covered Software in the absence of
- Modifications made by that Contributor.
-
-3. Distribution Obligations.
-
- 3.1. Availability of Source Code.
-
- Any Covered Software that You distribute or otherwise make
- available in Executable form must also be made available in Source
- Code form and that Source Code form must be distributed only under
- the terms of this License. You must include a copy of this
- License with every copy of the Source Code form of the Covered
- Software You distribute or otherwise make available. You must
- inform recipients of any such Covered Software in Executable form
- as to how they can obtain such Covered Software in Source Code
- form in a reasonable manner on or through a medium customarily
- used for software exchange.
-
- 3.2. Modifications.
-
- The Modifications that You create or to which You contribute are
- governed by the terms of this License. You represent that You
- believe Your Modifications are Your original creation(s) and/or
- You have sufficient rights to grant the rights conveyed by this
- License.
-
- 3.3. Required Notices.
-
- You must include a notice in each of Your Modifications that
- identifies You as the Contributor of the Modification. You may
- not remove or alter any copyright, patent or trademark notices
- contained within the Covered Software, or any notices of licensing
- or any descriptive text giving attribution to any Contributor or
- the Initial Developer.
-
- 3.4. Application of Additional Terms.
-
- You may not offer or impose any terms on any Covered Software in
- Source Code form that alters or restricts the applicable version
- of this License or the recipients' rights hereunder. You may
- choose to offer, and to charge a fee for, warranty, support,
- indemnity or liability obligations to one or more recipients of
- Covered Software. However, you may do so only on Your own behalf,
- and not on behalf of the Initial Developer or any Contributor.
- You must make it absolutely clear that any such warranty, support,
- indemnity or liability obligation is offered by You alone, and You
- hereby agree to indemnify the Initial Developer and every
- Contributor for any liability incurred by the Initial Developer or
- such Contributor as a result of warranty, support, indemnity or
- liability terms You offer.
-
- 3.5. Distribution of Executable Versions.
-
- You may distribute the Executable form of the Covered Software
- under the terms of this License or under the terms of a license of
- Your choice, which may contain terms different from this License,
- provided that You are in compliance with the terms of this License
- and that the license for the Executable form does not attempt to
- limit or alter the recipient's rights in the Source Code form from
- the rights set forth in this License. If You distribute the
- Covered Software in Executable form under a different license, You
- must make it absolutely clear that any terms which differ from
- this License are offered by You alone, not by the Initial
- Developer or Contributor. You hereby agree to indemnify the
- Initial Developer and every Contributor for any liability incurred
- by the Initial Developer or such Contributor as a result of any
- such terms You offer.
-
- 3.6. Larger Works.
-
- You may create a Larger Work by combining Covered Software with
- other code not governed by the terms of this License and
- distribute the Larger Work as a single product. In such a case,
- You must make sure the requirements of this License are fulfilled
- for the Covered Software.
-
-4. Versions of the License.
-
- 4.1. New Versions.
-
- Sun Microsystems, Inc. is the initial license steward and may
- publish revised and/or new versions of this License from time to
- time. Each version will be given a distinguishing version number.
- Except as provided in Section 4.3, no one other than the license
- steward has the right to modify this License.
-
- 4.2. Effect of New Versions.
-
- You may always continue to use, distribute or otherwise make the
- Covered Software available under the terms of the version of the
- License under which You originally received the Covered Software.
- If the Initial Developer includes a notice in the Original
- Software prohibiting it from being distributed or otherwise made
- available under any subsequent version of the License, You must
- distribute and make the Covered Software available under the terms
- of the version of the License under which You originally received
- the Covered Software. Otherwise, You may also choose to use,
- distribute or otherwise make the Covered Software available under
- the terms of any subsequent version of the License published by
- the license steward.
-
- 4.3. Modified Versions.
-
- When You are an Initial Developer and You want to create a new
- license for Your Original Software, You may create and use a
- modified version of this License if You: (a) rename the license
- and remove any references to the name of the license steward
- (except to note that the license differs from this License); and
- (b) otherwise make it clear that the license contains terms which
- differ from this License.
-
-5. DISCLAIMER OF WARRANTY.
-
- COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS"
- BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
- INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
- SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
- PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND
- PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY
- COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
- INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY
- NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF
- WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
- ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
- DISCLAIMER.
-
-6. TERMINATION.
-
- 6.1. This License and the rights granted hereunder will terminate
- automatically if You fail to comply with terms herein and fail to
- cure such breach within 30 days of becoming aware of the breach.
- Provisions which, by their nature, must remain in effect beyond
- the termination of this License shall survive.
-
- 6.2. If You assert a patent infringement claim (excluding
- declaratory judgment actions) against Initial Developer or a
- Contributor (the Initial Developer or Contributor against whom You
- assert such claim is referred to as "Participant") alleging that
- the Participant Software (meaning the Contributor Version where
- the Participant is a Contributor or the Original Software where
- the Participant is the Initial Developer) directly or indirectly
- infringes any patent, then any and all rights granted directly or
- indirectly to You by such Participant, the Initial Developer (if
- the Initial Developer is not the Participant) and all Contributors
- under Sections 2.1 and/or 2.2 of this License shall, upon 60 days
- notice from Participant terminate prospectively and automatically
- at the expiration of such 60 day notice period, unless if within
- such 60 day period You withdraw Your claim with respect to the
- Participant Software against such Participant either unilaterally
- or pursuant to a written agreement with Participant.
-
- 6.3. In the event of termination under Sections 6.1 or 6.2 above,
- all end user licenses that have been validly granted by You or any
- distributor hereunder prior to termination (excluding licenses
- granted to You by any distributor) shall survive termination.
-
-7. LIMITATION OF LIABILITY.
-
- UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
- (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
- INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
- COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
- LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
- CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
- LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK
- STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
- COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
- INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
- LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
- INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT
- APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
- NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
- CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
- APPLY TO YOU.
-
-8. U.S. GOVERNMENT END USERS.
-
- The Covered Software is a "commercial item," as that term is
- defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial
- computer software" (as that term is defined at 48
- C.F.R. 252.227-7014(a)(1)) and "commercial computer software
- documentation" as such terms are used in 48 C.F.R. 12.212
- (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48
- C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all
- U.S. Government End Users acquire Covered Software with only those
- rights set forth herein. This U.S. Government Rights clause is in
- lieu of, and supersedes, any other FAR, DFAR, or other clause or
- provision that addresses Government rights in computer software
- under this License.
-
-9. MISCELLANEOUS.
-
- This License represents the complete agreement concerning subject
- matter hereof. If any provision of this License is held to be
- unenforceable, such provision shall be reformed only to the extent
- necessary to make it enforceable. This License shall be governed
- by the law of the jurisdiction specified in a notice contained
- within the Original Software (except to the extent applicable law,
- if any, provides otherwise), excluding such jurisdiction's
- conflict-of-law provisions. Any litigation relating to this
- License shall be subject to the jurisdiction of the courts located
- in the jurisdiction and venue specified in a notice contained
- within the Original Software, with the losing party responsible
- for costs, including, without limitation, court costs and
- reasonable attorneys' fees and expenses. The application of the
- United Nations Convention on Contracts for the International Sale
- of Goods is expressly excluded. Any law or regulation which
- provides that the language of a contract shall be construed
- against the drafter shall not apply to this License. You agree
- that You alone are responsible for compliance with the United
- States export administration regulations (and the export control
- laws and regulation of any other countries) when You use,
- distribute or otherwise make available any Covered Software.
-
-10. RESPONSIBILITY FOR CLAIMS.
-
- As between Initial Developer and the Contributors, each party is
- responsible for claims and damages arising, directly or
- indirectly, out of its utilization of rights under this License
- and You agree to work with Initial Developer and Contributors to
- distribute such responsibility on an equitable basis. Nothing
- herein is intended or shall be deemed to constitute any admission
- of liability.
-
---------------------------------------------------------------------
-
-NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND
-DISTRIBUTION LICENSE (CDDL)
-
-For Covered Software in this distribution, this License shall
-be governed by the laws of the State of California (excluding
-conflict-of-law provisions).
-
-Any litigation relating to this License shall be subject to the
-jurisdiction of the Federal Courts of the Northern District of
-California and the state courts of the State of California, with
-venue lying in Santa Clara County, California.
diff --git a/src/tests/system/benchmarks/libMicro/README
b/src/tests/system/benchmarks/libMicro/README
deleted file mode 100644
index d29768e..0000000
--- a/src/tests/system/benchmarks/libMicro/README
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms
-# of the Common Development and Distribution License
-# (the "License"). You may not use this file except
-# in compliance with the License.
-#
-# You can obtain a copy of the license at
-# src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing
-# permissions and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL
-# HEADER in each file and include the License file at
-# usr/src/OPENSOLARIS.LICENSE. If applicable,
-# add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your
-# own identifying information: Portions Copyright [yyyy]
-# [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-Building the tarball
---------------------
-As long as cc is in your path, (gcc on Linux),
-
-% tar xf libMicro.tar
-% make
-
-will build the benchmark suite.
-
-Running the benchmarks
------------------------
-
-A set of generic scripts to invoke each micro benchmark
-are created in the bin directory; these may be invoked
-directly. Note that the actual binaries are created in
-OS-specific directories; this allows one to build for
-all varients (x86/sparc/Solaris/Linux) in one place.
-
-To collect a complete set of benchmarks, use the bench
-script and redirect its output to a file.
-
-% ./bench > output
-
-To compare the output of two or more runs, use multiview in the src
-directory:
-
-% ./multiview reference compare1 compare2 compare2 > compare.html
-%
-
-where the reference and compare files contain the output of different
-libmicro runs.
-
-The compare.html file will allow quick comparisons to be drawn,
-allowing a variety of experiments to be quickly analyzed.
-
-All benchmarks support the following options:
-
- [-1] (single process; overrides -P > 1)
- [-A] (align with clock)
- [-B batch-size (default 10)]
- [-C minimum number of samples (default 0)]
- [-D duration in msecs (default 10s)]
- [-E (echo name to stderr)]
- [-H] (suppress headers)
- [-I] specify approx. time per op in nsecs
- [-L] (print argument line)
- [-M] (reports mean rather than median)
- [-N test-name ]
- [-P processes (default 1)]
- [-S] (print detailed stats)
- [-T threads (default 1)]
- [-V] (print the libMicro version and exit)
- [-W] (flag possible benchmark problems)
-
-
diff --git a/src/tests/system/benchmarks/libMicro/atomic.c
b/src/tests/system/benchmarks/libMicro/atomic.c
deleted file mode 100644
index e005b46..0000000
--- a/src/tests/system/benchmarks/libMicro/atomic.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * benchmarks atomic add on Solaris - useful for platform comparisons.
- */
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <atomic.h>
-
-#include "libmicro.h"
-
-int
-benchmark_init()
-{
- (void) sprintf(lm_usage, "note: measures atomic_add_32_nv()");
-
- lm_tsdsize = 0;
-
- return (0);
-}
-
-static unsigned int value = 0;
-
-/*ARGSUSED*/
-int
-benchmark(void *tsd, result_t *res)
-{
- unsigned int i;
- for (i = 0; i < lm_optB; i += 10) {
- (void) atomic_add_32_nv(&value, 1);
- (void) atomic_add_32_nv(&value, 1);
- (void) atomic_add_32_nv(&value, 1);
- (void) atomic_add_32_nv(&value, 1);
- (void) atomic_add_32_nv(&value, 1);
- (void) atomic_add_32_nv(&value, 1);
- (void) atomic_add_32_nv(&value, 1);
- (void) atomic_add_32_nv(&value, 1);
- (void) atomic_add_32_nv(&value, 1);
- (void) atomic_add_32_nv(&value, 1);
- }
- res->re_count = i;
-
- return (0);
-}
diff --git a/src/tests/system/benchmarks/libMicro/bench
b/src/tests/system/benchmarks/libMicro/bench
deleted file mode 100644
index 56ec160..0000000
--- a/src/tests/system/benchmarks/libMicro/bench
+++ /dev/null
@@ -1,484 +0,0 @@
-#!/bin/sh
-#
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms
-# of the Common Development and Distribution License
-# (the "License"). You may not use this file except
-# in compliance with the License.
-#
-# You can obtain a copy of the license at
-# src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing
-# permissions and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL
-# HEADER in each file and include the License file at
-# usr/src/OPENSOLARIS.LICENSE. If applicable,
-# add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your
-# own identifying information: Portions Copyright [yyyy]
-# [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-bench_version=0.4.0
-libmicro_version=`bin/tattle -V`
-
-case $libmicro_version in
-$bench_version)
- ;;
-*)
- echo "ERROR: libMicro version doesn't match 'bench' script version"
- exit 1
-esac
-
-TMPROOT=/tmp/libmicro.$$
-VARROOT=/var/tmp/libmicro.$$
-mkdir -p $TMPROOT
-mkdir -p $VARROOT
-trap "rm -rf $TMPROOT $VARROOT" 0 2
-
-TFILE=$TMPROOT/data
-IFILE=$TMPROOT/ifile
-TDIR1=$TMPROOT/0/1/2/3/4/5/6/7/8/9
-TDIR2=$TMPROOT/1/2/3/4/5/6/7/8/9/0
-VFILE=$VARROOT/data
-VDIR1=$VARROOT/0/1/2/3/4/5/6/7/8/9
-VDIR2=$VARROOT/1/2/3/4/5/6/7/8/9/0
-
-
-#OPTS="-E -C 200 -L -S -W"
-echo "FIXME: adding -1 to the original opts, (possible pthread issue?)"
-OPTS="-1 -E -C 200 -L -S -W"
-
-dd if=/dev/zero of=$TFILE bs=1024k count=10 2>/dev/null
-dd if=/dev/zero of=$VFILE bs=1024k count=10 2>/dev/null
-mkdir -p $TDIR1 $TDIR2
-mkdir -p $VDIR1 $VDIR2
-
-touch $IFILE
-
-ARCH=`uname -m`
-
-# produce benchmark header for easier comparisons
-
-hostname=`uname -n`
-
-if [ -f /usr/sbin/psrinfo ]; then
- p_count=`psrinfo|wc -l`
- p_mhz=`psrinfo -v | awk '/operates/{print $6 "MHz"; exit }'`
- p_type=`psrinfo -vp 2>/dev/null | awk '{if (NR == 3) {print $0;
exit}}'`
-fi
-
-if [ -f /proc/cpuinfo ]; then
- p_count=`egrep processor /proc/cpuinfo | wc -l`
- p_mhz=`awk -F: '/cpu MHz/{printf("%5.0f00Mhz\n",$2/100); exit}'
/proc/cpuinfo`
- p_type=`awk -F: '/model name/{print $2; exit}' /proc/cpuinfo`
-fi
-
-printf "!Libmicro_#: %30s\n" $libmicro_version
-printf "!Options: %30s\n" "$OPTS"
-printf "!Machine_name: %30s\n" $hostname
-printf "!OS_name: %30s\n" `uname -s`
-printf "!OS_release: %30s\n" `uname -r`
-printf "!OS_build: %30.18s\n" "`uname -v`"
-printf "!Processor: %30s\n" `uname -m`
-printf "!#CPUs: %30s\n" $p_count
-printf "!CPU_MHz: %30s\n" $p_mhz
-printf "!CPU_NAME: %30s\n" "$p_type"
-printf "!IP_address: %30s\n" `getent hosts $hostname | awk '{print $1}'`
-printf "!Run_by: %30s\n" $LOGNAME
-printf "!Date: %30s\n" "`date '+%D %R'`"
-printf "!Compiler: %30s\n" `bin/tattle -c`
-printf "!Compiler Ver.:%30s\n" "`bin/tattle -v`"
-printf "!sizeof(long): %30s\n" `bin/tattle -s`
-printf "!extra_CFLAGS: %30s\n" "`bin/tattle -f`"
-printf "!TimerRes: %30s\n" "`bin/tattle -r`"
-
-mkdir -p $TMPROOT/bin
-cp bin-$ARCH/exec_bin $TMPROOT/bin/$A
-
-while read A B
-do
- # $A contains the command, $B contains the arguments
- # we echo blank lines and comments
- # we ship anything which fails to match *$1* (useful
- # if we only want to test one case, but a nasty hack)
-
- case $A in
- ""|"#"*)
- echo "$A $B"
- continue
- ;;
- *$1*)
- ;;
- *)
- continue
- esac
-
- if [ ! -f $TMPROOT/bin/$A ]
- then
- cp bin-$ARCH/$A $TMPROOT/bin/$A
- fi
- (cd $TMPROOT && eval "bin/$A $B")
-done <<.
-#
-# Obligatory null system call: use very short time
-# for default since SuSe implements this "syscall" in userland
-#
-getpid $OPTS -N "getpid" -I 5
-
-getenv $OPTS -N "getenv" -s 100 -I 100
-getenv $OPTS -N "getenvT2" -s 100 -I 100 -T 2
-
-gettimeofday $OPTS -N "gettimeofday"
-
-log $OPTS -N "log" -I 20
-exp $OPTS -N "exp" -I 20
-lrand48 $OPTS -N "lrand48"
-
-memset $OPTS -N "memset_10" -s 10 -I 10
-memset $OPTS -N "memset_256" -s 256 -I 20
-memset $OPTS -N "memset_256_u" -s 256 -a 1 -I 20
-memset $OPTS -N "memset_1k" -s 1k -I 100
-memset $OPTS -N "memset_4k" -s 4k -I 250
-memset $OPTS -N "memset_4k_uc" -s 4k -u -I 400
-
-memset $OPTS -N "memset_10k" -s 10k -I 600
-memset $OPTS -N "memset_1m" -s 1m -I 200000
-memset $OPTS -N "memset_10m" -s 10m -I 2000000
-memset $OPTS -N "memsetP2_10m" -s 10m -P 2 -I 2000000
-
-memrand $OPTS -N "memrand" -s 128m -B 10000
-cachetocache $OPTS -N "cachetocache" -s 100k -T 2 -I 200
-
-isatty $OPTS -N "isatty_yes"
-isatty $OPTS -N "isatty_no" -f $IFILE
-
-malloc $OPTS -N "malloc_10" -s 10 -g 10 -I 50
-malloc $OPTS -N "malloc_100" -s 100 -g 10 -I 50
-malloc $OPTS -N "malloc_1k" -s 1k -g 10 -I 50
-malloc $OPTS -N "malloc_10k" -s 10k -g 10 -I 50
-malloc $OPTS -N "malloc_100k" -s 100k -g 10 -I 2000
-
-malloc $OPTS -N "mallocT2_10" -s 10 -g 10 -T 2 -I 200
-malloc $OPTS -N "mallocT2_100" -s 100 -g 10 -T 2 -I 200
-malloc $OPTS -N "mallocT2_1k" -s 1k -g 10 -T 2 -I 200
-malloc $OPTS -N "mallocT2_10k" -s 10k -g 10 -T 2 -I 200
-malloc $OPTS -N "mallocT2_100k" -s 100k -g 10 -T 2 -I 10000
-
-close $OPTS -N "close_bad" -B 32 -b
-close $OPTS -N "close_tmp" -B 32 -f $TFILE
-close $OPTS -N "close_usr" -B 32 -f $VFILE
-close $OPTS -N "close_zero" -B 32 -f /dev/zero
-
-memcpy $OPTS -N "memcpy_10" -s 10 -I 10
-memcpy $OPTS -N "memcpy_1k" -s 1k -I 50
-memcpy $OPTS -N "memcpy_10k" -s 10k -I 800
-memcpy $OPTS -N "memcpy_1m" -s 1m -I 500000
-memcpy $OPTS -N "memcpy_10m" -s 10m -I 5000000
-
-strcpy $OPTS -N "strcpy_10" -s 10 -I 5
-strcpy $OPTS -N "strcpy_1k" -s 1k -I 100
-
-strlen $OPTS -N "strlen_10" -s 10 -I 5
-strlen $OPTS -N "strlen_1k" -s 1k -I 100
-
-strchr $OPTS -N "strchr_10" -s 10 -I 5
-strchr $OPTS -N "strchr_1k" -s 1k -I 200
-strcmp $OPTS -N "strcmp_10" -s 10 -I 10
-strcmp $OPTS -N "strcmp_1k" -s 1k -I 200
-
-strcasecmp $OPTS -N "scasecmp_10" -s 10 -I 50
-strcasecmp $OPTS -N "scasecmp_1k" -s 1k -I 20000
-
-strtol $OPTS -N "strtol" -I 20
-
-getcontext $OPTS -N "getcontext" -I 100
-setcontext $OPTS -N "setcontext" -I 100
-
-mutex $OPTS -N "mutex_st" -I 10
-mutex $OPTS -N "mutex_mt" -t -I 10
-mutex $OPTS -N "mutex_T2" -T 2 -I 100
-
-longjmp $OPTS -N "longjmp" -I 10
-siglongjmp $OPTS -N "siglongjmp" -I 20
-
-getrusage $OPTS -N "getrusage" -I 200
-
-times $OPTS -N "times" -I 200
-time $OPTS -N "time" -I 50
-localtime_r $OPTS -N "localtime_r" -I 200
-strftime $OPTS -N "strftime" -I 10000
-
-mktime $OPTS -N "mktime" -I 500
-mktime $OPTS -N "mktimeT2" -T 2 -I 1000
-
-cascade_mutex $OPTS -N "c_mutex_1" -I 50
-cascade_mutex $OPTS -N "c_mutex_10" -T 10 -I 5000
-cascade_mutex $OPTS -N "c_mutex_200" -T 200 -I 2000000
-
-cascade_cond $OPTS -N "c_cond_1" -I 100
-cascade_cond $OPTS -N "c_cond_10" -T 10 -I 3000
-cascade_cond $OPTS -N "c_cond_200" -T 200 -I 2000000
-
-cascade_lockf $OPTS -N "c_lockf_1" -I 1000
-cascade_lockf $OPTS -N "c_lockf_10" -P 10 -I 50000
-cascade_lockf $OPTS -N "c_lockf_200" -P 200 -I 5000000
-
-cascade_flock $OPTS -N "c_flock" -I 1000
-cascade_flock $OPTS -N "c_flock_10" -P 10 -I 50000
-cascade_flock $OPTS -N "c_flock_200" -P 200 -I 5000000
-
-cascade_fcntl $OPTS -N "c_fcntl_1" -I 2000
-cascade_fcntl $OPTS -N "c_fcntl_10" -P 10 -I 20000
-cascade_fcntl $OPTS -N "c_fcntl_200" -P 200 -I 5000000
-
-file_lock $OPTS -N "file_lock" -I 1000
-
-getsockname $OPTS -N "getsockname" -I 100
-getpeername $OPTS -N "getpeername" -I 100
-
-chdir $OPTS -N "chdir_tmp" -I 2000 $TDIR1 $TDIR2
-chdir $OPTS -N "chdir_usr" -I 2000 $VDIR1 $VDIR2
-
-chdir $OPTS -N "chgetwd_tmp" -I 3000 -g $TDIR1 $TDIR2
-chdir $OPTS -N "chgetwd_usr" -I 3000 -g $VDIR1 $VDIR2
-
-realpath $OPTS -N "realpath_tmp" -I 3000 -f $TDIR1
-realpath $OPTS -N "realpath_usr" -I 3000 -f $VDIR1
-
-stat $OPTS -N "stat_tmp" -I 1000 -f $TFILE
-stat $OPTS -N "stat_usr" -I 1000 -f $VFILE
-
-fcntl $OPTS -N "fcntl_tmp" -I 100 -f $TFILE
-fcntl $OPTS -N "fcntl_usr" -I 100 -f $VFILE
-fcntl_ndelay $OPTS -N "fcntl_ndelay" -I 100
-
-lseek $OPTS -N "lseek_t8k" -s 8k -I 50 -f $TFILE
-lseek $OPTS -N "lseek_u8k" -s 8k -I 50 -f $VFILE
-
-open $OPTS -N "open_tmp" -B 256 -f $TFILE
-open $OPTS -N "open_usr" -B 256 -f $VFILE
-open $OPTS -N "open_zero" -B 256 -f /dev/zero
-
-dup $OPTS -N "dup" -B 512
-
-socket $OPTS -N "socket_u" -B 256
-socket $OPTS -N "socket_i" -B 256 -f PF_INET
-
-socketpair $OPTS -N "socketpair" -B 256
-
-setsockopt $OPTS -N "setsockopt" -I 200
-
-bind $OPTS -N "bind" -B 100
-
-listen $OPTS -N "listen" -B 100
-
-connection $OPTS -N "connection" -B 256
-
-poll $OPTS -N "poll_10" -n 10 -I 500
-poll $OPTS -N "poll_100" -n 100 -I 1000
-poll $OPTS -N "poll_1000" -n 1000 -I 5000
-
-poll $OPTS -N "poll_w10" -n 10 -I 500 -w 1
-poll $OPTS -N "poll_w100" -n 100 -I 2000 -w 10
-poll $OPTS -N "poll_w1000" -n 1000 -I 40000 -w 100
-
-select $OPTS -N "select_10" -n 10 -I 500
-select $OPTS -N "select_100" -n 100 -I 1000
-select $OPTS -N "select_1000" -n 1000 -I 5000
-
-select $OPTS -N "select_w10" -n 10 -I 500 -w 1
-select $OPTS -N "select_w100" -n 100 -I 2000 -w 10
-select $OPTS -N "select_w1000" -n 1000 -I 40000 -w 100
-
-semop $OPTS -N "semop" -I 200
-
-sigaction $OPTS -N "sigaction" -I 100
-signal $OPTS -N "signal" -I 1000
-sigprocmask $OPTS -N "sigprocmask" -I 200
-
-pthread_create $OPTS -N "pthread_8" -B 8
-pthread_create $OPTS -N "pthread_32" -B 32
-pthread_create $OPTS -N "pthread_128" -B 128
-pthread_create $OPTS -N "pthread_512" -B 512
-
-fork $OPTS -N "fork_10" -B 10
-fork $OPTS -N "fork_100" -B 100 -C 100
-fork $OPTS -N "fork_1000" -B 1000 -C 50
-
-exit $OPTS -N "exit_10" -B 10
-exit $OPTS -N "exit_100" -B 100
-exit $OPTS -N "exit_1000" -B 1000 -C 50
-
-exit $OPTS -N "exit_10_nolibc" -e -B 10
-
-exec $OPTS -N "exec" -B 10
-
-system $OPTS -N "system" -I 1000000
-
-recurse $OPTS -N "recurse" -B 512
-
-read $OPTS -N "read_t1k" -s 1k -f $TFILE
-read $OPTS -N "read_t10k" -s 10k -f $TFILE
-read $OPTS -N "read_t100k" -s 100k -f $TFILE
-
-read $OPTS -N "read_u1k" -s 1k -f $VFILE
-read $OPTS -N "read_u10k" -s 10k -f $VFILE
-read $OPTS -N "read_u100k" -s 100k -f $VFILE
-
-read $OPTS -N "read_z1k" -s 1k -f /dev/zero
-read $OPTS -N "read_z10k" -s 10k -f /dev/zero
-read $OPTS -N "read_z100k" -s 100k -f /dev/zero
-read $OPTS -N "read_zw100k" -s 100k -w -f /dev/zero
-
-write $OPTS -N "write_t1k" -s 1k -f $TFILE
-write $OPTS -N "write_t10k" -s 10k -f $TFILE
-write $OPTS -N "write_t100k" -s 100k -f $TFILE
-
-write $OPTS -N "write_u1k" -s 1k -f $VFILE
-write $OPTS -N "write_u10k" -s 10k -f $VFILE
-write $OPTS -N "write_u100k" -s 100k -f $VFILE
-
-write $OPTS -N "write_n1k" -s 1k -I 100 -B 0 -f /dev/null
-write $OPTS -N "write_n10k" -s 10k -I 100 -B 0 -f /dev/null
-write $OPTS -N "write_n100k" -s 100k -I 100 -B 0 -f /dev/null
-
-writev $OPTS -N "writev_t1k" -s 1k -f $TFILE
-writev $OPTS -N "writev_t10k" -s 10k -f $TFILE
-writev $OPTS -N "writev_t100k" -s 100k -f $TFILE
-
-writev $OPTS -N "writev_u1k" -s 1k -f $VFILE
-writev $OPTS -N "writev_u10k" -s 10k -f $VFILE
-writev $OPTS -N "writev_u100k" -s 100k -f $VFILE
-
-writev $OPTS -N "writev_n1k" -s 1k -I 100 -B 0 -f /dev/null
-writev $OPTS -N "writev_n10k" -s 10k -I 100 -B 0 -f /dev/null
-writev $OPTS -N "writev_n100k" -s 100k -I 100 -B 0 -f /dev/null
-
-pread $OPTS -N "pread_t1k" -s 1k -I 300 -f $TFILE
-pread $OPTS -N "pread_t10k" -s 10k -I 1000 -f $TFILE
-pread $OPTS -N "pread_t100k" -s 100k -I 10000 -f $TFILE
-
-pread $OPTS -N "pread_u1k" -s 1k -I 300 -f $VFILE
-pread $OPTS -N "pread_u10k" -s 10k -I 1000 -f $VFILE
-pread $OPTS -N "pread_u100k" -s 100k -I 10000 -f $VFILE
-
-pread $OPTS -N "pread_z1k" -s 1k -I 300 -f /dev/zero
-pread $OPTS -N "pread_z10k" -s 10k -I 1000 -f /dev/zero
-pread $OPTS -N "pread_z100k" -s 100k -I 2000 -f /dev/zero
-pread $OPTS -N "pread_zw100k" -s 100k -w -I 10000 -f /dev/zero
-
-pwrite $OPTS -N "pwrite_t1k" -s 1k -I 500 -f $TFILE
-pwrite $OPTS -N "pwrite_t10k" -s 10k -I 1000 -f $TFILE
-pwrite $OPTS -N "pwrite_t100k" -s 100k -I 10000 -f $TFILE
-
-pwrite $OPTS -N "pwrite_u1k" -s 1k -I 500 -f $VFILE
-pwrite $OPTS -N "pwrite_u10k" -s 10k -I 1000 -f $VFILE
-pwrite $OPTS -N "pwrite_u100k" -s 100k -I 20000 -f $VFILE
-
-pwrite $OPTS -N "pwrite_n1k" -s 1k -I 100 -f /dev/null
-pwrite $OPTS -N "pwrite_n10k" -s 10k -I 100 -f /dev/null
-pwrite $OPTS -N "pwrite_n100k" -s 100k -I 100 -f /dev/null
-
-mmap $OPTS -N "mmap_z8k" -l 8k -I 1000 -f /dev/zero
-mmap $OPTS -N "mmap_z128k" -l 128k -I 2000 -f /dev/zero
-mmap $OPTS -N "mmap_t8k" -l 8k -I 1000 -f $TFILE
-mmap $OPTS -N "mmap_t128k" -l 128k -I 1000 -f $TFILE
-mmap $OPTS -N "mmap_u8k" -l 8k -I 1000 -f $VFILE
-mmap $OPTS -N "mmap_u128k" -l 128k -I 1000 -f $VFILE
-mmap $OPTS -N "mmap_a8k" -l 8k -I 200 -f MAP_ANON
-mmap $OPTS -N "mmap_a128k" -l 128k -I 200 -f MAP_ANON
-
-
-mmap $OPTS -N "mmap_rz8k" -l 8k -I 2000 -r -f /dev/zero
-mmap $OPTS -N "mmap_rz128k" -l 128k -I 2000 -r -f /dev/zero
-mmap $OPTS -N "mmap_rt8k" -l 8k -I 2000 -r -f $TFILE
-mmap $OPTS -N "mmap_rt128k" -l 128k -I 20000 -r -f $TFILE
-mmap $OPTS -N "mmap_ru8k" -l 8k -I 2000 -r -f $VFILE
-mmap $OPTS -N "mmap_ru128k" -l 128k -I 20000 -r -f $VFILE
-mmap $OPTS -N "mmap_ra8k" -l 8k -I 2000 -r -f MAP_ANON
-mmap $OPTS -N "mmap_ra128k" -l 128k -I 20000 -r -f MAP_ANON
-
-mmap $OPTS -N "mmap_wz8k" -l 8k -I 5000 -w -f /dev/zero
-mmap $OPTS -N "mmap_wz128k" -l 128k -I 50000 -w -f /dev/zero
-mmap $OPTS -N "mmap_wt8k" -l 8k -I 5000 -w -f $TFILE
-mmap $OPTS -N "mmap_wt128k" -l 128k -I 50000 -w -f $TFILE
-mmap $OPTS -N "mmap_wu8k" -l 8k -I 5000 -w -f $VFILE
-mmap $OPTS -N "mmap_wu128k" -l 128k -I 500000 -w -f $VFILE
-mmap $OPTS -N "mmap_wa8k" -l 8k -I 3000 -w -f MAP_ANON
-mmap $OPTS -N "mmap_wa128k" -l 128k -I 50000 -w -f MAP_ANON
-
-munmap $OPTS -N "unmap_z8k" -l 8k -I 500 -f /dev/zero
-munmap $OPTS -N "unmap_z128k" -l 128k -I 500 -f /dev/zero
-munmap $OPTS -N "unmap_t8k" -l 8k -I 500 -f $TFILE
-munmap $OPTS -N "unmap_t128k" -l 128k -I 500 -f $TFILE
-munmap $OPTS -N "unmap_u8k" -l 8k -I 500 -f $VFILE
-munmap $OPTS -N "unmap_u128k" -l 128k -I 500 -f $VFILE
-munmap $OPTS -N "unmap_a8k" -l 8k -I 500 -f MAP_ANON
-munmap $OPTS -N "unmap_a128k" -l 128k -I 500 -f MAP_ANON
-
-munmap $OPTS -N "unmap_rz8k" -l 8k -I 1000 -r -f /dev/zero
-munmap $OPTS -N "unmap_rz128k" -l 128k -I 2000 -r -f /dev/zero
-munmap $OPTS -N "unmap_rt8k" -l 8k -I 1000 -r -f $TFILE
-munmap $OPTS -N "unmap_rt128k" -l 128k -I 3000 -r -f $TFILE
-munmap $OPTS -N "unmap_ru8k" -l 8k -I 1000 -r -f $VFILE
-munmap $OPTS -N "unmap_ru128k" -l 128k -I 3000 -r -f $VFILE
-munmap $OPTS -N "unmap_ra8k" -l 8k -I 1000 -r -f MAP_ANON
-munmap $OPTS -N "unmap_ra128k" -l 128k -I 2000 -r -f MAP_ANON
-
-connection $OPTS -N "conn_connect" -B 256 -c
-
-munmap $OPTS -N "unmap_wz8k" -l 8k -I 1000 -w -f /dev/zero
-munmap $OPTS -N "unmap_wz128k" -l 128k -I 8000 -w -f /dev/zero
-munmap $OPTS -N "unmap_wt8k" -l 8k -I 1000 -w -f $TFILE
-munmap $OPTS -N "unmap_wt128k" -l 128k -I 10000 -w -f
$TFILE
-munmap $OPTS -N "unmap_wu8k" -l 8k -I 1000 -w -f $VFILE
-munmap $OPTS -N "unmap_wu128k" -l 128k -I 50000 -w -f
$VFILE
-munmap $OPTS -N "unmap_wa8k" -l 8k -I 1000 -w -f MAP_ANON
-munmap $OPTS -N "unmap_wa128k" -l 128k -I 10000 -w -f
MAP_ANON
-
-
-mprotect $OPTS -N "mprot_z8k" -l 8k -I 300 -f
/dev/zero
-mprotect $OPTS -N "mprot_z128k" -l 128k -I 500 -f /dev/zero
-mprotect $OPTS -N "mprot_wz8k" -l 8k -I 500 -w -f /dev/zero
-mprotect $OPTS -N "mprot_wz128k" -l 128k -I 1000 -w -f /dev/zero
-mprotect $OPTS -N "mprot_twz8k" -l 8k -I 1000 -w -t -f /dev/zero
-mprotect $OPTS -N "mprot_tw128k" -l 128k -I 2000 -w -t -f /dev/zero
-mprotect $OPTS -N "mprot_tw4m" -l 4m -w -t -B 1 -f /dev/zero
-
-pipe $OPTS -N "pipe_pst1" -s 1 -I 1000 -x pipe -m st
-pipe $OPTS -N "pipe_pmt1" -s 1 -I 8000 -x pipe -m mt
-pipe $OPTS -N "pipe_pmp1" -s 1 -I 8000 -x pipe -m mp
-pipe $OPTS -N "pipe_pst4k" -s 4k -I 1000 -x pipe -m st
-pipe $OPTS -N "pipe_pmt4k" -s 4k -I 8000 -x pipe -m mt
-pipe $OPTS -N "pipe_pmp4k" -s 4k -I 8000 -x pipe -m mp
-
-pipe $OPTS -N "pipe_sst1" -s 1 -I 1000 -x sock -m st
-pipe $OPTS -N "pipe_smt1" -s 1 -I 8000 -x sock -m mt
-pipe $OPTS -N "pipe_smp1" -s 1 -I 8000 -x sock -m mp
-pipe $OPTS -N "pipe_sst4k" -s 4k -I 1000 -x sock -m st
-pipe $OPTS -N "pipe_smt4k" -s 4k -I 8000 -x sock -m mt
-pipe $OPTS -N "pipe_smp4k" -s 4k -I 8000 -x sock -m mp
-
-pipe $OPTS -N "pipe_tst1" -s 1 -I 1000 -x tcp -m st
-pipe $OPTS -N "pipe_tmt1" -s 1 -I 8000 -x tcp -m mt
-pipe $OPTS -N "pipe_tmp1" -s 1 -I 8000 -x tcp -m mp
-pipe $OPTS -N "pipe_tst4k" -s 4k -I 1000 -x tcp -m st
-pipe $OPTS -N "pipe_tmt4k" -s 4k -I 8000 -x tcp -m mt
-pipe $OPTS -N "pipe_tmp4k" -s 4k -I 8000 -x tcp -m mp
-
-connection $OPTS -N "conn_accept" -B 256 -a
-
-close_tcp $OPTS -N "close_tcp" -B 32
-.
diff --git a/src/tests/system/benchmarks/libMicro/benchmark_fini.c
b/src/tests/system/benchmarks/libMicro/benchmark_fini.c
deleted file mode 100644
index 4952a9a..0000000
--- a/src/tests/system/benchmarks/libMicro/benchmark_fini.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * default implementation (nop) of benchmark_fini
- */
-
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "libmicro.h"
-
-int
-benchmark_fini()
-{
- return (0);
-}
diff --git a/src/tests/system/benchmarks/libMicro/benchmark_finibatch.c
b/src/tests/system/benchmarks/libMicro/benchmark_finibatch.c
deleted file mode 100644
index 482258c..0000000
--- a/src/tests/system/benchmarks/libMicro/benchmark_finibatch.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * default implementation (nop) of benchmark_finibatch
- */
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "libmicro.h"
-
-/*ARGSUSED*/
-int
-benchmark_finibatch(void *tsd)
-{
- return (0);
-}
diff --git a/src/tests/system/benchmarks/libMicro/benchmark_finirun.c
b/src/tests/system/benchmarks/libMicro/benchmark_finirun.c
deleted file mode 100644
index 52a5822..0000000
--- a/src/tests/system/benchmarks/libMicro/benchmark_finirun.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * default implementation (nop) of benchmark_finirun
- */
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "libmicro.h"
-
-int
-benchmark_finirun()
-{
- return (0);
-}
diff --git a/src/tests/system/benchmarks/libMicro/benchmark_finiworker.c
b/src/tests/system/benchmarks/libMicro/benchmark_finiworker.c
deleted file mode 100644
index 53161ea..0000000
--- a/src/tests/system/benchmarks/libMicro/benchmark_finiworker.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * default implementation (nop) of benchmark_finiworker
- */
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "libmicro.h"
-
-/*ARGSUSED*/
-int
-benchmark_finiworker(void *tsd)
-{
- return (0);
-}
diff --git a/src/tests/system/benchmarks/libMicro/benchmark_init.c
b/src/tests/system/benchmarks/libMicro/benchmark_init.c
deleted file mode 100644
index 83cec2b..0000000
--- a/src/tests/system/benchmarks/libMicro/benchmark_init.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * default implementation (nop) of benchmark_init
- */
-
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "libmicro.h"
-
-int
-benchmark_init()
-{
- return (0);
-}
diff --git a/src/tests/system/benchmarks/libMicro/benchmark_initbatch.c
b/src/tests/system/benchmarks/libMicro/benchmark_initbatch.c
deleted file mode 100644
index 0a8cddd..0000000
--- a/src/tests/system/benchmarks/libMicro/benchmark_initbatch.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * default implementation (nop) of benchmark_initbatch
- */
-
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "libmicro.h"
-
-/*ARGSUSED*/
-int
-benchmark_initbatch(void *tsd)
-{
- return (0);
-}
diff --git a/src/tests/system/benchmarks/libMicro/benchmark_initrun.c
b/src/tests/system/benchmarks/libMicro/benchmark_initrun.c
deleted file mode 100644
index ac437d4..0000000
--- a/src/tests/system/benchmarks/libMicro/benchmark_initrun.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * default implementation (nop) of benchmark_initrun
- */
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "libmicro.h"
-
-int
-benchmark_initrun()
-{
- return (0);
-}
diff --git a/src/tests/system/benchmarks/libMicro/benchmark_initworker.c
b/src/tests/system/benchmarks/libMicro/benchmark_initworker.c
deleted file mode 100644
index 29b487c..0000000
--- a/src/tests/system/benchmarks/libMicro/benchmark_initworker.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * default implementation (nop) of benchmark_initworker
- */
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "libmicro.h"
-
-/*ARGSUSED*/
-int
-benchmark_initworker(void *tsd)
-{
- return (0);
-}
diff --git a/src/tests/system/benchmarks/libMicro/benchmark_optswitch.c
b/src/tests/system/benchmarks/libMicro/benchmark_optswitch.c
deleted file mode 100644
index d46ee2f..0000000
--- a/src/tests/system/benchmarks/libMicro/benchmark_optswitch.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * default implementation (nop) of benchmark_optswitch
- */
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "libmicro.h"
-
-/*ARGSUSED*/
-int
-benchmark_optswitch(int opt, char *optarg)
-{
- return (0);
-}
diff --git a/src/tests/system/benchmarks/libMicro/benchmark_result.c
b/src/tests/system/benchmarks/libMicro/benchmark_result.c
deleted file mode 100644
index c8ab2f2..0000000
--- a/src/tests/system/benchmarks/libMicro/benchmark_result.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * default implementation (nop) of benchmark_result
- */
-
-#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "libmicro.h"
-
-char *
-benchmark_result()
-{
- static char result = '\0';
-
- return (&result);
-}
diff --git a/src/tests/system/benchmarks/libMicro/bind.c
b/src/tests/system/benchmarks/libMicro/bind.c
deleted file mode 100644
index bd8e43b..0000000
--- a/src/tests/system/benchmarks/libMicro/bind.c
+++ /dev/null
@@ -1,163 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms
- * of the Common Development and Distribution License
- * (the "License"). You may not use this file except
- * in compliance with the License.
- *
- * You can obtain a copy of the license at
- * src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing
- * permissions and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL
- * HEADER in each file and include the License file at
- * usr/src/OPENSOLARIS.LICENSE. If applicable,
- * add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your
- * own identifying information: Portions Copyright [yyyy]
- * [name of copyright owner]
- *
- * CDDL HEADER END
[ *** diff truncated: 14042 lines dropped *** ]