Date: Tue, 15 May 2012 09:01:00 +0000 (UTC) From: Grzegorz Bernacki <gber@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r235465 - in projects/nand: . bin/expr bin/kenv bin/sh bin/test cddl/contrib/dtracetoolkit cddl/contrib/dtracetoolkit/Apps cddl/contrib/dtracetoolkit/Bin cddl/contrib/dtracetoolkit/Code... Message-ID: <201205150901.q4F910rk077169@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gber Date: Tue May 15 09:01:00 2012 New Revision: 235465 URL: http://svn.freebsd.org/changeset/base/235465 Log: IFC @235464 Added: projects/nand/cddl/contrib/dtracetoolkit/Apps/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Apps/ projects/nand/cddl/contrib/dtracetoolkit/Bin/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Bin/ projects/nand/cddl/contrib/dtracetoolkit/Code/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Code/ projects/nand/cddl/contrib/dtracetoolkit/Cpu/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Cpu/ projects/nand/cddl/contrib/dtracetoolkit/Disk/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Disk/ projects/nand/cddl/contrib/dtracetoolkit/Docs/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Docs/ projects/nand/cddl/contrib/dtracetoolkit/Examples/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Examples/ projects/nand/cddl/contrib/dtracetoolkit/FS/ - copied from r235464, head/cddl/contrib/dtracetoolkit/FS/ projects/nand/cddl/contrib/dtracetoolkit/Guide - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/Guide projects/nand/cddl/contrib/dtracetoolkit/Include/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Include/ projects/nand/cddl/contrib/dtracetoolkit/Java/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Java/ projects/nand/cddl/contrib/dtracetoolkit/JavaScript/ - copied from r235464, head/cddl/contrib/dtracetoolkit/JavaScript/ projects/nand/cddl/contrib/dtracetoolkit/Kernel/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Kernel/ projects/nand/cddl/contrib/dtracetoolkit/License - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/License projects/nand/cddl/contrib/dtracetoolkit/Locks/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Locks/ projects/nand/cddl/contrib/dtracetoolkit/Man/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Man/ projects/nand/cddl/contrib/dtracetoolkit/Mem/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Mem/ projects/nand/cddl/contrib/dtracetoolkit/Misc/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Misc/ projects/nand/cddl/contrib/dtracetoolkit/Net/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Net/ projects/nand/cddl/contrib/dtracetoolkit/Notes/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Notes/ projects/nand/cddl/contrib/dtracetoolkit/Perl/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Perl/ projects/nand/cddl/contrib/dtracetoolkit/Php/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Php/ projects/nand/cddl/contrib/dtracetoolkit/Proc/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Proc/ projects/nand/cddl/contrib/dtracetoolkit/Python/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Python/ projects/nand/cddl/contrib/dtracetoolkit/README - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/README projects/nand/cddl/contrib/dtracetoolkit/Ruby/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Ruby/ projects/nand/cddl/contrib/dtracetoolkit/Shell/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Shell/ projects/nand/cddl/contrib/dtracetoolkit/Snippits/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Snippits/ projects/nand/cddl/contrib/dtracetoolkit/System/ - copied from r235464, head/cddl/contrib/dtracetoolkit/System/ projects/nand/cddl/contrib/dtracetoolkit/Tcl/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Tcl/ projects/nand/cddl/contrib/dtracetoolkit/User/ - copied from r235464, head/cddl/contrib/dtracetoolkit/User/ projects/nand/cddl/contrib/dtracetoolkit/Version - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/Version projects/nand/cddl/contrib/dtracetoolkit/Zones/ - copied from r235464, head/cddl/contrib/dtracetoolkit/Zones/ projects/nand/cddl/contrib/dtracetoolkit/dexplorer - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/dexplorer projects/nand/cddl/contrib/dtracetoolkit/dvmstat - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/dvmstat projects/nand/cddl/contrib/dtracetoolkit/errinfo - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/errinfo projects/nand/cddl/contrib/dtracetoolkit/execsnoop - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/execsnoop projects/nand/cddl/contrib/dtracetoolkit/hotkernel - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/hotkernel projects/nand/cddl/contrib/dtracetoolkit/hotuser - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/hotuser projects/nand/cddl/contrib/dtracetoolkit/install - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/install projects/nand/cddl/contrib/dtracetoolkit/iopattern - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/iopattern projects/nand/cddl/contrib/dtracetoolkit/iosnoop - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/iosnoop projects/nand/cddl/contrib/dtracetoolkit/iotop - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/iotop projects/nand/cddl/contrib/dtracetoolkit/opensnoop - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/opensnoop projects/nand/cddl/contrib/dtracetoolkit/procsystime - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/procsystime projects/nand/cddl/contrib/dtracetoolkit/rwsnoop - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/rwsnoop projects/nand/cddl/contrib/dtracetoolkit/rwtop - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/rwtop projects/nand/cddl/contrib/dtracetoolkit/statsnoop - copied unchanged from r235464, head/cddl/contrib/dtracetoolkit/statsnoop projects/nand/contrib/libpcap/pcap-netfilter-linux.c - copied unchanged from r235464, head/contrib/libpcap/pcap-netfilter-linux.c projects/nand/contrib/libpcap/pcap-netfilter-linux.h - copied unchanged from r235464, head/contrib/libpcap/pcap-netfilter-linux.h projects/nand/contrib/libpcap/pcap-tstamp.manmisc - copied unchanged from r235464, head/contrib/libpcap/pcap-tstamp.manmisc projects/nand/contrib/libpcap/pcap-tstamp.manmisc.in - copied unchanged from r235464, head/contrib/libpcap/pcap-tstamp.manmisc.in projects/nand/contrib/libpcap/pcap_list_tstamp_types.3pcap - copied unchanged from r235464, head/contrib/libpcap/pcap_list_tstamp_types.3pcap projects/nand/contrib/libpcap/pcap_list_tstamp_types.3pcap.in - copied unchanged from r235464, head/contrib/libpcap/pcap_list_tstamp_types.3pcap.in projects/nand/contrib/libpcap/pcap_set_tstamp_type.3pcap - copied unchanged from r235464, head/contrib/libpcap/pcap_set_tstamp_type.3pcap projects/nand/contrib/libpcap/pcap_set_tstamp_type.3pcap.in - copied unchanged from r235464, head/contrib/libpcap/pcap_set_tstamp_type.3pcap.in projects/nand/contrib/libpcap/pcap_tstamp_type_name_to_val.3pcap - copied unchanged from r235464, head/contrib/libpcap/pcap_tstamp_type_name_to_val.3pcap projects/nand/contrib/libpcap/pcap_tstamp_type_val_to_name.3pcap - copied unchanged from r235464, head/contrib/libpcap/pcap_tstamp_type_val_to_name.3pcap projects/nand/contrib/libpcap/test/ - copied from r235464, head/contrib/libpcap/test/ projects/nand/sbin/etherswitchcfg/ - copied from r235464, head/sbin/etherswitchcfg/ projects/nand/sys/arm/at91/board_ethernut5.c - copied unchanged from r235464, head/sys/arm/at91/board_ethernut5.c projects/nand/sys/arm/at91/std.ethernut5 - copied unchanged from r235464, head/sys/arm/at91/std.ethernut5 projects/nand/sys/arm/conf/ETHERNUT5 - copied unchanged from r235464, head/sys/arm/conf/ETHERNUT5 projects/nand/sys/arm/conf/ETHERNUT5.hints - copied unchanged from r235464, head/sys/arm/conf/ETHERNUT5.hints projects/nand/sys/boot/pc98/btx/lib/btxcsu.S - copied unchanged from r235464, head/sys/boot/pc98/btx/lib/btxcsu.S projects/nand/sys/boot/pc98/cdboot/cdboot.S - copied unchanged from r235464, head/sys/boot/pc98/cdboot/cdboot.S projects/nand/sys/boot/zfs/devicename_stubs.c - copied unchanged from r235464, head/sys/boot/zfs/devicename_stubs.c projects/nand/sys/boot/zfs/libzfs.h - copied unchanged from r235464, head/sys/boot/zfs/libzfs.h projects/nand/sys/dev/etherswitch/arswitch/ - copied from r235464, head/sys/dev/etherswitch/arswitch/ projects/nand/sys/dev/etherswitch/etherswitch.c - copied unchanged from r235464, head/sys/dev/etherswitch/etherswitch.c projects/nand/sys/dev/etherswitch/etherswitch.h - copied unchanged from r235464, head/sys/dev/etherswitch/etherswitch.h projects/nand/sys/dev/etherswitch/etherswitch_if.m - copied unchanged from r235464, head/sys/dev/etherswitch/etherswitch_if.m projects/nand/sys/dev/etherswitch/rtl8366/ - copied from r235464, head/sys/dev/etherswitch/rtl8366/ projects/nand/sys/mips/conf/AP93 - copied unchanged from r235464, head/sys/mips/conf/AP93 projects/nand/sys/mips/conf/AP93.hints - copied unchanged from r235464, head/sys/mips/conf/AP93.hints projects/nand/tools/build/options/WITH_BSD_SORT - copied unchanged from r235464, head/tools/build/options/WITH_BSD_SORT projects/nand/tools/test/sort/ - copied from r235464, head/tools/test/sort/ projects/nand/usr.bin/sort/ - copied from r235464, head/usr.bin/sort/ Deleted: projects/nand/contrib/libpcap/filtertest.c projects/nand/contrib/libpcap/findalldevstest.c projects/nand/contrib/libpcap/opentest.c projects/nand/contrib/libpcap/pcap_free_datalinks.3pcap projects/nand/contrib/libpcap/pcap_freealldevs.3pcap projects/nand/contrib/libpcap/selpolltest.c projects/nand/sys/boot/pc98/btx/lib/btxcsu.s projects/nand/sys/boot/pc98/cdboot/cdboot.s Modified: projects/nand/ObsoleteFiles.inc projects/nand/bin/expr/expr.1 projects/nand/bin/kenv/kenv.1 projects/nand/bin/kenv/kenv.c projects/nand/bin/sh/sh.1 projects/nand/bin/test/test.1 projects/nand/cddl/contrib/dtracetoolkit/dtruss projects/nand/contrib/bsnmp/snmp_usm/snmp_usm.3 projects/nand/contrib/bsnmp/snmp_vacm/snmp_vacm.3 projects/nand/contrib/compiler-rt/lib/sparc64/divmod.m4 projects/nand/contrib/compiler-rt/lib/sparc64/divsi3.S projects/nand/contrib/compiler-rt/lib/sparc64/modsi3.S projects/nand/contrib/jemalloc/ChangeLog projects/nand/contrib/jemalloc/FREEBSD-diffs projects/nand/contrib/jemalloc/VERSION projects/nand/contrib/jemalloc/doc/jemalloc.3 projects/nand/contrib/jemalloc/include/jemalloc/internal/arena.h projects/nand/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h projects/nand/contrib/jemalloc/include/jemalloc/jemalloc.h projects/nand/contrib/jemalloc/src/arena.c projects/nand/contrib/jemalloc/src/jemalloc.c projects/nand/contrib/libpcap/CHANGES projects/nand/contrib/libpcap/CREDITS projects/nand/contrib/libpcap/Makefile.in projects/nand/contrib/libpcap/README projects/nand/contrib/libpcap/VERSION projects/nand/contrib/libpcap/bpf/net/bpf_filter.c projects/nand/contrib/libpcap/config.h.in projects/nand/contrib/libpcap/configure projects/nand/contrib/libpcap/configure.in projects/nand/contrib/libpcap/ethertype.h projects/nand/contrib/libpcap/fad-getad.c projects/nand/contrib/libpcap/gencode.c projects/nand/contrib/libpcap/gencode.h projects/nand/contrib/libpcap/grammar.y projects/nand/contrib/libpcap/inet.c projects/nand/contrib/libpcap/packaging/pcap.spec.in projects/nand/contrib/libpcap/pcap-bpf.c projects/nand/contrib/libpcap/pcap-bt-linux.c projects/nand/contrib/libpcap/pcap-common.c projects/nand/contrib/libpcap/pcap-config.in projects/nand/contrib/libpcap/pcap-dag.c projects/nand/contrib/libpcap/pcap-dlpi.c projects/nand/contrib/libpcap/pcap-filter.manmisc projects/nand/contrib/libpcap/pcap-filter.manmisc.in projects/nand/contrib/libpcap/pcap-int.h projects/nand/contrib/libpcap/pcap-libdlpi.c projects/nand/contrib/libpcap/pcap-linktype.manmisc projects/nand/contrib/libpcap/pcap-linktype.manmisc.in projects/nand/contrib/libpcap/pcap-linux.c projects/nand/contrib/libpcap/pcap-savefile.manfile projects/nand/contrib/libpcap/pcap-stdinc.h projects/nand/contrib/libpcap/pcap-usb-linux.c projects/nand/contrib/libpcap/pcap-win32.c projects/nand/contrib/libpcap/pcap.3pcap projects/nand/contrib/libpcap/pcap.3pcap.in projects/nand/contrib/libpcap/pcap.c projects/nand/contrib/libpcap/pcap/bpf.h projects/nand/contrib/libpcap/pcap/pcap.h projects/nand/contrib/libpcap/pcap_activate.3pcap projects/nand/contrib/libpcap/pcap_can_set_rfmon.3pcap projects/nand/contrib/libpcap/pcap_compile.3pcap projects/nand/contrib/libpcap/pcap_compile.3pcap.in projects/nand/contrib/libpcap/pcap_datalink.3pcap projects/nand/contrib/libpcap/pcap_datalink.3pcap.in projects/nand/contrib/libpcap/pcap_datalink_name_to_val.3pcap projects/nand/contrib/libpcap/pcap_datalink_val_to_name.3pcap projects/nand/contrib/libpcap/pcap_dump_open.3pcap projects/nand/contrib/libpcap/pcap_fileno.3pcap projects/nand/contrib/libpcap/pcap_findalldevs.3pcap projects/nand/contrib/libpcap/pcap_get_selectable_fd.3pcap projects/nand/contrib/libpcap/pcap_list_datalinks.3pcap projects/nand/contrib/libpcap/pcap_list_datalinks.3pcap.in projects/nand/contrib/libpcap/pcap_loop.3pcap projects/nand/contrib/libpcap/pcap_major_version.3pcap projects/nand/contrib/libpcap/pcap_next_ex.3pcap projects/nand/contrib/libpcap/pcap_open_dead.3pcap projects/nand/contrib/libpcap/pcap_open_live.3pcap projects/nand/contrib/libpcap/pcap_open_offline.3pcap projects/nand/contrib/libpcap/pcap_set_datalink.3pcap projects/nand/contrib/libpcap/savefile.c projects/nand/contrib/libpcap/scanner.l projects/nand/contrib/libpcap/sf-pcap-ng.c projects/nand/contrib/libpcap/sf-pcap.c projects/nand/gnu/usr.bin/sort/Makefile projects/nand/lib/libbluetooth/bluetooth.3 projects/nand/lib/libc/gmon/moncontrol.3 projects/nand/lib/libc/locale/duplocale.3 projects/nand/lib/libc/locale/freelocale.3 projects/nand/lib/libc/locale/newlocale.3 projects/nand/lib/libc/locale/querylocale.3 projects/nand/lib/libc/locale/uselocale.3 projects/nand/lib/libc/locale/xlocale.3 projects/nand/lib/libc/net/nsdispatch.3 projects/nand/lib/libc/net/sctp_connectx.3 projects/nand/lib/libc/net/sctp_recvmsg.3 projects/nand/lib/libc/net/sourcefilter.3 projects/nand/lib/libc/posix1e/acl_delete_entry.3 projects/nand/lib/libc/posix1e/mac_prepare.3 projects/nand/lib/libc/rpc/publickey.3 projects/nand/lib/libc/stdio/scanf.3 projects/nand/lib/libc/stdio/wscanf.3 projects/nand/lib/libc/stdlib/getenv.3 projects/nand/lib/libc/stdlib/realpath.3 projects/nand/lib/libc/stdlib/realpath.c projects/nand/lib/libc/stdlib/strfmon.3 projects/nand/lib/libc/string/strlcpy.3 projects/nand/lib/libc/sys/setfib.2 projects/nand/lib/libelf/elf_getdata.3 projects/nand/lib/libelf/elf_strptr.3 projects/nand/lib/libelf/gelf_getphdr.3 projects/nand/lib/libelf/gelf_newehdr.3 projects/nand/lib/libgpib/gpib.3 projects/nand/lib/libjail/jail.c projects/nand/lib/libkvm/kvm_getpcpu.3 projects/nand/lib/libpcap/Makefile projects/nand/lib/libpcap/config.h projects/nand/lib/libprocstat/libprocstat.3 projects/nand/lib/libradius/libradius.3 projects/nand/lib/libtacplus/libtacplus.3 projects/nand/lib/libusb/libusb.3 projects/nand/lib/libusb/libusb20.3 projects/nand/lib/libutil/login.conf.5 projects/nand/lib/msun/man/cexp.3 projects/nand/lib/msun/man/complex.3 projects/nand/sbin/Makefile projects/nand/sbin/growfs/growfs.8 projects/nand/sbin/hastd/hast.conf.5 projects/nand/sbin/ifconfig/af_nd6.c projects/nand/sbin/ipfw/ipfw.8 projects/nand/sbin/iscontrol/iscsi.conf.5 projects/nand/sbin/mdconfig/mdconfig.8 projects/nand/sbin/setkey/setkey.8 projects/nand/share/man/man3/ATOMIC_VAR_INIT.3 projects/nand/share/man/man3/pthread.3 projects/nand/share/man/man3/pthread_condattr.3 projects/nand/share/man/man4/acpi_hp.4 projects/nand/share/man/man4/acpi_wmi.4 projects/nand/share/man/man4/ahci.4 projects/nand/share/man/man4/ath.4 projects/nand/share/man/man4/atp.4 projects/nand/share/man/man4/bpf.4 projects/nand/share/man/man4/bridge.4 projects/nand/share/man/man4/capsicum.4 projects/nand/share/man/man4/ch.4 projects/nand/share/man/man4/cpuctl.4 projects/nand/share/man/man4/cxgbe.4 projects/nand/share/man/man4/dcons.4 projects/nand/share/man/man4/ddb.4 projects/nand/share/man/man4/divert.4 projects/nand/share/man/man4/epair.4 projects/nand/share/man/man4/fdt.4 projects/nand/share/man/man4/fdtbus.4 projects/nand/share/man/man4/firewire.4 projects/nand/share/man/man4/gdb.4 projects/nand/share/man/man4/gre.4 projects/nand/share/man/man4/igb.4 projects/nand/share/man/man4/ip.4 projects/nand/share/man/man4/ipfirewall.4 projects/nand/share/man/man4/ipmi.4 projects/nand/share/man/man4/ipw.4 projects/nand/share/man/man4/isci.4 projects/nand/share/man/man4/isp.4 projects/nand/share/man/man4/iwn.4 projects/nand/share/man/man4/mac_none.4 projects/nand/share/man/man4/mac_stub.4 projects/nand/share/man/man4/mk48txx.4 projects/nand/share/man/man4/mps.4 projects/nand/share/man/man4/mwl.4 projects/nand/share/man/man4/net80211.4 projects/nand/share/man/man4/netmap.4 projects/nand/share/man/man4/ng_etf.4 projects/nand/share/man/man4/ng_nat.4 projects/nand/share/man/man4/ng_netflow.4 projects/nand/share/man/man4/ng_patch.4 projects/nand/share/man/man4/ng_socket.4 projects/nand/share/man/man4/pcm.4 projects/nand/share/man/man4/pcn.4 projects/nand/share/man/man4/psm.4 projects/nand/share/man/man4/rl.4 projects/nand/share/man/man4/run.4 projects/nand/share/man/man4/send.4 projects/nand/share/man/man4/ses.4 projects/nand/share/man/man4/siftr.4 projects/nand/share/man/man4/simplebus.4 projects/nand/share/man/man4/sis.4 projects/nand/share/man/man4/sk.4 projects/nand/share/man/man4/snd_hda.4 projects/nand/share/man/man4/snd_hdspe.4 projects/nand/share/man/man4/splash.4 projects/nand/share/man/man4/ste.4 projects/nand/share/man/man4/termios.4 projects/nand/share/man/man4/ti.4 projects/nand/share/man/man4/tl.4 projects/nand/share/man/man4/tws.4 projects/nand/share/man/man4/uhso.4 projects/nand/share/man/man4/ulpt.4 projects/nand/share/man/man4/umcs.4 projects/nand/share/man/man4/uslcom.4 projects/nand/share/man/man4/vge.4 projects/nand/share/man/man4/vr.4 projects/nand/share/man/man4/watchdog.4 projects/nand/share/man/man4/wb.4 projects/nand/share/man/man4/wpi.4 projects/nand/share/man/man4/xl.4 projects/nand/share/man/man4/xnb.4 projects/nand/share/man/man5/device.hints.5 projects/nand/share/man/man5/make.conf.5 projects/nand/share/man/man5/nsmb.conf.5 projects/nand/share/man/man5/portsnap.conf.5 projects/nand/share/man/man5/rc.conf.5 projects/nand/share/man/man5/src.conf.5 projects/nand/share/man/man7/tuning.7 projects/nand/share/man/man8/rc.8 projects/nand/share/man/man9/DB_COMMAND.9 projects/nand/share/man/man9/DECLARE_GEOM_CLASS.9 projects/nand/share/man/man9/VOP_GETACL.9 projects/nand/share/man/man9/VOP_GETEXTATTR.9 projects/nand/share/man/man9/VOP_SETACL.9 projects/nand/share/man/man9/VOP_SETEXTATTR.9 projects/nand/share/man/man9/bus_space.9 projects/nand/share/man/man9/eventtimers.9 projects/nand/share/man/man9/fail.9 projects/nand/share/man/man9/locking.9 projects/nand/share/man/man9/namei.9 projects/nand/share/man/man9/spl.9 projects/nand/share/man/man9/store.9 projects/nand/share/man/man9/usbdi.9 projects/nand/share/mk/bsd.own.mk projects/nand/share/termcap/termcap.5 projects/nand/sys/arm/arm/locore.S projects/nand/sys/arm/at91/at91_pioreg.h projects/nand/sys/arm/at91/files.at91sam9 projects/nand/sys/arm/xscale/ixp425/std.ixp425 projects/nand/sys/arm/xscale/ixp425/std.ixp435 projects/nand/sys/boot/Makefile.sparc64 projects/nand/sys/boot/arm/at91/boot2/boot2.c projects/nand/sys/boot/arm/at91/libat91/at91rm9200.h projects/nand/sys/boot/common/boot.c projects/nand/sys/boot/common/bootstrap.h projects/nand/sys/boot/i386/cdboot/Makefile projects/nand/sys/boot/i386/libi386/Makefile projects/nand/sys/boot/i386/libi386/devicename.c projects/nand/sys/boot/i386/libi386/libi386.h projects/nand/sys/boot/i386/loader/conf.c projects/nand/sys/boot/i386/loader/main.c projects/nand/sys/boot/i386/zfsboot/zfsboot.c projects/nand/sys/boot/ofw/libofw/Makefile projects/nand/sys/boot/ofw/libofw/devicename.c projects/nand/sys/boot/ofw/libofw/libofw.h projects/nand/sys/boot/pc98/btx/btx/Makefile projects/nand/sys/boot/pc98/btx/btx/btx.S projects/nand/sys/boot/pc98/btx/btxldr/Makefile projects/nand/sys/boot/pc98/btx/btxldr/btxldr.S projects/nand/sys/boot/pc98/btx/lib/Makefile projects/nand/sys/boot/pc98/cdboot/Makefile projects/nand/sys/boot/pc98/libpc98/Makefile projects/nand/sys/boot/pc98/loader/main.c projects/nand/sys/boot/sparc64/loader/Makefile projects/nand/sys/boot/sparc64/loader/main.c projects/nand/sys/boot/zfs/zfs.c projects/nand/sys/boot/zfs/zfsimpl.c projects/nand/sys/cam/cam_sim.h projects/nand/sys/cam/cam_xpt.c projects/nand/sys/cam/cam_xpt_sim.h projects/nand/sys/cddl/boot/zfs/zfsimpl.h projects/nand/sys/conf/files projects/nand/sys/dev/ahci/ahci.c projects/nand/sys/dev/ata/ata-all.c projects/nand/sys/dev/ath/if_ath_tx.c projects/nand/sys/dev/bwi/bwimac.c projects/nand/sys/dev/bwi/bwiphy.c projects/nand/sys/dev/bwi/bwirf.c projects/nand/sys/dev/bwi/if_bwi.c projects/nand/sys/dev/bwi/if_bwi_pci.c projects/nand/sys/dev/mfi/mfi_cam.c projects/nand/sys/dev/mfi/mfivar.h projects/nand/sys/dev/mvs/mvs.c projects/nand/sys/dev/siis/siis.c projects/nand/sys/dev/usb/input/ums.c projects/nand/sys/dev/vr/if_vr.c projects/nand/sys/dev/vr/if_vrreg.h projects/nand/sys/fs/nfsclient/nfs_clbio.c projects/nand/sys/fs/nfsclient/nfs_clnode.c projects/nand/sys/fs/nfsclient/nfs_clvnops.c projects/nand/sys/fs/nfsclient/nfsnode.h projects/nand/sys/fs/nfsserver/nfs_nfsdstate.c projects/nand/sys/geom/eli/g_eli_integrity.c projects/nand/sys/geom/raid/tr_raid1.c projects/nand/sys/geom/raid/tr_raid1e.c projects/nand/sys/i386/include/bootinfo.h projects/nand/sys/kern/kern_clock.c projects/nand/sys/kern/kern_synch.c projects/nand/sys/kern/kern_thread.c projects/nand/sys/kern/sched_4bsd.c projects/nand/sys/kern/sched_ule.c projects/nand/sys/kern/subr_sleepqueue.c projects/nand/sys/kern/subr_turnstile.c projects/nand/sys/mips/conf/AP96 projects/nand/sys/mips/conf/AP96.hints projects/nand/sys/mips/conf/TP-WN1043ND projects/nand/sys/mips/conf/TP-WN1043ND.hints projects/nand/sys/net/bpf.h projects/nand/sys/netinet/libalias/libalias.3 projects/nand/sys/netinet/sctp.h projects/nand/sys/netinet/sctp_asconf.c projects/nand/sys/netinet/sctp_constants.h projects/nand/sys/netinet/sctp_indata.c projects/nand/sys/netinet/sctp_input.c projects/nand/sys/netinet/sctp_output.c projects/nand/sys/netinet/sctp_pcb.c projects/nand/sys/netinet/sctp_timer.c projects/nand/sys/netinet/sctp_usrreq.c projects/nand/sys/netinet/sctputil.c projects/nand/sys/netinet/sctputil.h projects/nand/sys/netinet6/sctp6_usrreq.c projects/nand/sys/nfsclient/nfs_bio.c projects/nand/sys/nfsclient/nfs_node.c projects/nand/sys/nfsclient/nfs_vnops.c projects/nand/sys/nfsclient/nfsnode.h projects/nand/sys/sys/sdt.h projects/nand/sys/vm/device_pager.c projects/nand/sys/vm/vm.h projects/nand/sys/vm/vm_page.c projects/nand/sys/vm/vm_page.h projects/nand/sys/vm/vm_pageout.c projects/nand/sys/vm/vm_pager.c projects/nand/sys/vm/vm_pager.h projects/nand/sys/vm/vm_phys.c projects/nand/sys/vm/vm_phys.h projects/nand/tools/build/options/WITHOUT_BINUTILS projects/nand/tools/build/options/WITHOUT_ZONEINFO projects/nand/tools/build/options/WITH_CLANG_IS_CC projects/nand/tools/build/options/WITH_SHARED_TOOLCHAIN projects/nand/tools/tools/zfsboottest/zfsboottest.c projects/nand/usr.bin/Makefile projects/nand/usr.bin/dc/dc.1 projects/nand/usr.bin/make/make.1 projects/nand/usr.bin/mklocale/mklocale.1 projects/nand/usr.bin/stdbuf/stdbuf.1 projects/nand/usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.3 projects/nand/usr.sbin/bsnmpd/modules/snmp_wlan/snmp_wlan.3 projects/nand/usr.sbin/jail/jail.8 projects/nand/usr.sbin/jail/jail.conf.5 projects/nand/usr.sbin/nfsd/nfsv4.4 projects/nand/usr.sbin/ntp/doc/ntp.conf.5 projects/nand/usr.sbin/pc-sysinstall/backend/functions-disk.sh projects/nand/usr.sbin/pc-sysinstall/backend/functions.sh projects/nand/usr.sbin/pkg_install/lib/plist.c projects/nand/usr.sbin/rtprio/rtprio.c projects/nand/usr.sbin/wpa/hostapd/hostapd.conf.5 projects/nand/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 Directory Properties: projects/nand/ (props changed) projects/nand/MAINTAINERS (props changed) projects/nand/cddl/contrib/opensolaris/ (props changed) projects/nand/contrib/bind9/ (props changed) projects/nand/contrib/binutils/ (props changed) projects/nand/contrib/bzip2/ (props changed) projects/nand/contrib/com_err/ (props changed) projects/nand/contrib/compiler-rt/ (props changed) projects/nand/contrib/dialog/ (props changed) projects/nand/contrib/ee/ (props changed) projects/nand/contrib/expat/ (props changed) projects/nand/contrib/file/ (props changed) projects/nand/contrib/gcc/ (props changed) projects/nand/contrib/gdb/ (props changed) projects/nand/contrib/gdtoa/ (props changed) projects/nand/contrib/gnu-sort/ (props changed) projects/nand/contrib/groff/ (props changed) projects/nand/contrib/less/ (props changed) projects/nand/contrib/libarchive/ (props changed) projects/nand/contrib/libarchive/cpio/ (props changed) projects/nand/contrib/libarchive/libarchive/ (props changed) projects/nand/contrib/libarchive/libarchive_fe/ (props changed) projects/nand/contrib/libarchive/tar/ (props changed) projects/nand/contrib/libc++/ (props changed) projects/nand/contrib/libcxxrt/ (props changed) projects/nand/contrib/libpcap/ (props changed) projects/nand/contrib/libstdc++/ (props changed) projects/nand/contrib/llvm/ (props changed) projects/nand/contrib/llvm/tools/clang/ (props changed) projects/nand/contrib/ncurses/ (props changed) projects/nand/contrib/netcat/ (props changed) projects/nand/contrib/ntp/ (props changed) projects/nand/contrib/one-true-awk/ (props changed) projects/nand/contrib/openbsm/ (props changed) projects/nand/contrib/openpam/ (props changed) projects/nand/contrib/openresolv/ (props changed) projects/nand/contrib/pf/ (props changed) projects/nand/contrib/sendmail/ (props changed) projects/nand/contrib/tcpdump/ (props changed) projects/nand/contrib/tcsh/ (props changed) projects/nand/contrib/tnftp/ (props changed) projects/nand/contrib/top/ (props changed) projects/nand/contrib/top/install-sh (props changed) projects/nand/contrib/tzcode/stdtime/ (props changed) projects/nand/contrib/tzcode/zic/ (props changed) projects/nand/contrib/tzdata/ (props changed) projects/nand/contrib/wpa/ (props changed) projects/nand/contrib/xz/ (props changed) projects/nand/crypto/heimdal/ (props changed) projects/nand/crypto/openssh/ (props changed) projects/nand/crypto/openssl/ (props changed) projects/nand/gnu/lib/ (props changed) projects/nand/gnu/usr.bin/binutils/ (props changed) projects/nand/gnu/usr.bin/cc/cc_tools/ (props changed) projects/nand/gnu/usr.bin/gdb/ (props changed) projects/nand/lib/libc/ (props changed) projects/nand/lib/libc/stdtime/ (props changed) projects/nand/lib/libutil/ (props changed) projects/nand/lib/libz/ (props changed) projects/nand/sbin/ (props changed) projects/nand/sbin/ipfw/ (props changed) projects/nand/share/man/man4/ (props changed) projects/nand/share/mk/bsd.arch.inc.mk (props changed) projects/nand/share/zoneinfo/ (props changed) projects/nand/sys/ (props changed) projects/nand/sys/amd64/include/xen/ (props changed) projects/nand/sys/boot/ (props changed) projects/nand/sys/boot/i386/efi/ (props changed) projects/nand/sys/boot/ia64/efi/ (props changed) projects/nand/sys/boot/ia64/ski/ (props changed) projects/nand/sys/boot/powerpc/boot1.chrp/ (props changed) projects/nand/sys/boot/powerpc/ofw/ (props changed) projects/nand/sys/cddl/contrib/opensolaris/ (props changed) projects/nand/sys/conf/ (props changed) projects/nand/sys/contrib/dev/acpica/ (props changed) projects/nand/sys/contrib/dev/acpica/changes.txt (props changed) projects/nand/sys/contrib/dev/acpica/common/ (props changed) projects/nand/sys/contrib/dev/acpica/compiler/ (props changed) projects/nand/sys/contrib/dev/acpica/components/debugger/ (props changed) projects/nand/sys/contrib/dev/acpica/components/disassembler/ (props changed) projects/nand/sys/contrib/dev/acpica/components/dispatcher/ (props changed) projects/nand/sys/contrib/dev/acpica/components/events/ (props changed) projects/nand/sys/contrib/dev/acpica/components/executer/ (props changed) projects/nand/sys/contrib/dev/acpica/components/hardware/ (props changed) projects/nand/sys/contrib/dev/acpica/components/namespace/ (props changed) projects/nand/sys/contrib/dev/acpica/components/parser/ (props changed) projects/nand/sys/contrib/dev/acpica/components/resources/ (props changed) projects/nand/sys/contrib/dev/acpica/components/tables/ (props changed) projects/nand/sys/contrib/dev/acpica/components/utilities/ (props changed) projects/nand/sys/contrib/dev/acpica/include/ (props changed) projects/nand/sys/contrib/dev/acpica/os_specific/ (props changed) projects/nand/sys/contrib/octeon-sdk/ (props changed) projects/nand/sys/contrib/pf/ (props changed) projects/nand/sys/contrib/x86emu/ (props changed) projects/nand/sys/i386/conf/XENHVM (props changed) projects/nand/usr.bin/calendar/ (props changed) projects/nand/usr.bin/csup/ (props changed) projects/nand/usr.bin/procstat/ (props changed) projects/nand/usr.sbin/jail/ (props changed) projects/nand/usr.sbin/ndiscvt/ (props changed) projects/nand/usr.sbin/rtadvctl/ (props changed) projects/nand/usr.sbin/rtadvd/ (props changed) projects/nand/usr.sbin/rtsold/ (props changed) projects/nand/usr.sbin/zic/ (props changed) Modified: projects/nand/ObsoleteFiles.inc ============================================================================== --- projects/nand/ObsoleteFiles.inc Tue May 15 08:22:18 2012 (r235464) +++ projects/nand/ObsoleteFiles.inc Tue May 15 09:01:00 2012 (r235465) @@ -40,9 +40,20 @@ # 20120505: new clang import installed a redundant internal header OLD_FILES+=usr/include/clang/3.1/stdalign.h +# 20120428: MD2 removed from libmd +OLD_FILES+=usr/include/md2.h +OLD_FILES+=usr/share/man/man3/MD2Data.3.gz +OLD_FILES+=usr/share/man/man3/MD2End.3.gz +OLD_FILES+=usr/share/man/man3/MD2File.3.gz +OLD_FILES+=usr/share/man/man3/MD2FileChunk.3.gz +OLD_FILES+=usr/share/man/man3/MD2Final.3.gz +OLD_FILES+=usr/share/man/man3/MD2Init.3.gz +OLD_FILES+=usr/share/man/man3/MD2Update.3.gz +OLD_FILES+=usr/share/man/man3/md2.3.gz # 20120425: libusb version bump (r234684) OLD_LIBS+=usr/lib/libusb.so.2 OLD_LIBS+=usr/lib32/libusb.so.2 +OLD_FILES+=usr/share/man/man3/libsub_get_active_config_descriptor.3.gz # 20120415: new clang import which bumps version from 3.0 to 3.1 OLD_FILES+=usr/include/clang/3.0/altivec.h OLD_FILES+=usr/include/clang/3.0/avxintrin.h @@ -59,6 +70,17 @@ OLD_FILES+=usr/include/clang/3.0/wmmintr OLD_FILES+=usr/include/clang/3.0/x86intrin.h OLD_FILES+=usr/include/clang/3.0/xmmintrin.h OLD_DIRS+=usr/include/clang/3.0 +# 20120412: BIND 9.8.1 release notes removed +OLD_FILES+=usr/share/doc/bind9/RELEASE-NOTES-BIND-9.8.1.pdf +OLD_FILES+=usr/share/doc/bind9/RELEASE-NOTES-BIND-9.8.1.txt +OLD_FILES+=usr/share/doc/bind9/RELEASE-NOTES-BIND-9.8.1.html +OLD_FILES+=usr/share/doc/bind9/release-notes.css +# 20120330: legacy(4) moved to x86 +OLD_FILES+=usr/include/machine/legacyvar.h +# 20120324: MPI headers updated +OLD_FILES+=usr/include/dev/mpt/mpilib/mpi_inb.h +# 20120322: hwpmc_mips24k.h removed +OLD_FILES+=usr/include/dev/hwpmc/hwpmc_mips24k.h # 20120322: Update heimdal to 1.5.1. OLD_FILES+=usr/include/krb5-v4compat.h \ usr/include/krb_err.h \ @@ -103,6 +125,8 @@ OLD_LIBS+=usr/lib/libasn1.so.10 \ # 20120309: Remove fifofs header files. OLD_FILES+=usr/include/fs/fifofs/fifo.h OLD_DIRS+=usr/include/fs/fifofs +# 20120304: xlocale cleanup +OLD_FILES+=usr/include/_xlocale_ctype.h # 20120225: libarchive 3.0.3 OLD_FILES+=usr/share/man/man3/archive_read_data_into_buffer.3.gz \ usr/share/man/man3/archive_read_support_compression_all.3.gz \ Modified: projects/nand/bin/expr/expr.1 ============================================================================== --- projects/nand/bin/expr/expr.1 Tue May 15 08:22:18 2012 (r235464) +++ projects/nand/bin/expr/expr.1 Tue May 15 09:01:00 2012 (r235465) @@ -77,7 +77,7 @@ Operators with equal precedence are grou and .Ql } . .Bl -tag -width indent -.It Ar expr1 Li | Ar expr2 +.It Ar expr1 Li \&| Ar expr2 Return the evaluation of .Ar expr1 if it is neither an empty string nor zero; Modified: projects/nand/bin/kenv/kenv.1 ============================================================================== --- projects/nand/bin/kenv/kenv.1 Tue May 15 08:22:18 2012 (r235464) +++ projects/nand/bin/kenv/kenv.1 Tue May 15 09:01:00 2012 (r235465) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 13, 2009 +.Dd May 11, 2012 .Dt KENV 1 .Os .Sh NAME @@ -32,9 +32,9 @@ .Nd dump or modify the kernel environment .Sh SYNOPSIS .Nm -.Op Fl hq +.Op Fl hNq .Nm -.Op Fl q +.Op Fl qv .Ar variable Ns Op = Ns Ar value .Nm .Op Fl q @@ -54,6 +54,11 @@ name is specified, .Nm will only report that value. If the +.Fl N +option is specified, +.Nm +will only display variable names and not their values. +If the .Fl u option is specified, .Nm @@ -68,6 +73,13 @@ If the option is set, warnings normally printed as a result of being unable to perform the requested operation will be suppressed. .Pp +If the +.Fl v +option is set, the variable name will be printed out for the +environment variable in addition to the value when +.Nm +is executed with a variable name. +.Pp Variables can be added to the kernel environment using the .Pa /boot/loader.conf file, or also statically compiled into the kernel using the statement Modified: projects/nand/bin/kenv/kenv.c ============================================================================== --- projects/nand/bin/kenv/kenv.c Tue May 15 08:22:18 2012 (r235464) +++ projects/nand/bin/kenv/kenv.c Tue May 15 09:01:00 2012 (r235465) @@ -42,15 +42,17 @@ static int ksetenv(char *, char *); static int kunsetenv(char *); static int hflag = 0; +static int Nflag = 0; static int qflag = 0; static int uflag = 0; +static int vflag = 0; static void usage(void) { (void)fprintf(stderr, "%s\n%s\n%s\n", - "usage: kenv [-hq]", - " kenv [-q] variable[=value]", + "usage: kenv [-hNq]", + " kenv [-qv] variable[=value]", " kenv [-q] -u variable"); exit(1); } @@ -64,17 +66,23 @@ main(int argc, char **argv) error = 0; val = NULL; env = NULL; - while ((ch = getopt(argc, argv, "hqu")) != -1) { + while ((ch = getopt(argc, argv, "hNquv")) != -1) { switch (ch) { case 'h': hflag++; break; + case 'N': + Nflag++; + break; case 'q': qflag++; break; case 'u': uflag++; break; + case 'v': + vflag++; + break; default: usage(); } @@ -91,9 +99,9 @@ main(int argc, char **argv) argv++; argc--; } - if (hflag && (env != NULL)) + if ((hflag || Nflag) && env != NULL) usage(); - if ((argc > 0) || (uflag && (env == NULL))) + if (argc > 0 || ((uflag || vflag) && env == NULL)) usage(); if (env == NULL) { error = kdumpenv(); @@ -152,7 +160,10 @@ kdumpenv(void) if (cp == NULL) continue; *cp++ = '\0'; - printf("%s=\"%s\"\n", buf, cp); + if (Nflag) + printf("%s\n", buf); + else + printf("%s=\"%s\"\n", buf, cp); buf = cp; } return (0); @@ -167,7 +178,10 @@ kgetenv(char *env) ret = kenv(KENV_GET, env, buf, sizeof(buf)); if (ret == -1) return (ret); - printf("%s\n", buf); + if (vflag) + printf("%s=\"%s\"\n", env, buf); + else + printf("%s\n", buf); return (0); } Modified: projects/nand/bin/sh/sh.1 ============================================================================== --- projects/nand/bin/sh/sh.1 Tue May 15 08:22:18 2012 (r235464) +++ projects/nand/bin/sh/sh.1 Tue May 15 09:01:00 2012 (r235465) @@ -375,8 +375,8 @@ The following is a list of valid operato .Bl -tag -width indent .It Control operators: .Bl -column "XXX" "XXX" "XXX" "XXX" "XXX" -offset center -compact -.It Li & Ta Li && Ta Li ( Ta Li ) Ta Li \en -.It Li ;; Ta Li ;& Ta Li ; Ta Li | Ta Li || +.It Li & Ta Li && Ta Li \&( Ta Li \&) Ta Li \en +.It Li ;; Ta Li ;& Ta Li \&; Ta Li \&| Ta Li || .El .It Redirection operators: .Bl -column "XXX" "XXX" "XXX" "XXX" "XXX" -offset center -compact Modified: projects/nand/bin/test/test.1 ============================================================================== --- projects/nand/bin/test/test.1 Tue May 15 08:22:18 2012 (r235464) +++ projects/nand/bin/test/test.1 Tue May 15 09:01:00 2012 (r235465) @@ -43,7 +43,7 @@ .Nm .Ar expression .Nm \&[ -.Ar expression Cm ] +.Ar expression Cm \&] .Sh DESCRIPTION The .Nm Copied: projects/nand/cddl/contrib/dtracetoolkit/Guide (from r235464, head/cddl/contrib/dtracetoolkit/Guide) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/nand/cddl/contrib/dtracetoolkit/Guide Tue May 15 09:01:00 2012 (r235465, copy of r235464, head/cddl/contrib/dtracetoolkit/Guide) @@ -0,0 +1,91 @@ +Guide - Guide to the DTraceToolkit + + How to get started, and a table of contents. + +QuickStart + + 1. The top most useful scripts are in this directory. + 2. Try running them with "-h". Eg, "./execsnoop -h". + 3. Read Docs/Contents for a full list of scripts. + +QuickStart-by-Screenshot + + 1. Look through the examples in the Examples directory until + you see an output you like + 2. Find the script and run it + 3. Look for its man page in Man + +Not-so-QuickStart + + 1. Welcome! + 2. Check the Table of Contents below to become famaliar with the + directory structure of the DTraceToolkit. + 3. See Docs/Faq for any initial questions. + 4. Read Docs/Contents for a list of scripts. + 5. Read Docs/Readme to see where scripts are documented. + 6. Check Docs/Links for further DTrace. + 7. Once famaliar with the toolkit, the following may be useful to + add to your shell initialisation file, + PATH=$PATH:/opt/DTT/Bin + MANPATH=$MANPATH:/opt/DTT/Man + in this case assuming the toolkit was installed in /opt/DTT. + +Installation + + 1. Run ./install + This will replace any existing version of the DTraceToolkit + with this one. It will prompt. Final install location is + printed by this install script. + +Table of Contents + + DTraceToolkit-X.XX/ + Bin/ Symlinks to all the scripts + Apps/ Application specific scripts + Cpu/ Scripts for CPU analysis + Code/ Example code to practise on + Disk/ Scripts for disk I/O analysis + Docs/ Documentation + Contents Command list for the Toolkit + Faq Frequently asked questions + Links Further DTrace links + Readme Readme for using the docs + Examples/ Examples of command usage + Guide This file! + Include/ DTrace include files + Java/ Scripts for tracing Java + JavaScript/ Scripts for tracing JavaScript + Kernel/ Scripts for kernel analysis + License The CDDL license + Locks/ Scripts for lock analysis + Man/ Man pages + man1m/ Man pages for the Toolkit commands + Mem/ Scripts for memory analysis + Misc/ Misc scripts + Net/ Scripts for network analysis + Notes/ Notes on Toolkit commands + Perl/ Scripts for tracing Perl + Php/ Scripts for tracing Php + Proc/ Scripts for process analysis + Python/ Scripts for tracing Python + Ruby/ Scripts for tracing Ruby + Shell/ Scripts for tracing Shell languages + Snippits/ Snippits of D scripting + System/ Scripts for system analysis + Tcl/ Scripts for tracing Tcl + User/ Scripts for user based activity analysis + Zones/ Scripts for analysis by zone + Version DTraceToolkit version + install Install script, use for installs only + +When you type ls in the DTraceToolkit, you will be looking at the top ten +or so most useful scripts plus the top level directories. Other scripts have +been placed in meaningful subdirectories, such as Disk, Kernel, Proc, etc. + +An optional Bin directory has been provided that links to all the scripts. + +The DTraceToolkit is released under the CDDL license. It's the same open +source license that OpenSolaris has been released under. + +Thank you for using the DTraceToolkit! + Copied: projects/nand/cddl/contrib/dtracetoolkit/License (from r235464, head/cddl/contrib/dtracetoolkit/License) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/nand/cddl/contrib/dtracetoolkit/License Tue May 15 09:01:00 2012 (r235465, copy of r235464, head/cddl/contrib/dtracetoolkit/License) @@ -0,0 +1 @@ +link Docs/cddl1.txt \ No newline at end of file Copied: projects/nand/cddl/contrib/dtracetoolkit/README (from r235464, head/cddl/contrib/dtracetoolkit/README) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/nand/cddl/contrib/dtracetoolkit/README Tue May 15 09:01:00 2012 (r235465, copy of r235464, head/cddl/contrib/dtracetoolkit/README) @@ -0,0 +1 @@ +link Guide \ No newline at end of file Copied: projects/nand/cddl/contrib/dtracetoolkit/Version (from r235464, head/cddl/contrib/dtracetoolkit/Version) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/nand/cddl/contrib/dtracetoolkit/Version Tue May 15 09:01:00 2012 (r235465, copy of r235464, head/cddl/contrib/dtracetoolkit/Version) @@ -0,0 +1 @@ +DTraceToolkit version 0.99, 30-Sep-2007 Copied: projects/nand/cddl/contrib/dtracetoolkit/dexplorer (from r235464, head/cddl/contrib/dtracetoolkit/dexplorer) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/nand/cddl/contrib/dtracetoolkit/dexplorer Tue May 15 09:01:00 2012 (r235465, copy of r235464, head/cddl/contrib/dtracetoolkit/dexplorer) @@ -0,0 +1,547 @@ +#!/usr/bin/ksh +# +# dexplorer - DTrace system explorer, runs a collection of scripts. +# Written using DTrace (Solaris 10 3/05). +# +# This program automatically runs a collection of DTrace scripts to examine +# many areas of the system, and places the output in a meaningful directory +# structure that is tar'd and gzip'd. +# +# $Id: dexplorer 3 2007-08-01 10:50:08Z brendan $ +# +# USAGE: dexplorer [-yDT] [-d outputdir] [-i interval] +# +# -q # quiet mode +# -y # "yes", don't prompt for confirmation +# -D # don't delete output dir +# -T # don't create output tar.gz +# -d outputdir # output directory +# -i interval # interval for each sample +# eg, +# dexplorer # default is 5 second samples +# dexplorer -y -i30 # no prompting, with 30 second samples +# +# SEE ALSO: DTraceToolkit +# +# THANKS: David Visser, et all. for the idea and encouragement. +# +# COPYRIGHT: Copyright (c) 2005 Brendan Gregg. +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at Docs/cddl1.txt +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# CDDL HEADER END +# +# CODE: +# +# This is currently a monolithic script, and while it contains only +# a few dozen straigftforward DTrace scripts I think it's desirable to +# keep it that way. The scripts themselves have designed to be very +# generic (eg, switching on all sdt:::), and are aggregations to keep a +# limit on the size of the output. +# +# Author: Brendan Gregg [Sydney, Australia] +# +# 23-Jun-2005 Brendan Gregg Created this. +# 28-Jun-2005 " " Last update. + +# +# Default variables +# +interval=5 # time of each sample +verbose=1 # print screen output +prompt=1 # prompt before run +tar=1 # create tar file +delete=1 # delete output dirs +dtrace=/usr/sbin/dtrace # path to dtrace +root=. # default output dir +PATH=/usr/bin:/usr/sbin # safe path +dir=de_`uname -n`_`date +%Y%m%d%H%M` # OUTPUT FILENAME +samples=20 # max number of tests +current=0 # current sample + +# +# Process options +# +while getopts d:hi:qyDT name +do + case $name in + d) root=$OPTARG ;; + i) interval=$OPTARG ;; + q) verbose=0 ;; + y) prompt=0 ;; + D) delete=0 ;; + T) tar=0 ;; + h|?) cat <<-END >&2 + USAGE: dexplorer [-qyDT] [-d outputdir] [-i interval] + + -q # quiet mode + -y # "yes", don't prompt for confirmation + -D # don't delete output dir + -T # don't create output tar.gz + -d outputdir # output directory + -i interval # interval for each sample + eg, + dexplorer # default is 5 second samples + dexplorer -y -i30 # no prompting, with 30 second samples + END + exit 1 + esac +done +shift $(( OPTIND - 1 )) + +# +# Confirm path +# +if [[ "$prompt" == "1" ]] ; then + if [[ "$root" == "." ]]; then + print "Output dir will be the current dir ($PWD)." + else + print "Output dir will be $root" + fi + print -n "Hit enter for yes, or type path: " + read ans junk + if [[ "$ans" == [yY] || "$ans" == [yY]es ]]; then + print "WARNING: I didn't ask for \"$ans\"!" + print "\tI was asking for the path or just enter." + print "\tignoring \"$ans\"..." + fi + if [[ "$ans" != "" ]]; then + root=$ans + print "Output is now $root." + fi +fi + +# +# Sanity checks +# +if [[ "$interval" == *[a-zA-Z]* ]]; then + print "ERROR2: Invalid interval $interval.\n" + print "Please use a number of seconds." + exit 2 +fi +if (( ${#interval} < 1 )); then + print "ERROR3: Length of interval $interval too short.\n" + print "Minimum 1 second." + exit 3 +fi +if [[ ! -d "$root" ]]; then + print "ERROR4: Output directory \"$root\" does not exist.\n" + print "Perhaps try a mkdir first?" + print "or use an existing dir, eg \"/tmp\"" + exit 4 +fi +if [[ ! -w "$root" ]]; then + print "ERROR5: Can't write to output directory \"$root\".\n" + print "Are you logged in as root?" + print "Perhaps try another directory, eg \"/tmp\"" + exit 5 +fi +if [[ `$dtrace -b1k -qn 'BEGIN { trace(pid); exit(0); }'` == "" ]]; then + print "ERROR6: Unable to run dtrace!\n" + print "Perhaps this is a permission problem? Try running as root." + exit 6 +fi + +# calculate total time +(( total = interval * samples )) +if (( total > 180 )); then + (( total = total / 60 )) + total="$total minutes" +else + total="$total seconds" +fi + +# +# Common Functions +# +function decho { + if (( verbose )); then print "$*"; fi +} +clean="sed /^\$/d" +header='dtrace:::BEGIN { + printf("%Y, ", walltimestamp); + printf("%s %s %s %s %s, ", `utsname.sysname, `utsname.nodename, + `utsname.release, `utsname.version, `utsname.machine); + printf("%d secs\n",'$interval'); + } + profile:::tick-'$interval'sec { exit(0); } + ' +function dstatus { + if (( verbose )); then + (( percent = current * 100 / samples )) + printf "%3d%% $*\n" $percent + (( current = current + 1 )) + fi +} + +######################################## +# START # +######################################## + +# +# Make dirs +# +err=0 +cd $root +(( err = err + $? )) +mkdir $dir +(( err = err + $? )) +cd $dir +(( err = err + $? )) +base1=${PWD##*/} +base2=${dir##*/} +if [[ "$base1" != "$base2" || "$err" != "0" ]]; then + print "ERROR7: tried to mkdir $dir from $root, but something failed.\n" + print "Check directories before rerunning." + exit 7 +fi +mkdir Cpu +mkdir Disk +mkdir Mem +mkdir Net +mkdir Proc +mkdir Info + +# +# Create Log +# +decho "Starting dexplorer ver 0.76." +decho "Sample interval is $interval seconds. Total run is > $total." +( print "dexplorer ver 0.76\n------------------" +print -n "System: " +uname -a +print -n "Start: " +date ) > log + +# +# Capture Standard Info +# +args='pid,ppid,uid,gid,projid,zoneid,pset,pri,nice,' +args=$args'class,vsz,rss,time,pcpu,pmem,args' +uname -a > Info/uname-a # System +psrinfo -v > Info/psrinfo-v # CPU +prtconf > Info/prtconf # Memory (+ devices) +df -k > Info/df-k # Disk +ifconfig -a > Info/ifconfig-a # Network +ps -eo $args > Info/ps-o # Processes +uptime > Info/uptime # Load + +# +# Cpu Tests, DTrace +# + +dstatus "Interrupts by CPU..." +$dtrace -qn "$header"' + sdt:::interrupt-start { @num[cpu] = count(); } + dtrace:::END + { + printf("%-16s %16s\n", "CPU", "INTERRUPTS"); + printa("%-16d %@16d\n", @num); + } +' | $clean > Cpu/interrupt_by_cpu + +dstatus "Interrupt times..." +$dtrace -qn "$header"' + sdt:::interrupt-start { self->ts = vtimestamp; } + sdt:::interrupt-complete + /self->ts && arg0 != 0/ + { + this->devi = (struct dev_info *)arg0; + self->name = this->devi != 0 ? + stringof(`devnamesp[this->devi->devi_major].dn_name) : "?"; + this->inst = this->devi != 0 ? this->devi->devi_instance : 0; + @num[self->name, this->inst] = sum(vtimestamp - self->ts); + self->name = 0; + } + sdt:::interrupt-complete { self->ts = 0; } + dtrace:::END + { + printf("%11s %16s\n", "DEVICE", "TIME (ns)"); + printa("%10s%-3d %@16d\n", @num); + } +' | $clean > Cpu/interrupt_time + +dstatus "Dispatcher queue length by CPU..." +$dtrace -qn "$header"' + profile:::profile-1000 + { + this->num = curthread->t_cpu->cpu_disp->disp_nrunnable; + @length[cpu] = lquantize(this->num, 0, 100, 1); + } + dtrace:::END { printa(" CPU %d%@d\n", @length); } +' | $clean > Cpu/dispqlen_by_cpu + +dstatus "Sdt counts..." +$dtrace -qn "$header"' + sdt:::{ @num[probefunc, probename] = count(); } + dtrace:::END + { + printf("%-32s %-32s %10s\n", "FUNC", "NAME", "COUNT"); + printa("%-32s %-32s %@10d\n", @num); + } +' | $clean > Cpu/sdt_count + +# +# Disk Tests, DTrace +# + +dstatus "Pages paged in by process..." +$dtrace -qn "$header"' + vminfo:::pgpgin { @pg[pid, execname] = sum(arg0); } + dtrace:::END + { + printf("%6s %-16s %16s\n", "PID", "CMD", "PAGES"); + printa("%6d %-16s %@16d\n", @pg); + } +' | $clean > Disk/pgpgin_by_process + +dstatus "Files opened successfully count..." +$dtrace -qn "$header"' + syscall::open*:entry { self->file = copyinstr(arg0); self->ok = 1; } + syscall::open*:return /self->ok && arg0 != -1/ + { + @num[self->file] = count(); + } + syscall::open*:return /self->ok/ { self->file = 0; self->ok = 0; } + dtrace:::END + { + printf("%-64s %8s\n", "FILE", "COUNT"); + printa("%-64s %@8d\n", @num); + } +' | $clean > Disk/fileopen_count + +dstatus "Disk I/O size distribution by process..." +$dtrace -qn "$header"' + io:::start { @size[pid, execname] = quantize(args[0]->b_bcount); } +' | $clean > Disk/sizedist_by_process + +# +# Mem Tests, DTrace +# + +dstatus "Minor faults by process..." +$dtrace -qn "$header"' + vminfo:::as_fault { @mem[pid, execname] = sum(arg0); } + dtrace:::END + { + printf("%6s %-16s %16s\n", "PID", "CMD", "MINFAULTS"); + printa("%6d %-16s %@16d\n", @mem); + } +' | $clean > Mem/minf_by_process + + +dstatus "Vminfo data by process..." +$dtrace -qn "$header"' + vminfo::: { @data[pid, execname, probename] = sum(arg0); } + dtrace:::END + { + printf("%6s %-16s %-16s %16s\n", + "PID", "CMD", "STATISTIC", "VALUE"); + printa("%6d %-16s %-16s %@16d\n", @data); + } +' | $clean > Mem/vminfo_by_process + +# +# Net Tests, DTrace +# + +dstatus "Mib data by mib statistic..." +$dtrace -qn "$header"' + mib::: { @data[probename] = sum(arg0); } + dtrace:::END + { + printf("%-32s %16s\n", "STATISTIC", "VALUE"); + printa("%-32s %@16d\n", @data); + } +' | $clean > Net/mib_data + +dstatus "TCP write bytes by process..." +$dtrace -qn "$header"' + fbt:ip:tcp_output:entry + { + this->size = msgdsize(args[1]); + @size[pid, execname] = sum(this->size); + } + dtrace:::END + { + printf("%6s %-16s %12s\n", "PID", "CMD", "BYTES"); + printa("%6d %-16s %@12d\n", @size); + } +' | $clean > Net/tcpw_by_process + +# +# Proc Tests, DTrace +# + +dstatus "Sample process @ 1000 Hz..." +$dtrace -qn "$header"' + profile:::profile-1000 + { + @num[pid, curpsinfo->pr_psargs] = count(); + } + dtrace:::END + { + printf("%6s %12s %s\n", "PID", "SAMPLES", "ARGS"); + printa("%6d %@12d %S\n", @num); + } +' | $clean > Proc/sample_process + +dstatus "Syscall count by process..." +$dtrace -qn "$header"' + syscall:::entry { @num[pid, execname, probefunc] = count(); } + dtrace:::END + { + printf("%6s %-24s %-24s %8s\n", + "PID", "CMD", "SYSCALL", "COUNT"); + printa("%6d %-24s %-24s %@8d\n", @num); + } +' | $clean > Proc/syscall_by_process + +dstatus "Syscall count by syscall..." +$dtrace -qn "$header"' + syscall:::entry { @num[probefunc] = count(); } + dtrace:::END + { + printf("%-32s %16s\n", "SYSCALL", "COUNT"); + printa("%-32s %@16d\n", @num); + } +' | $clean > Proc/syscall_count + +dstatus "Read bytes by process..." +$dtrace -qn "$header"' + sysinfo:::readch { @bytes[pid, execname] = sum(arg0); } + dtrace:::END + { + printf("%6s %-16s %16s\n", "PID", "CMD", "BYTES"); + printa("%6d %-16s %@16d\n", @bytes); + } +' | $clean > Proc/readb_by_process + +dstatus "Write bytes by process..." +$dtrace -qn "$header"' + sysinfo:::writech { @bytes[pid, execname] = sum(arg0); } + dtrace:::END + { + printf("%6s %-16s %16s\n", "PID", "CMD", "BYTES"); + printa("%6d %-16s %@16d\n", @bytes); + } +' | $clean > Proc/writeb_by_process + +dstatus "Sysinfo counts by process..." +$dtrace -qn "$header"' + sysinfo::: { @num[pid, execname, probename] = sum(arg0); } + dtrace:::END + { + printf("%6s %-16s %-16s %16s\n", + "PID", "CMD", "STATISTIC", "COUNT"); + printa("%6d %-16s %-16s %@16d\n", @num); + } +' | $clean > Proc/sysinfo_by_process + +dstatus "New process counts with arguments..." +$dtrace -qn "$header"' + proc:::exec-success + { + @num[pid, ppid, curpsinfo->pr_psargs] = count(); + } + dtrace:::END + { + printf("%6s %6s %8s %s\n", "PID", "PPID", "COUNT", "ARGS"); + printa("%6d %6d %@8d %S\n", @num); + } +' | $clean > Proc/newprocess_count + +dstatus "Signal counts..." +$dtrace -qn "$header"' + proc:::signal-send { + @num[execname,args[2],stringof(args[1]->pr_fname)] = count(); + } + dtrace:::END + { + printf("%-16s %-8s %-16s %8s\n", + "FROM", "SIG", "TO", "COUNT"); + printa("%-16s %-8d %-16s %@8d\n", @num); + } +' | $clean > Proc/signal_count + +dstatus "Syscall error counts..." +$dtrace -qn "$header"' + syscall:::return /(int)arg0 == -1/ + { + @num[pid, execname, probefunc, errno] = count(); + } + dtrace:::END + { + printf("%6s %-16s %-32s %-6s %8s\n", + "PID", "CMD", "SYSCALL", "ERRNO", "COUNT"); + printa("%6d %-16s %-32s %-6d %@8d\n", @num); + } +' | $clean > Proc/syscall_errors + + +########### +# Done +# +( print -n "End: " +date ) >> log +decho "100% Done." +if (( tar )); then + cd .. + tar cf $dir.tar $dir + gzip $dir.tar + decho "File is $dir.tar.gz" +fi +if (( delete && tar )); then + cd $dir + # this could be all an "rm -r $dir", but since it will be run + # as root on production servers - lets be analy cautious, + rm Cpu/interrupt_by_cpu + rm Cpu/interrupt_time + rm Cpu/dispqlen_by_cpu + rm Cpu/sdt_count + rm Disk/pgpgin_by_process + rm Disk/fileopen_count + rm Disk/sizedist_by_process + rm Mem/minf_by_process + rm Mem/vminfo_by_process + rm Net/mib_data + rm Net/tcpw_by_process + rm Proc/sample_process + rm Proc/syscall_by_process + rm Proc/syscall_count + rm Proc/readb_by_process + rm Proc/writeb_by_process + rm Proc/sysinfo_by_process + rm Proc/newprocess_count + rm Proc/signal_count + rm Proc/syscall_errors + rmdir Cpu + rmdir Disk + rmdir Mem + rmdir Net + rmdir Proc + rm Info/uname-a + rm Info/psrinfo-v + rm Info/prtconf + rm Info/df-k + rm Info/ifconfig-a + rm Info/ps-o + rm Info/uptime + rmdir Info + rm log + cd .. + rmdir $dir +else + decho "Directory is $dir" +fi + Modified: projects/nand/cddl/contrib/dtracetoolkit/dtruss ============================================================================== --- projects/nand/cddl/contrib/dtracetoolkit/dtruss Tue May 15 08:22:18 2012 (r235464) +++ projects/nand/cddl/contrib/dtracetoolkit/dtruss Tue May 15 09:01:00 2012 (r235465) @@ -240,7 +240,7 @@ syscall:::entry */ /* print 3 args, return as hex */ -syscall::sigprocmask:return +syscall::lwp_sigmask:return /self->start/ { /* calculate elapsed time */ @@ -268,11 +268,10 @@ syscall::sigprocmask:return } /* print 3 args, arg0 as a string */ -syscall::access*:return, syscall::stat*:return, syscall::lstat*:return, -syscall::readlink*:return, -syscall::open*:return +syscall::open*:return, +syscall::resolvepath:return /self->start/ { /* calculate elapsed time */ @@ -330,6 +329,7 @@ syscall::*read*:return } /* print 0 arg output */ +syscall::gtime:return, syscall::*fork*:return /self->start/ { @@ -357,6 +357,9 @@ syscall::*fork*:return } /* print 1 arg output */ +syscall::brk:return, +syscall::times:return, +syscall::stime:return, syscall::close:return /self->start/ { @@ -384,7 +387,7 @@ syscall::close:return } /* print 2 arg output */ -syscall::utimes:return, +syscall::utime:return, syscall::munmap:return /self->start/ { Copied: projects/nand/cddl/contrib/dtracetoolkit/dvmstat (from r235464, head/cddl/contrib/dtracetoolkit/dvmstat) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/nand/cddl/contrib/dtracetoolkit/dvmstat Tue May 15 09:01:00 2012 (r235465, copy of r235464, head/cddl/contrib/dtracetoolkit/dvmstat) @@ -0,0 +1,250 @@ +#!/usr/bin/sh +# +# dvmstat - vmstat by PID/name/command. +# Written using DTrace (Solaris 10 3/05). +# +# This program provides vmstat like data for one particular PID, a +# process name, or when running a command. It prints statistics +# every second. +# +# $Id: dvmstat 3 2007-08-01 10:50:08Z brendan $ +# +# USAGE: dvmstat { -p PID | -n name | command } +# eg, +# dvmstat -p 1871 # examine PID 1871 +# dvmstat -n tar # examine processes called "tar" +# dvmstat df -h # run and examine "df -h" +# +# FIELDS: +# re page reclaims Kbytes +# maj major faults Kbytes +# mf minor faults Kbytes +# fr page frees Kbytes +# epi executable page ins Kbytes +# epo executable page out Kbytes +# api anonymous page ins Kbytes +# apo anonymous page outs Kbytes +# fpi filesystem page ins Kbytes +# fpo filesystem page outs Kbytes +# sy system calls number +# +# SEE ALSO: vmstat(1M) +# +# NOTES: +# +# When using dvmstat to run a command - if the command takes some time +# to execute, dvmstat will print output every second. If the command runs +# in less than a second, then the only one line of output will be printed. +# +# COPYRIGHT: Copyright (c) 2005 Brendan Gregg. +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at Docs/cddl1.txt +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# CDDL HEADER END +# +# Author: Brendan Gregg [Sydney, Australia] +# +# 12-Jun-2005 Brendan Gregg Created this. +# 08-Jan-2006 " " Last update. +# + +############################## +# --- Process Arguments --- +# + +### Default variables +opt_pid=0; opt_name=0; pid=0; pname="."; opt_command=0; command="" + +### Process options +while getopts hn:p: name +do *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205150901.q4F910rk077169>