Date: Wed, 26 Sep 2007 10:04:20 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 126818 for review Message-ID: <200709261004.l8QA4KqI093039@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126818 Change 126818 by jb@jb_freebsd1 on 2007/09/26 10:03:50 IFopensolaris Affected files ... .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/Makefile#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/README#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/baddof/Makefile#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/baddof/baddof.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/Makefile#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/badioctl.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/32/Makefile#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/64/Makefile#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/Makefile.com#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/Getopt.java#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/JDTrace.java#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/Makefile#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/jdtrace.c#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/src/Getopt.java#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/src/JDTrace.java#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/src/jdtrace.c#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/pkg/Makefile#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/pkg/Makefile.pkg#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/pkg/SUNWdtrt/Makefile#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/pkg/SUNWdtrt/pkginfo.tmpl#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/pkg/SUNWdtrt/prototype_com#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/pkg/SUNWdtrt/prototype_i386#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/pkg/SUNWdtrt/prototype_sparc#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/pkg/common/README#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/pkg/common/bld_awk_pkginfo.ksh#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/pkg/common/copyright#2 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/pkg/common/depend#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/Makefile#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/Makefile.com#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/Makefile#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/tst.clearavg2.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/tst.clearavg2.d.out#2 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/tst.subr.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/assocs/tst.invalidref.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/tst.resize1.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/tst.resize2.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.BufsizeGiga.d.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.BufsizeKilo.d.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.BufsizeMega.d.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.BufsizeTera.d.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.D_PROTO_ARG.mobadarg.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.D_PROTO_LEN.motoofew.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.D_PROTO_LEN.motoomany.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.D_PROTO_LEN.mtabadarg.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.D_PROTO_LEN.progenyofbad2.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.chillbadarg.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.copyoutbadaddr.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.copyoutstrbadaddr.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.inet_ntoa6badaddr.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.inet_ntoabadaddr.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.inet_ntopbadaddr.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/err.inet_ntopbadarg.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.inet_ntoa.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.inet_ntoa.d.out#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.inet_ntoa6.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.inet_ntoa6.d.out#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.inet_ntop.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.inet_ntop.d.out#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/bitarch.c#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/TestBean.java#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/TestDrop.java#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/TestMaxConsumers.java#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.Abort.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.Bean.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.Bean.ksh.out#2 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.Close.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.Drop.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.Drop.ksh.out#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.Enable.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.FunctionLookup.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.FunctionLookup.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.MaxConsumers.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.MaxConsumers.ksh.out#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.MultiAggPrinta.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.ProbeData.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.ProbeData.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.ProbeDescription.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.StateMachine.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/tst.StopLock.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/mdb/tst.dtracedcmd.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/mib/tst.icmp.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/mib/tst.tcp.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/mib/tst.udp.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/tst.include.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.fork.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.main.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.manypids.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.probemod.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.vfork.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/predicates/tst.predcache.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/tst.walltimestamp.d#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/tst.walltimestamp.d.out#2 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/tst.walltimestamp.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/tst.walltimestamp.ksh.out#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.printT.d#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.printT.d.out#2 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.printT.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.printT.ksh.out#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.printY.d#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.printY.d.out#2 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.printY.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.printY.ksh.out#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.create.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.discard.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.exec.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.execfail.ENOENT.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.execfail.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.exitcore.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.exitexit.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.exitkilled.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.signal.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.sigwait.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.startexit.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.func.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.mod.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.sym.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.ufunc.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.ufuncsort.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.ufuncsort.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.umod.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/tst.usym.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/tst.violentdeath.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/err.D_COMM_COMM.CommitAftCommit.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/err.D_COMM_COMM.DisjointCommit.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/err.D_DREC_COMM.DataRecAftCommit.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/err.D_PRAGMA_MALFORM.NspecExpr.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/err.D_PRAGMA_OPTSET.HugeNspecValue.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/err.D_SPEC_COMM.SpecAftCommit.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.CommitAfterDiscard.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.CommitWithZero.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.DataRecAftDiscard.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.DiscardAftCommit.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.DiscardAftDiscard.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.DiscardWithZero.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.SpeculationCommit.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.SpeculationDiscard.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/tst.TwoSpecBuffers.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/sysevent/tst.post.c#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/sysevent/tst.post.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/sysevent/tst.post_chan.c#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/sysevent/tst.post_chan.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/forker.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.argmap.d#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose1.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.dlclose3.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.entryreturn.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.forker.c#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.forker.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.reeval.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/ustack/tst.bigstack.c#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/ustack/tst.bigstack.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/vars/tst.ucaller.ksh#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/Makefile#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/pid/tst.badinstr.s#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/pid/tst.branch.s#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/pid/tst.embedded.s#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/pid/tst.ret.s#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/pid/tst.retlist.s#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/ustack/annotated_helper.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/ustack/helper_helper.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/ustack/tst.annotated_helper.d#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/ustack/tst.circstack.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/ustack/tst.circstack.s#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/ustack/tst.helper.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/i386/ustack/tst.helper_helper.d#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/Makefile#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.d.out#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.br.s#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.branch.s#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/tst.embedded.s#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/usdt/tst.tailcall.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/annotated_helper.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/helper_helper.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.annotated_helper.d#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.circstack.d#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.circstack.s#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.helper.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.helper_helper.d#3 delete .. //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/tst.trapstat.ksh#1 branch .. //depot/projects/opensolaris/contrib/opensolaris/cmd/sgs/include/debug.h#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/cmd/sgs/messages/sgs.ident#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/lib/libdtrace/common/dt_error.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/lib/libdtrace/common/dt_handle.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/lib/libdtrace/common/dt_ident.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/lib/libdtrace/common/dt_link.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/lib/libdtrace/common/dt_map.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/lib/libdtrace/common/dt_module.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/lib/libdtrace/common/dt_open.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/lib/libdtrace/common/dt_options.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/lib/libdtrace/common/dt_pid.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/lib/libdtrace/common/dt_proc.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/lib/libdtrace/common/dt_proc.h#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c#3 integrate .. //depot/projects/opensolaris/contrib/opensolaris/tools/ctf/cvt/dwarf.c#3 integrate .. //depot/projects/opensolaris/sys/contrib/opensolaris/uts/common/sys/dtrace.h#3 integrate .. //depot/projects/opensolaris/sys/contrib/opensolaris/uts/common/sys/dtrace_impl.h#3 integrate .. //depot/projects/opensolaris/sys/contrib/opensolaris/uts/common/sys/isa_defs.h#3 integrate .. //depot/projects/opensolaris/sys/contrib/opensolaris/uts/common/sys/zmod.h#3 integrate Differences ... ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/Makefile#3 (text+ko) ==== @@ -20,12 +20,28 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" include $(SRC)/Makefile.master -SUBDIRS = cmd tst pkg -include $(SRC)/cmd/dtrace/test/Makefile.subdirs +SUBDIRS = cmd tst + +ROOTOPTPKG = $(ROOT)/opt/SUNWdtrt + +include Makefile.subdirs + +install: $(ROOTOPTPKG)/README $(SUBDIRS) + +pkg: install + @cd $(PKGDEFS) pwd; $(MAKE) awk_pkginfo + @cd $(PKGDEFS)/SUNWdtrt; pwd; $(MAKE) install + +$(ROOTOPTPKG): + $(INS.dir) + +$(ROOTOPTPKG)/%: ./% $(ROOTOPTPKG) + $(RM) $@ + $(CP) $< $@ ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/baddof/Makefile#3 (text+ko) ==== @@ -20,19 +20,19 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" -include $(SRC)/Makefile.master +include $(SRC)/cmd/Makefile.cmd .KEEP_STATE: ROOTOPTPKG = $(ROOT)/opt/SUNWdtrt ROOTBIN = $(ROOTOPTPKG)/bin -LDFLAGS += -znodefs -ztextoff +LDFLAGS += $(ZNODEFS) $(ZTEXTOFF) LDLIBS = $(LDLIBS.cmd) LDLIBS += -ldtrace ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/baddof/baddof.c#3 (text+ko) ==== @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -33,36 +33,8 @@ #include <sys/varargs.h> #include <errno.h> #include <math.h> - -#define DTRACE_VERSION 1 - -typedef struct dtrace_hdl dtrace_hdl_t; -typedef struct dtrace_prog dtrace_prog_t; -typedef struct dtrace_vector dtrace_vector_t; -typedef int64_t dtrace_aggvarid_t; - -#define DTRACEIOC (('d' << 24) | ('t' << 16) | ('r' << 8)) -#define DTRACEIOC_ENABLE (DTRACEIOC | 6) /* enable probes */ - -extern dtrace_hdl_t *dtrace_open(int, int, int *); -extern dtrace_prog_t *dtrace_program_fcompile(dtrace_hdl_t *, - FILE *, uint_t, int, char *const []); -extern void *dtrace_program_dof(dtrace_hdl_t *, dtrace_prog_t *, uint_t); - -#define DOF_ID_SIZE 16 /* total size of dofh_ident[] in bytes */ +#include <dtrace.h> -typedef struct dof_hdr { - uint8_t dofh_ident[DOF_ID_SIZE]; /* identification bytes (see below) */ - uint32_t dofh_flags; /* file attribute flags (if any) */ - uint32_t dofh_hdrsize; /* size of file header in bytes */ - uint32_t dofh_secsize; /* size of section header in bytes */ - uint32_t dofh_secnum; /* number of section headers */ - uint64_t dofh_secoff; /* file offset of section headers */ - uint64_t dofh_loadsz; /* file size of loadable portion */ - uint64_t dofh_filesz; /* file size of entire DOF file */ - uint64_t dofh_pad; /* reserved for future use */ -} dof_hdr_t; - void fatal(char *fmt, ...) { @@ -180,7 +152,7 @@ } } -void +int main(int argc, char **argv) { char *filename = argv[1]; @@ -212,7 +184,7 @@ dtrace_errmsg(dtp, dtrace_errno(dtp))); } - dof = dtrace_program_dof(dtp, pgp, 0); + dof = dtrace_dof_create(dtp, pgp, 0); len = ((dof_hdr_t *)dof)->dofh_loadsz; if ((copy = malloc(len)) == NULL) @@ -231,4 +203,7 @@ corrupt(fd, copy, len); close(fd); } + + /* NOTREACHED */ + return (0); } ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/Makefile#3 (text+ko) ==== @@ -20,21 +20,20 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" -include $(SRC)/Makefile.master +include $(SRC)/cmd/Makefile.cmd .KEEP_STATE: ROOTOPTPKG = $(ROOT)/opt/SUNWdtrt ROOTBIN = $(ROOTOPTPKG)/bin -LDFLAGS += -znodefs -ztextoff +LDFLAGS += $(ZNODEFS) $(ZTEXTOFF) LDLIBS = $(LDLIBS.cmd) -LDLIBS += -ldtrace SRCS = badioctl CMDS = $(SRCS:%=$(ROOTBIN)/%) ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/badioctl.c#3 (text+ko) ==== @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -111,7 +111,7 @@ } } -void +int main() { pid_t child, parent = getpid(); @@ -139,4 +139,7 @@ WTERMSIG(status)); fflush(stdout); } + + /* NOTREACHED */ + return (0); } ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/32/Makefile#3 (text+ko) ==== @@ -20,12 +20,11 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" -include $(SRC)/Makefile.master include ../Makefile.com install: $(ROOTPROG32) $(ROOTISAEXEC) ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/64/Makefile#3 (text+ko) ==== @@ -20,12 +20,11 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" -include $(SRC)/Makefile.master include $(SRC)/Makefile.master.64 include ../Makefile.com ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/Makefile.com#3 (text+ko) ==== @@ -20,10 +20,12 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" + +include $(SRC)/cmd/Makefile.cmd .KEEP_STATE: @@ -51,6 +53,7 @@ $(PROG): ../$(PROG).c $(LINK.c) -o $@ ../$(PROG).c $(LDLIBS) + $(POST_PROCESS) ; $(STRIP_STABS) $(ROOTPROG32): $(ROOTBIN32) $(PROG) ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/Makefile#3 (text+ko) ==== @@ -20,12 +20,15 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" + +PROG = jdtrace +SRCS = jdtrace.c -include $(SRC)/Makefile.master +include $(SRC)/cmd/Makefile.cmd ROOTOPTPKG = $(ROOT)/opt/SUNWdtrt ROOTBIN = $(ROOTOPTPKG)/bin @@ -41,7 +44,6 @@ INSTALLED_DTRACE_JAR=/$(DTRACE_JAR) CLASSPATH=$(PROTO_DTRACE_JAR):$(INSTALLED_DTRACE_JAR) DTEST_DIR=$(SRC)/cmd/dtrace/test -SRCDIR=src CLASSDIR=classes LIBDIR=lib MANIFESTDIR=manifest @@ -52,30 +54,31 @@ CMD = $(ROOTBIN)/jdtrace XLIST = $(ROOTBIN)/exception.lst +$(PROTO_JDTRACE_JAR) := FILEMODE = 0644 $(CMD) := FILEMODE = 0555 +$(XLIST) := FILEMODE = 0444 -default: $(JDTRACE_JAR) jdtrace.exe +all: $(JDTRACE_JAR) $(PROG) clean: - $(RM) $(CLASSDIR)/*.class + -$(RM) $(CLASSDIR)/*.class clobber: clean - $(RM) $(JDTRACE_JAR) - $(RM) jdtrace.exe + -$(RM) $(JDTRACE_JAR) + -$(RM) $(PROG) -all: default - lint: install: all $(PROTO_JDTRACE_JAR) $(CMD) $(XLIST) -jdtrace.exe: $(SRCDIR)/jdtrace.c - $(CC) -I/usr/include $(SRCDIR)/jdtrace.c -o jdtrace.exe +$(PROG): $(SRCS) + $(LINK.c) -o $@ $(SRCS) $(LDLIBS) + $(POST_PROCESS) ; $(STRIP_STABS) -$(JDTRACE_JAR): $(SRCDIR)/JDTrace.java $(SRCDIR)/Getopt.java +$(JDTRACE_JAR): JDTrace.java Getopt.java @mkdir -p $(CLASSDIR) @mkdir -p $(LIBDIR) - $(JAVAC) -cp $(CLASSPATH) -d $(CLASSDIR) $(SRCDIR)/*.java + $(JAVAC) -cp $(CLASSPATH) -d $(CLASSDIR) *.java $(JAR) -cmf $(MANIFEST) $(JDTRACE_JAR) -C $(CLASSDIR) . $(PROTO_JDTRACE_JAR): $(ROOTLIBJAVA) @@ -96,8 +99,5 @@ $(ROOTLIBJAVA)/%.jar: $(LIBDIR)/%.jar $(INS.file) -$(ROOTBIN)/%.lst: %.lst +$(ROOTBIN)/%: % $(INS.file) - -$(ROOTBIN)/%: %.exe - $(INS.rename) ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/Makefile#3 (text+ko) ==== @@ -20,7 +20,7 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # #ident "%Z%%M% %I% %E% SMI" @@ -32,4 +32,8 @@ dstyle := TARGET += dstyle +check: FRC + @$(ECHO) "checking dstyle" + @$(MAKE) dstyle + dstyle: $(SUBDIRS) ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/Makefile.com#3 (text+ko) ==== @@ -20,12 +20,13 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" +# -include $(SRC)/Makefile.master +include $(SRC)/cmd/Makefile.cmd .KEEP_STATE: @@ -58,9 +59,9 @@ clean lint: clobber: FRC - rm -f $(CSRCS:%.c=%.exe) $(CSRCS:%.c=%.o) - rm -f $(SSRCS:%.s=%.exe) $(SSRCS:%.s=%.o) - rm -f $(DSRC:%.d=%.o) + -$(RM) $(CSRCS:%.c=%.exe) $(CSRCS:%.c=%.o) + -$(RM) $(SSRCS:%.s=%.exe) $(SSRCS:%.s=%.o) + -$(RM) $(DSRCS:%.d=%.o) install: $(ROOT_TSTS) $(ROOT_EXES) @@ -76,16 +77,20 @@ $(INS.file) %.exe: %.c - $(LINK.c) -o $@ $< $(LIBS) + $(LINK.c) -o $@ $< $(LDLIBS) + $(POST_PROCESS) ; $(STRIP_STABS) %.exe: %.o - $(CC) -o $@ $< $(LIBS) + $(LINK.c) -o $@ $< $(LDLIBS) + $(POST_PROCESS) ; $(STRIP_STABS) %.o: %.c - $(COMPILE.c) -o $@ $< $(LIBS) + $(COMPILE.c) -o $@ $< + $(POST_PROCESS_O) %.o: %.s - $(AS) $(ASFLAGS) -o $@ $< $(LIBS) + $(COMPILE.s) -o $@ $< + $(POST_PROCESS_O) scripts: FRC @cd ../cmd/scripts; pwd; $(MAKE) install ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/Makefile#3 (text+ko) ==== @@ -20,38 +20,58 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" +# include $(SRC)/Makefile.master include ../Makefile.com -fasttrap/tst.fasttrap.exe := LIBS += -ldtrace -fasttrap/tst.stack.exe := LIBS += -ldtrace +fasttrap/tst.fasttrap.exe := LDLIBS += -ldtrace +fasttrap/tst.stack.exe := LDLIBS += -ldtrace + +proc/tst.sigwait.exe := LDLIBS += -lrt + +sysevent/tst.post.exe := LDLIBS += -lsysevent +sysevent/tst.post_chan.exe := LDLIBS += -lsysevent -proc/tst.sigwait.exe := LIBS += -lrt +ustack/tst.bigstack.exe := COPTFLAG += -xO1 -GCC = /usr/sfw/bin/gcc -GCCFLAGS_sparc = -mcpu=ultrasparc -GCCFLAGS = $(GCCFLAGS_$(MACH)) +GCC = $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc pid/tst.gcc.exe: pid/tst.gcc.c - $(GCC) $(GCCFLAGS) -o pid/tst.gcc.exe pid/tst.gcc.c + $(GCC) -o pid/tst.gcc.exe pid/tst.gcc.c $(LDFLAGS) + $(POST_PROCESS) ; $(STRIP_STABS) usdt/tst.args.exe: usdt/tst.args.o usdt/args.o - $(CC) -o usdt/tst.args.exe usdt/tst.args.o usdt/args.o + $(LINK.c) -o usdt/tst.args.exe usdt/tst.args.o usdt/args.o $(LDLIBS) + $(POST_PROCESS) ; $(STRIP_STABS) usdt/args.o: usdt/args.d usdt/tst.args.o - /usr/sbin/dtrace -G -32 -o usdt/args.o -s usdt/args.d usdt/tst.args.o + $(COMPILE.d) -o usdt/args.o -s usdt/args.d usdt/tst.args.o usdt/tst.argmap.exe: usdt/tst.argmap.o usdt/argmap.o - $(CC) -o usdt/tst.argmap.exe usdt/tst.argmap.o usdt/argmap.o + $(LINK.c) -o usdt/tst.argmap.exe usdt/tst.argmap.o usdt/argmap.o \ + $(LDLIBS) + $(POST_PROCESS) ; $(STRIP_STABS) usdt/argmap.o: usdt/argmap.d usdt/tst.argmap.o - /usr/sbin/dtrace -G -32 -o usdt/argmap.o -s usdt/argmap.d \ - usdt/tst.argmap.o + $(COMPILE.d) -o usdt/argmap.o -s usdt/argmap.d usdt/tst.argmap.o + +usdt/tst.forker.exe: usdt/tst.forker.o usdt/forker.o + $(LINK.c) -o usdt/tst.forker.exe usdt/tst.forker.o usdt/forker.o \ + $(LDLIBS) + $(POST_PROCESS) ; $(STRIP_STABS) + +usdt/forker.o: usdt/forker.d usdt/tst.forker.o + $(COMPILE.d) -o usdt/forker.o -s usdt/forker.d usdt/tst.forker.o + +usdt/tst.forker.o: usdt/forker.h + +usdt/forker.h: usdt/forker.d + $(DTRACE) -h -s usdt/forker.d -o usdt/forker.h SUBDIRS = java_api include ../../Makefile.subdirs ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/tst.clearavg2.d#3 (text+ko) ==== @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -50,7 +50,7 @@ } tick-100ms -/x <= 20/ +/x > 5 && x <= 20/ { printa(" %@d\n", @time); clear(@time); ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/tst.clearavg2.d.out#2 (text+ko) ==== @@ -13,9 +13,4 @@ 0 0 0 - 0 - 0 - 0 - 0 - 0 ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/tst.subr.d#3 (text+ko) ==== @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -95,6 +95,9 @@ INTFUNC(ntohs(0x1234)) INTFUNC(ntohl(0x12345678)) INTFUNC(ntohll(0x1234567890abcdefL)) +STRFUNC(inet_ntoa((ipaddr_t *)alloca(sizeof (ipaddr_t)))) +STRFUNC(inet_ntoa6((in6_addr_t *)alloca(sizeof (in6_addr_t)))) +STRFUNC(inet_ntop(AF_INET, (void *)alloca(sizeof (ipaddr_t)))) BEGIN /subr == DIF_SUBR_MAX + 1/ ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/tst.resize1.d#3 (text+ko) ==== @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -36,27 +36,14 @@ * Options and Tunables/bufresize * * NOTES: - * On some small memory machines, this test may consume so much memory - * that it induces memory allocation failure in the dtrace library. This - * will manifest itself as an error like one of the following: - * - * dtrace: processing aborted: Memory allocation failure - * dtrace: could not enable tracing: Memory allocation failure - * - * These actually indicate that the test performed as expected; failures - * of the above nature should therefore be ignored. If 32-bit libdtrace - * is used to execute this test on a 64-bit kernel, the failure mode - * becomes exceedingly likely because the kernel may be able to allocate - * a huge hunk of memory that then requires the client to match it with - * a malloc that exhausts the remainder of its 4GB address space. For - * this reason, we no-op the test for 32-bit clients using an ifdef. + * We use the undocumented "preallocate" option to make sure dtrace(1M) + * has enough space in its heap to allocate a buffer as large as the + * kernel's trace buffer. */ +#pragma D option preallocate=100t #pragma D option bufresize=auto - -#ifdef __SUNW_D_64 #pragma D option bufsize=100t -#endif BEGIN { ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/tst.resize2.d#3 (text+ko) ==== @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -36,18 +36,12 @@ * Options and Tunables/bufresize * * NOTES: - * On some small memory machines, this test may consume so much memory - * that it induces memory allocation failure in the dtrace library. This - * will manifest itself as an error like one of the following: - * - * dtrace: processing aborted: Memory allocation failure - * dtrace: could not enable tracing: Memory allocation failure - * - * These actually indicate that the test performed as expected; failures - * of the above nature should therefore be ignored. - * + * We use the undocumented "preallocate" option to make sure dtrace(1M) + * has enough space in its heap to allocate a buffer as large as the + * kernel's trace buffer. */ +#pragma D option preallocate=100t #pragma D option bufresize=auto #pragma D option aggsize=100t ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.BufsizeGiga.d.ksh#3 (text+ko) ==== @@ -1,5 +1,3 @@ -#!/bin/ksh -p - # # CDDL HEADER START # @@ -22,11 +20,11 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" # # ASSERTION: @@ -35,18 +33,6 @@ # SECTION: dtrace Utility/-b Option # -script() -{ - $dtrace -b 1g -s /dev/stdin <<EOF - BEGIN - { - printf("This test should compile.\n"); - exit(0); - } - -EOF -} - if [ $# != 1 ]; then echo expected one argument: '<'dtrace-path'>' exit 2 @@ -54,11 +40,6 @@ dtrace=$1 -script -status=$? +$dtrace -b 1g -b 2g -e -if [ "$status" -ne 0 ]; then - echo $tst: dtrace failed -fi - -exit $status +exit $? ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.BufsizeKilo.d.ksh#3 (text+ko) ==== @@ -1,4 +1,3 @@ -#!/bin/ksh -p # # CDDL HEADER START # @@ -21,32 +20,19 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" -## -# +# # ASSERTION: # The trace buffer size can include any of the size suffixes k, m, g or t # # SECTION: dtrace Utility/-b Option # -## -script() -{ - $dtrace -b 1k -b 2k -s /dev/stdin <<EOF - BEGIN - { - printf("This test should compile.\n"); - exit(0); - } -EOF -} - if [ $# != 1 ]; then echo expected one argument: '<'dtrace-path'>' exit 2 @@ -54,11 +40,6 @@ dtrace=$1 -script -status=$? +$dtrace -b 1k -b 2k -e -if [ "$status" -ne 0 ]; then - echo $tst: dtrace failed -fi - -exit $status +exit $? ==== //depot/projects/opensolaris/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/tst.BufsizeMega.d.ksh#3 (text+ko) ==== @@ -1,4 +1,3 @@ -#!/bin/ksh -p # # CDDL HEADER START # @@ -21,32 +20,19 @@ # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" -## # # ASSERTION: # The trace buffer size can include any of the size suffixes k, m, g or t # # SECTION: dtrace Utility/-b Option # -## -script() -{ - $dtrace -b 1m -b 2m -s /dev/stdin <<EOF - BEGIN - { - printf("This test should compile.\n"); - exit(0); - } -EOF -} - if [ $# != 1 ]; then echo expected one argument: '<'dtrace-path'>' exit 2 @@ -54,11 +40,6 @@ dtrace=$1 -script >>> TRUNCATED FOR MAIL (1000 lines) <<<
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709261004.l8QA4KqI093039>