svn commit: r264363 - head/share/man/man9

2014-04-11 Thread Mark Johnston
Author: markj Date: Fri Apr 11 22:45:12 2014 New Revision: 264363 URL: http://svnweb.freebsd.org/changeset/base/264363 Log: Update the SDT(9) examples to reflect the removal of the sname parameter in r258622. MFC after:3 days Modified: head/share/man/man9/SDT.9 Modified: head/shar

Re: svn commit: r264402 - in head/share: examples/etc man/man5 mk

2014-04-13 Thread Mark Johnston
On Sun, Apr 13, 2014 at 1:22 AM, Warner Losh wrote: > Author: imp > Date: Sun Apr 13 05:22:26 2014 > New Revision: 264402 > URL: http://svnweb.freebsd.org/changeset/base/264402 > > Log: > Convert NO_MANCOMPRESS to normal convention. This breaks installworld for me with ... install -o root -g

Re: svn commit: r264402 - in head/share: examples/etc man/man5 mk

2014-04-13 Thread Mark Johnston
ge was reverted. > > Do you have anything in your /etc/make.conf or /etc/src.conf file? Yes, but clearing them doesn't fix the problem. > > Can you send me your full install world output? Attached. > > I’ll see if I can reproduce it myself. > > Warner > > On Apr 1

svn commit: r264434 - in head/sys/cddl: contrib/opensolaris/uts/common/dtrace contrib/opensolaris/uts/common/sys contrib/opensolaris/uts/intel/dtrace dev/dtrace

2014-04-13 Thread Mark Johnston
Author: markj Date: Mon Apr 14 00:22:42 2014 New Revision: 264434 URL: http://svnweb.freebsd.org/changeset/base/264434 Log: DTrace's pid provider works by inserting breakpoint instructions at probe sites and installing a hook at the kernel's trap handler. The fasttrap code will emulate the o

svn commit: r264435 - head/sys/cddl/dev/systrace

2014-04-13 Thread Mark Johnston
Author: markj Date: Mon Apr 14 00:23:18 2014 New Revision: 264435 URL: http://svnweb.freebsd.org/changeset/base/264435 Log: Ensure that all eight syscall arguments are available to dtrace_probe(), rather than just the first five. This is done by calling dtrace_probe() through a function poin

svn commit: r264436 - head/lib/libproc

2014-04-13 Thread Mark Johnston
Author: markj Date: Mon Apr 14 00:24:04 2014 New Revision: 264436 URL: http://svnweb.freebsd.org/changeset/base/264436 Log: Fix some off-by-one errors. The kve_end and rdl_eaddr fields contain the first address after the end of the map entry and should therefore be excluded. MFC after:

svn commit: r264486 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-04-14 Thread Mark Johnston
Author: markj Date: Tue Apr 15 02:28:08 2014 New Revision: 264486 URL: http://svnweb.freebsd.org/changeset/base/264486 Log: Use the correct format specifiers for wide characters and strings of wide characters. MFC after:1 week Modified: head/cddl/contrib/opensolaris/lib/libdtrace/c

svn commit: r264487 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf

2014-04-14 Thread Mark Johnston
Author: markj Date: Tue Apr 15 02:32:00 2014 New Revision: 264487 URL: http://svnweb.freebsd.org/changeset/base/264487 Log: Replace a few Solarisisms with their corresponding FreeBSDisms to make a few printf tests pass. Modified: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/prin

svn commit: r264796 - in stable/10: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-04-22 Thread Mark Johnston
Author: markj Date: Wed Apr 23 03:26:29 2014 New Revision: 264796 URL: http://svnweb.freebsd.org/changeset/base/264796 Log: MFC r262596: 4478 dtrace_dof_maxsize is far too small illumos/illumos-gate@d339a29bb4765c4b6883a935cf69b669cd05bca0 Added: stable/10/cddl/contrib/opensolaris/cmd

svn commit: r264797 - in stable/9: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-04-22 Thread Mark Johnston
Author: markj Date: Wed Apr 23 03:30:00 2014 New Revision: 264797 URL: http://svnweb.freebsd.org/changeset/base/264797 Log: MFC r262596: 4478 dtrace_dof_maxsize is far too small illumos/illumos-gate@d339a29bb4765c4b6883a935cf69b669cd05bca0 Added: stable/9/cddl/contrib/opensolaris/cmd/

svn commit: r265073 - stable/10/lib/libproc

2014-04-28 Thread Mark Johnston
Author: markj Date: Tue Apr 29 03:36:04 2014 New Revision: 265073 URL: http://svnweb.freebsd.org/changeset/base/265073 Log: MFC r264436: Fix some off-by-one errors. The kve_end and rdl_eaddr fields contain the first address after the end of the map entry and should therefore be excluded.

svn commit: r265074 - stable/9/lib/libproc

2014-04-28 Thread Mark Johnston
Author: markj Date: Tue Apr 29 03:37:30 2014 New Revision: 265074 URL: http://svnweb.freebsd.org/changeset/base/265074 Log: MFC r264436: Fix some off-by-one errors. The kve_end and rdl_eaddr fields contain the first address after the end of the map entry and should therefore be excluded.

svn commit: r265075 - stable/10/sbin/savecore

2014-04-28 Thread Mark Johnston
Author: markj Date: Tue Apr 29 03:49:40 2014 New Revision: 265075 URL: http://svnweb.freebsd.org/changeset/base/265075 Log: MFC r262775: Log the name of the file that we failed to open rather than an uninitialized buffer. Modified: stable/10/sbin/savecore/savecore.c Directory Properties:

svn commit: r265076 - stable/9/sbin/savecore

2014-04-28 Thread Mark Johnston
Author: markj Date: Tue Apr 29 03:50:23 2014 New Revision: 265076 URL: http://svnweb.freebsd.org/changeset/base/265076 Log: MFC r262775: Log the name of the file that we failed to open rather than an uninitialized buffer. Modified: stable/9/sbin/savecore/savecore.c Directory Properties:

svn commit: r265077 - stable/9/sbin/savecore

2014-04-28 Thread Mark Johnston
Author: markj Date: Tue Apr 29 03:58:17 2014 New Revision: 265077 URL: http://svnweb.freebsd.org/changeset/base/265077 Log: Revert r265076; r262775 should not be MFC'd to stable/9. Modified: stable/9/sbin/savecore/savecore.c Directory Properties: stable/9/sbin/savecore/ (props changed) M

svn commit: r265168 - stable/9/sys/conf

2014-04-30 Thread Mark Johnston
Author: markj Date: Thu May 1 03:16:40 2014 New Revision: 265168 URL: http://svnweb.freebsd.org/changeset/base/265168 Log: MFC r262733: Use a full path to the target for make rules which create symlinks @, machine and ${MACHINE_CPUARCH}. Otherwise the presence of a file named "x86" or "x8

svn commit: r265169 - stable/10/sys/conf

2014-04-30 Thread Mark Johnston
Author: markj Date: Thu May 1 03:18:11 2014 New Revision: 265169 URL: http://svnweb.freebsd.org/changeset/base/265169 Log: MFC r262733: Use a full path to the target for make rules which create symlinks @, machine and ${MACHINE_CPUARCH}. Otherwise the presence of a file named "x86" or "x8

svn commit: r265255 - head/lib/libproc

2014-05-02 Thread Mark Johnston
Author: markj Date: Sat May 3 04:44:03 2014 New Revision: 265255 URL: http://svnweb.freebsd.org/changeset/base/265255 Log: Allow "a.out" as an alias for the executable if no other matching entries are found. This improves compatibility with Solaris' libproc and fixes a number of failing DTr

svn commit: r265273 - in stable/10: cddl/lib/libdtrace sys/cddl/contrib/opensolaris/uts/intel/dtrace sys/cddl/dev/dtrace/amd64 sys/cddl/dev/dtrace/i386 sys/cddl/dev/dtrace/x86 sys/modules/dtrace/dt...

2014-05-03 Thread Mark Johnston
Author: markj Date: Sat May 3 16:08:52 2014 New Revision: 265273 URL: http://svnweb.freebsd.org/changeset/base/265273 Log: MFC r262542: Move some files that are identical on i386 and amd64 to an x86 subdirectory rather than keeping duplicate copies. Added: stable/10/sys/cddl/dev/dtrace/x

svn commit: r265274 - in stable/9: cddl/lib/libdtrace sys/cddl/contrib/opensolaris/uts/intel/dtrace sys/cddl/dev/dtrace/amd64 sys/cddl/dev/dtrace/i386 sys/cddl/dev/dtrace/x86 sys/modules/dtrace/dtrace

2014-05-03 Thread Mark Johnston
Author: markj Date: Sat May 3 16:09:08 2014 New Revision: 265274 URL: http://svnweb.freebsd.org/changeset/base/265274 Log: MFC r262542: Move some files that are identical on i386 and amd64 to an x86 subdirectory rather than keeping duplicate copies. Added: stable/9/sys/cddl/dev/dtrace/x8

svn commit: r265276 - head/lib/libutil

2014-05-03 Thread Mark Johnston
Author: markj Date: Sat May 3 16:18:42 2014 New Revision: 265276 URL: http://svnweb.freebsd.org/changeset/base/265276 Log: Fix a typo. MFC after:3 days Modified: head/lib/libutil/kinfo_getfile.3 Modified: head/lib/libutil/kinfo_getfile.3

svn commit: r265277 - stable/10/sys/cddl/dev/dtrace/x86

2014-05-03 Thread Mark Johnston
Author: markj Date: Sat May 3 16:24:18 2014 New Revision: 265277 URL: http://svnweb.freebsd.org/changeset/base/265277 Log: MFC r262543: Fix the struct reg mappings for i386 and amd64, which differ between illumos and FreeBSD. Modified: stable/10/sys/cddl/dev/dtrace/x86/regset.h Directory

svn commit: r265278 - stable/9/sys/cddl/dev/dtrace/x86

2014-05-03 Thread Mark Johnston
Author: markj Date: Sat May 3 16:24:41 2014 New Revision: 265278 URL: http://svnweb.freebsd.org/changeset/base/265278 Log: MFC r262543: Fix the struct reg mappings for i386 and amd64, which differ between illumos and FreeBSD. Modified: stable/9/sys/cddl/dev/dtrace/x86/regset.h Directory

svn commit: r265308 - head/lib/libproc

2014-05-03 Thread Mark Johnston
Author: markj Date: Sun May 4 03:34:32 2014 New Revision: 265308 URL: http://svnweb.freebsd.org/changeset/base/265308 Log: If the traced process stops because it received a signal, libproc needs to ensure that the signal is forwarded when proc_continue() is called. MFC after:3 weeks

svn commit: r265309 - head/cddl/lib/libdtrace

2014-05-03 Thread Mark Johnston
Author: markj Date: Sun May 4 03:37:39 2014 New Revision: 265309 URL: http://svnweb.freebsd.org/changeset/base/265309 Log: Remove a duplicate definition. MFC after:3 days Modified: head/cddl/lib/libdtrace/libproc_compat.h Modified: head/cddl/lib/libdtrace/libproc_compat.h =

svn commit: r265341 - stable/9/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2014-05-04 Thread Mark Johnston
Author: markj Date: Mon May 5 01:26:28 2014 New Revision: 265341 URL: http://svnweb.freebsd.org/changeset/base/265341 Log: MFC r262661: Fix emulation of call and jmp instructions on i386 and for 32-bit processes on amd64. Modified: stable/9/sys/cddl/contrib/opensolaris/uts/intel/dtrace/f

svn commit: r265346 - stable/10/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2014-05-04 Thread Mark Johnston
Author: markj Date: Mon May 5 03:15:53 2014 New Revision: 265346 URL: http://svnweb.freebsd.org/changeset/base/265346 Log: MFC r262661: Fix emulation of call and jmp instructions on i386 and for 32-bit processes on amd64. Modified: stable/10/sys/cddl/contrib/opensolaris/uts/intel/dtrace/

svn commit: r265456 - head/libexec/rtld-elf

2014-05-06 Thread Mark Johnston
Author: markj Date: Tue May 6 18:07:58 2014 New Revision: 265456 URL: http://svnweb.freebsd.org/changeset/base/265456 Log: Add a postinit debugger hook to rtld. This will be used by dtrace(1) to halt the victim process before its entry point is called, at which point probes and DOF data are

svn commit: r265578 - head/libexec/rtld-elf

2014-05-07 Thread Mark Johnston
Author: markj Date: Wed May 7 17:21:22 2014 New Revision: 265578 URL: http://svnweb.freebsd.org/changeset/base/265578 Log: - Export the function added in r265456 rather than the non-existent _rtld_debug_postinit(). [1] - Use __compiler_membar() instead of inline asm in _r_debug_state() an

Re: svn commit: r265456 - head/libexec/rtld-elf

2014-05-07 Thread Mark Johnston
On Wed, May 7, 2014 at 8:14 AM, Bruce Simpson wrote: > Mark, > > > On 06/05/2014 19:07, Mark Johnston wrote: >> >> Log: >>Add a postinit debugger hook to rtld. This will be used by dtrace(1) to >> halt >>the victim process before its entry

svn commit: r265629 - head/lib/librtld_db

2014-05-07 Thread Mark Johnston
Author: markj Date: Thu May 8 03:26:25 2014 New Revision: 265629 URL: http://svnweb.freebsd.org/changeset/base/265629 Log: Handle the different event types properly in rd_event_addr(). In particular, with r265456 _r_debug_postinit can be used for RD_POSTINIT events. rtld(1) uses r_debug_sta

svn commit: r265630 - head/lib/librtld_db

2014-05-07 Thread Mark Johnston
Author: markj Date: Thu May 8 03:33:54 2014 New Revision: 265630 URL: http://svnweb.freebsd.org/changeset/base/265630 Log: Fix the rd_event_addr prototype and slightly clarify the use of the "event" parameter. MFC after:3 days Modified: head/lib/librtld_db/librtld_db.3 Modified:

svn commit: r265631 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-05-07 Thread Mark Johnston
Author: markj Date: Thu May 8 03:43:18 2014 New Revision: 265631 URL: http://svnweb.freebsd.org/changeset/base/265631 Log: Re-apply r248644. This fixes an annoying problem which caused dtrace -c to fail to attach to stripped binaries. With the _r_debug_postinit symbol, dtrace(1) can now set

svn commit: r251872 - head/sys/dev/age

2013-06-17 Thread Mark Johnston
Author: markj Date: Mon Jun 17 22:59:47 2013 New Revision: 251872 URL: http://svnweb.freebsd.org/changeset/base/251872 Log: Be sure to actually decrement the "count" parameter for each processed descriptor so that we return when the threshold has been reached. Reviewed by: yongari MFC

svn commit: r252087 - stable/9/share/man/man9

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 04:03:57 2013 New Revision: 252087 URL: http://svnweb.freebsd.org/changeset/base/252087 Log: MFC r251723: The functions are called pci_{msi,msix}_count(), not pci_count_{msi,msix}(). Modified: stable/9/share/man/man9/pci.9 Directory Properties: stable/9/shar

svn commit: r252088 - stable/8/share/man/man9

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 04:04:34 2013 New Revision: 252088 URL: http://svnweb.freebsd.org/changeset/base/252088 Log: MFC r251723: The functions are called pci_{msi,msix}_count(), not pci_count_{msi,msix}(). Modified: stable/8/share/man/man9/pci.9 Directory Properties: stable/8/shar

svn commit: r252089 - stable/9/sys/sys

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 04:50:25 2013 New Revision: 252089 URL: http://svnweb.freebsd.org/changeset/base/252089 Log: MFC r251166: Add macros which allow one to define SDT probes with six or seven arguments; they are needed when porting some of the Solaris providers (ip, iscsi, and t

svn commit: r252090 - stable/8/sys/sys

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 04:52:12 2013 New Revision: 252090 URL: http://svnweb.freebsd.org/changeset/base/252090 Log: MFC r251166: Add macros which allow one to define SDT probes with six or seven arguments; they are needed when porting some of the Solaris providers (ip, iscsi, and t

svn commit: r252091 - stable/9/sys/dev/coretemp

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 05:24:29 2013 New Revision: 252091 URL: http://svnweb.freebsd.org/changeset/base/252091 Log: MFC r246951: Mark the coretemp(4) sysctls as MPSAFE, ensuring that Giant won't be held unnecessarily by a user thread waiting to run on a specific CPU after calling s

svn commit: r252092 - stable/8/sys/dev/coretemp

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 05:25:12 2013 New Revision: 252092 URL: http://svnweb.freebsd.org/changeset/base/252092 Log: MFC r246951: Mark the coretemp(4) sysctls as MPSAFE, ensuring that Giant won't be held unnecessarily by a user thread waiting to run on a specific CPU after calling s

svn commit: r252093 - stable/9/usr.sbin/mfiutil

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 05:32:11 2013 New Revision: 252093 URL: http://svnweb.freebsd.org/changeset/base/252093 Log: MFC r250599: Add a remark to the effect that a manually started relearn will always result in the battery being completely drained, even in transparent learning mode.

svn commit: r252094 - stable/8/usr.sbin/mfiutil

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 05:32:45 2013 New Revision: 252094 URL: http://svnweb.freebsd.org/changeset/base/252094 Log: MFC r250599: Add a remark to the effect that a manually started relearn will always result in the battery being completely drained, even in transparent learning mode.

svn commit: r252135 - stable/9/sys/dev/age

2013-06-23 Thread Mark Johnston
Author: markj Date: Mon Jun 24 01:03:58 2013 New Revision: 252135 URL: http://svnweb.freebsd.org/changeset/base/252135 Log: MFC r251872: Be sure to actually decrement the "count" parameter for each processed descriptor so that we return when the threshold has been reached. Modified: stabl

svn commit: r252136 - stable/8/sys/dev/age

2013-06-23 Thread Mark Johnston
Author: markj Date: Mon Jun 24 01:05:51 2013 New Revision: 252136 URL: http://svnweb.freebsd.org/changeset/base/252136 Log: MFC r251872: Be sure to actually decrement the "count" parameter for each processed descriptor so that we return when the threshold has been reached. Modified: stabl

svn commit: r252137 - in stable/9/sys: . dev

2013-06-23 Thread Mark Johnston
Author: markj Date: Mon Jun 24 01:09:28 2013 New Revision: 252137 URL: http://svnweb.freebsd.org/changeset/base/252137 Log: Missed mergeinfo for r252135. Modified: Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) _

svn commit: r252325 - head/sys/cddl/dev/dtmalloc

2013-06-27 Thread Mark Johnston
Author: markj Date: Fri Jun 28 03:14:40 2013 New Revision: 252325 URL: http://svnweb.freebsd.org/changeset/base/252325 Log: The dtmalloc provider uses the short description of a malloc type as the function name of its corresponding DTrace probes. These descriptions may contain whitespace, bu

svn commit: r252493 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2013-07-01 Thread Mark Johnston
Author: markj Date: Mon Jul 1 23:12:59 2013 New Revision: 252493 URL: http://svnweb.freebsd.org/changeset/base/252493 Log: Be sure to destory the fasttrap cleanup mutex when unloading the fasttrap module. This should be MFCed with r250953. Modified: head/sys/cddl/contrib/opensolaris/uts/co

Re: svn commit: r250953 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2013-07-03 Thread Mark Johnston
On Wed, Jul 3, 2013 at 1:28 PM, Alan Somers wrote: > This creates another panic on module unload when WITNESS is enabled, > because the module exits while holding the fasttrap_cleanup_mtx. This > patch fixes the problem. I'm not sure if the mtx_destroy() is > necessary, but I would feel dirty to

svn commit: r252643 - stable/9/sys/dev/mfi

2013-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 23:15:30 2013 New Revision: 252643 URL: http://svnweb.freebsd.org/changeset/base/252643 Log: MFC r242726 (ambrisko): Add support for SCSI pass through devices to be attached and detached. MFC r251172 (sbruno): xpt_create_path() requires mfi_io_lock to be h

svn commit: r252644 - stable/8/sys/dev/mfi

2013-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 23:16:33 2013 New Revision: 252644 URL: http://svnweb.freebsd.org/changeset/base/252644 Log: MFC r242726 (ambrisko): Add support for SCSI pass through devices to be attached and detached. MFC r251172 (sbruno): xpt_create_path() requires mfi_io_lock to be h

svn commit: r252850 - in head/sys/cddl: contrib/opensolaris/uts/common/dtrace dev/dtrace

2013-07-05 Thread Mark Johnston
Author: markj Date: Fri Jul 5 22:42:10 2013 New Revision: 252850 URL: http://svnweb.freebsd.org/changeset/base/252850 Log: Hide references to mod_lock. In FreeBSD it is always acquired with the provider lock held, so its use has no effect. Modified: head/sys/cddl/contrib/opensolaris/uts/co

svn commit: r252858 - in stable/9/sys/cddl/dev: dtrace/amd64 sdt

2013-07-05 Thread Mark Johnston
Author: markj Date: Sat Jul 6 02:49:56 2013 New Revision: 252858 URL: http://svnweb.freebsd.org/changeset/base/252858 Log: MFC r251238: SDT probes can directly pass up to five arguments as arguments to dtrace_probe(). Arguments beyond these five must be obtained in an architecture-specifi

svn commit: r252859 - in stable/8/sys/cddl/dev: dtrace/amd64 sdt

2013-07-05 Thread Mark Johnston
Author: markj Date: Sat Jul 6 02:50:22 2013 New Revision: 252859 URL: http://svnweb.freebsd.org/changeset/base/252859 Log: MFC r251238: SDT probes can directly pass up to five arguments as arguments to dtrace_probe(). Arguments beyond these five must be obtained in an architecture-specifi

svn commit: r252861 - stable/8/sys/cddl/dev/dtmalloc

2013-07-05 Thread Mark Johnston
Author: markj Date: Sat Jul 6 03:40:00 2013 New Revision: 252861 URL: http://svnweb.freebsd.org/changeset/base/252861 Log: MFC r252325: The dtmalloc provider uses the short description of a malloc type as the function name of its corresponding DTrace probes. These descriptions may contain

svn commit: r252860 - stable/9/sys/cddl/dev/dtmalloc

2013-07-05 Thread Mark Johnston
Author: markj Date: Sat Jul 6 03:39:40 2013 New Revision: 252860 URL: http://svnweb.freebsd.org/changeset/base/252860 Log: MFC r252325: The dtmalloc provider uses the short description of a malloc type as the function name of its corresponding DTrace probes. These descriptions may contain

svn commit: r252894 - head/sys/sys

2013-07-06 Thread Mark Johnston
Author: markj Date: Sat Jul 6 20:21:35 2013 New Revision: 252894 URL: http://svnweb.freebsd.org/changeset/base/252894 Log: Add SDT_PROBE_DEFINE0 for consistency with SDT_PROBE0. MFC after:1 week Modified: head/sys/sys/sdt.h Modified: head/sys/sys/sdt.h =

svn commit: r252895 - head/share/man/man9

2013-07-06 Thread Mark Johnston
/share/man/man9/SDT.9 Sat Jul 6 20:31:22 2013(r252895) @@ -0,0 +1,243 @@ +.\" Copyright (c) 2013 Mark Johnston +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that

svn commit: r253022 - head/sys/sys

2013-07-07 Thread Mark Johnston
Author: markj Date: Mon Jul 8 02:03:18 2013 New Revision: 253022 URL: http://svnweb.freebsd.org/changeset/base/253022 Log: Also define SDT_PROBE_DEFINE0 for the !KDTRACE_HOOKS case. Modified: head/sys/sys/sdt.h Modified: head/sys/sys/sdt.h ===

svn commit: r248104 - head/sys/dev/ichwd

2013-03-09 Thread Mark Johnston
Author: markj Date: Sat Mar 9 15:04:44 2013 New Revision: 248104 URL: http://svnweb.freebsd.org/changeset/base/248104 Log: Don't log a message when the watchdog is reloaded. It's not useful to do so and these messages flood the log when bootverbose is enabled. Approved by: rstone (co-me

svn commit: r248214 - head/usr.bin/grep/regex

2013-03-12 Thread Mark Johnston
Author: markj Date: Tue Mar 12 19:18:10 2013 New Revision: 248214 URL: http://svnweb.freebsd.org/changeset/base/248214 Log: Revert r246917, as it is causing incorrect behaviour as reported on freebsd-current. PR: bin/175213 Approved by: emaste (co-mentor) Modified: head/us

svn commit: r248215 - stable/9/usr.bin/grep/regex

2013-03-12 Thread Mark Johnston
Author: markj Date: Tue Mar 12 19:28:41 2013 New Revision: 248215 URL: http://svnweb.freebsd.org/changeset/base/248215 Log: MFC r248214: Revert r246917, as it is causing incorrect behaviour as reported on freebsd-current. Approved by: emaste (co-mentor) Modified: stable/9/usr.bi

Re: svn commit: r244915 - head/share/mk

2013-03-24 Thread Mark Johnston
On Sun, Mar 24, 2013 at 11:47:57AM -0700, Gleb Kurtsou wrote: > On (31/12/2012 21:54), Mark Johnston wrote: > > Author: markj > > Date: Mon Dec 31 21:54:43 2012 > > New Revision: 244915 > > URL: http://svnweb.freebsd.org/changeset/base/244915 > > > >

svn commit: r248742 - head/share/mk

2013-03-26 Thread Mark Johnston
Author: markj Date: Tue Mar 26 18:46:40 2013 New Revision: 248742 URL: http://svnweb.freebsd.org/changeset/base/248742 Log: Make sure to set OBJS consistently in the cases where SRCS is and isn't already defined. Setting it with "+=" makes it possible for other make scripts (e.g. bsd.dtrace.

svn commit: r248744 - head/usr.sbin/watchdogd

2013-03-26 Thread Mark Johnston
Author: markj Date: Tue Mar 26 19:43:18 2013 New Revision: 248744 URL: http://svnweb.freebsd.org/changeset/base/248744 Log: Invert the meaning of -S (added in r247405) and document its meaning. Also, don't carp about the watchdog command taking too long until after the watchdog has been patt

svn commit: r248776 - head/usr.sbin/newsyslog

2013-03-26 Thread Mark Johnston
Author: markj Date: Tue Mar 26 23:11:30 2013 New Revision: 248776 URL: http://svnweb.freebsd.org/changeset/base/248776 Log: Fix interval-based rotations when the -t flag is used. In this case, find the most-recently archived logfile and use its mtime to determine whether or not to rotate, as

svn commit: r248806 - head/share/mk

2013-03-27 Thread Mark Johnston
Author: markj Date: Thu Mar 28 04:13:52 2013 New Revision: 248806 URL: http://svnweb.freebsd.org/changeset/base/248806 Log: Make sure that ${SHLIB_NAME}.debug and ${SHLIB_NAME}.symbols are always deleted by a "make clean" when DEBUG_FLAGS is set. Reported by: gleb Approved by: emaste

svn commit: r248851 - head/sys/net

2013-03-28 Thread Mark Johnston
Author: markj Date: Thu Mar 28 20:37:07 2013 New Revision: 248851 URL: http://svnweb.freebsd.org/changeset/base/248851 Log: Ignore interface renames instead of removing the interface from the bridge group. Reviewed by: rstone Approved by: rstone (co-mentor) Sponsored by: Sandvine In

svn commit: r249257 - in head: sys/dev/mfi usr.sbin/mfiutil

2013-04-08 Thread Mark Johnston
Author: markj Date: Mon Apr 8 17:46:45 2013 New Revision: 249257 URL: http://svnweb.freebsd.org/changeset/base/249257 Log: Add support for getting and setting BBU properties related to battery relearning. Specifically, add subcommands to mfiutil(8) which allow the user to set the BBU and au

svn commit: r249258 - head/usr.sbin/mfiutil

2013-04-08 Thread Mark Johnston
Author: markj Date: Mon Apr 8 18:25:07 2013 New Revision: 249258 URL: http://svnweb.freebsd.org/changeset/base/249258 Log: Switch to a 2-clause license. Approved by: emaste (co-mentor) X-MFC with: r249257 Modified: head/usr.sbin/mfiutil/mfi_bbu.c Modified: head/usr.sbin/mfiutil/mf

Re: svn commit: r248644 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2013-04-20 Thread Mark Johnston
On Sat, Mar 23, 2013 at 08:57:54AM +, Andriy Gapon wrote: > Author: avg > Date: Sat Mar 23 08:57:54 2013 > New Revision: 248644 > URL: http://svnweb.freebsd.org/changeset/base/248644 > > Log: > dtrace: ensure that we can always catch a process (e.g. when -c is used) > > It is not guaran

Re: svn commit: r249848 - head/sys/netinet

2013-04-24 Thread Mark Johnston
On Wed, Apr 24, 2013 at 06:30:32PM +, Randall Stewart wrote: > Author: rrs > Date: Wed Apr 24 18:30:32 2013 > New Revision: 249848 > URL: http://svnweb.freebsd.org/changeset/base/249848 > > Log: > This fixes the issue with the "randomly changing" default > route. What it was is there are t

svn commit: r261820 - stable/10/usr.sbin/newsyslog

2014-02-12 Thread Mark Johnston
Author: markj Date: Thu Feb 13 04:54:47 2014 New Revision: 261820 URL: http://svnweb.freebsd.org/changeset/base/261820 Log: MFC r257600: Initialize the struct tm before handing it to strptime(3). Modified: stable/10/usr.sbin/newsyslog/newsyslog.c Directory Properties: stable/10/ (props

svn commit: r261822 - stable/8/usr.sbin/newsyslog

2014-02-12 Thread Mark Johnston
Author: markj Date: Thu Feb 13 04:55:46 2014 New Revision: 261822 URL: http://svnweb.freebsd.org/changeset/base/261822 Log: MFC r257600: Initialize the struct tm before handing it to strptime(3). Modified: stable/8/usr.sbin/newsyslog/newsyslog.c Directory Properties: stable/8/usr.sbin/new

svn commit: r261821 - stable/9/usr.sbin/newsyslog

2014-02-12 Thread Mark Johnston
Author: markj Date: Thu Feb 13 04:55:18 2014 New Revision: 261821 URL: http://svnweb.freebsd.org/changeset/base/261821 Log: MFC r257600: Initialize the struct tm before handing it to strptime(3). Modified: stable/9/usr.sbin/newsyslog/newsyslog.c Directory Properties: stable/9/usr.sbin/new

svn commit: r262012 - stable/8/sys/kern

2014-02-16 Thread Mark Johnston
Author: markj Date: Mon Feb 17 05:06:43 2014 New Revision: 262012 URL: http://svnweb.freebsd.org/changeset/base/262012 Log: MFC r249514 (by gnn): Point args[0] not at the thread that is ending but at the one that is starting. This is in line with practice in OpenSolaris. Note that this

svn commit: r262013 - stable/9/sys/kern

2014-02-16 Thread Mark Johnston
Author: markj Date: Mon Feb 17 05:07:09 2014 New Revision: 262013 URL: http://svnweb.freebsd.org/changeset/base/262013 Log: MFC r260043: The arguments to sched:::off-cpu are the thread and associated process of the thread selected to run, not the currently running thread. Modified: stable

svn commit: r262014 - stable/10/sys/kern

2014-02-16 Thread Mark Johnston
Author: markj Date: Mon Feb 17 05:07:43 2014 New Revision: 262014 URL: http://svnweb.freebsd.org/changeset/base/262014 Log: MFC r260043: The arguments to sched:::off-cpu are the thread and associated process of the thread selected to run, not the currently running thread. Modified: stable

svn commit: r262060 - stable/10/cddl/contrib/opensolaris/lib/libdtrace/common

2014-02-17 Thread Mark Johnston
Author: markj Date: Mon Feb 17 14:51:02 2014 New Revision: 262060 URL: http://svnweb.freebsd.org/changeset/base/262060 Log: MFC r260051: When clearing relocations to __dtrace* symbols, handle both SHT_REL and SHT_RELA sections properly instead of assuming that the relocation section is of

svn commit: r262061 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2014-02-17 Thread Mark Johnston
Author: markj Date: Mon Feb 17 14:52:06 2014 New Revision: 262061 URL: http://svnweb.freebsd.org/changeset/base/262061 Log: MFC r260051: When clearing relocations to __dtrace* symbols, handle both SHT_REL and SHT_RELA sections properly instead of assuming that the relocation section is of

svn commit: r262137 - in stable/10: share/man/man4 sys/conf sys/dev/usb sys/dev/usb/net sys/modules/usb sys/modules/usb/axge

2014-02-17 Thread Mark Johnston
Author: markj Date: Mon Feb 17 22:40:05 2014 New Revision: 262137 URL: http://svnweb.freebsd.org/changeset/base/262137 Log: MFC r258036: Add IDs for the ASIX 88179 and 88178A USB to GigE adapters. MFC r258331: Import the axge(4) driver for the ASIX AX88178A and AX88179 USB Ethernet ad

svn commit: r262138 - in stable/9: share/man/man4 sys/conf sys/dev/usb sys/dev/usb/net sys/modules/usb sys/modules/usb/axge

2014-02-17 Thread Mark Johnston
Author: markj Date: Mon Feb 17 22:43:07 2014 New Revision: 262138 URL: http://svnweb.freebsd.org/changeset/base/262138 Log: MFC r258036: Add IDs for the ASIX 88179 and 88178A USB to GigE adapters. MFC r258331: Import the axge(4) driver for the ASIX AX88178A and AX88179 USB Ethernet ad

svn commit: r262325 - head/sys/kern

2014-02-21 Thread Mark Johnston
Author: markj Date: Sat Feb 22 01:41:45 2014 New Revision: 262325 URL: http://svnweb.freebsd.org/changeset/base/262325 Log: Print a backtrace if the SDT(9) stub gets called so that there's at least some hope of figuring out how it happened. Suggested by: rstone MFC after:1 week Mod

svn commit: r262329 - head/sys/cddl/compat/opensolaris/sys

2014-02-21 Thread Mark Johnston
Author: markj Date: Sat Feb 22 05:13:35 2014 New Revision: 262329 URL: http://svnweb.freebsd.org/changeset/base/262329 Log: Define the KM_NORMALPRI flag for kmem_alloc(), as it is used in some upstream DTrace code. It indicates that the kernel memory allocator need not attempt to satisfy non

svn commit: r262330 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering cddl/contrib/opensolaris/lib/libdtrace/common sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-02-21 Thread Mark Johnston
Author: markj Date: Sat Feb 22 05:18:55 2014 New Revision: 262330 URL: http://svnweb.freebsd.org/changeset/base/262330 Log: 1452 DTrace buffer autoscaling should be less violent illumos/illumos-gate@6fb4854bed54ce82bd8610896b64ddebcd4af706 This fixes the tst.resize1.d and tst.resize2.d

svn commit: r262466 - head/sys/cddl/dev/systrace

2014-02-24 Thread Mark Johnston
Author: markj Date: Tue Feb 25 02:58:11 2014 New Revision: 262466 URL: http://svnweb.freebsd.org/changeset/base/262466 Log: Make all 8 syscall arguments available to syscall probes in the same way that this is done for SDT probes. This fixes the syscall/tst.args.d test, which was failing bec

svn commit: r262508 - head/sys/cddl/dev/systrace

2014-02-25 Thread Mark Johnston
Author: markj Date: Wed Feb 26 01:00:00 2014 New Revision: 262508 URL: http://svnweb.freebsd.org/changeset/base/262508 Log: Revert r262466, as it does not compile on PowerPC. Reported by: jhibbits Modified: head/sys/cddl/dev/systrace/systrace.c Modified: head/sys/cddl/dev/systrace/syst

Re: svn commit: r262466 - head/sys/cddl/dev/systrace

2014-02-25 Thread Mark Johnston
On Tue, Feb 25, 2014 at 03:17:56PM -0800, Justin Hibbits wrote: > I think this broke powerpc building. I see the following build failure: > > cc1: warnings being treated as errors > /home/chmeee/freebsd/head/sys/modules/dtrace/systrace/../../../cddl/dev/systrace/systrace.c: > In function 'systrac

svn commit: r262542 - in head: cddl/lib/libdtrace sys/cddl/contrib/opensolaris/uts/intel/dtrace sys/cddl/dev/dtrace/amd64 sys/cddl/dev/dtrace/i386 sys/cddl/dev/dtrace/x86 sys/modules/dtrace/dtrace

2014-02-26 Thread Mark Johnston
Author: markj Date: Thu Feb 27 01:04:35 2014 New Revision: 262542 URL: http://svnweb.freebsd.org/changeset/base/262542 Log: Move some files that are identical on i386 and amd64 to an x86 subdirectory rather than keeping duplicate copies. Discussed with: avg MFC after:1 week A

svn commit: r262543 - head/sys/cddl/dev/dtrace/x86

2014-02-26 Thread Mark Johnston
Author: markj Date: Thu Feb 27 01:24:47 2014 New Revision: 262543 URL: http://svnweb.freebsd.org/changeset/base/262543 Log: Fix the struct reg mappings for i386 and amd64, which differ between illumos and FreeBSD. Submitted by: Prashanth Kumar MFC after:2 weeks Modified: head/sy

svn commit: r262595 - vendor-sys/illumos/dist/uts/common/dtrace vendor/illumos/dist/cmd/dtrace/test/tst/common/misc

2014-02-27 Thread Mark Johnston
Author: markj Date: Fri Feb 28 01:53:37 2014 New Revision: 262595 URL: http://svnweb.freebsd.org/changeset/base/262595 Log: 4478 dtrace_dof_maxsize is far too small illumos/illumos-gate@d339a29bb4765c4b6883a935cf69b669cd05bca0 Modified: vendor-sys/illumos/dist/uts/common/dtrace/dtrace.c

svn commit: r262595 - vendor-sys/illumos/dist/uts/common/dtrace vendor/illumos/dist/cmd/dtrace/test/tst/common/misc

2014-02-27 Thread Mark Johnston
Author: markj Date: Fri Feb 28 01:53:37 2014 New Revision: 262595 URL: http://svnweb.freebsd.org/changeset/base/262595 Log: 4478 dtrace_dof_maxsize is far too small illumos/illumos-gate@d339a29bb4765c4b6883a935cf69b669cd05bca0 Added: vendor/illumos/dist/cmd/dtrace/test/tst/common/misc/ts

svn commit: r262596 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-02-27 Thread Mark Johnston
Author: markj Date: Fri Feb 28 02:04:41 2014 New Revision: 262596 URL: http://svnweb.freebsd.org/changeset/base/262596 Log: 4478 dtrace_dof_maxsize is far too small illumos/illumos-gate@d339a29bb4765c4b6883a935cf69b669cd05bca0 PR: 187027 MFC after:1 week Added: head/

Re: svn commit: r262542 - in head: cddl/lib/libdtrace sys/cddl/contrib/opensolaris/uts/intel/dtrace sys/cddl/dev/dtrace/amd64 sys/cddl/dev/dtrace/i386 sys/cddl/dev/dtrace/x86 sys/modules/dtrace/dtrace

2014-03-01 Thread Mark Johnston
On Thu, Feb 27, 2014 at 01:04:35AM +, Mark Johnston wrote: > Author: markj > Date: Thu Feb 27 01:04:35 2014 > New Revision: 262542 > URL: http://svnweb.freebsd.org/changeset/base/262542 > > Log: > Move some files that are identical on i386 and amd64 to an x86 subdire

svn commit: r262661 - head/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2014-03-01 Thread Mark Johnston
Author: markj Date: Sat Mar 1 17:55:20 2014 New Revision: 262661 URL: http://svnweb.freebsd.org/changeset/base/262661 Log: Fix emulation of call and jmp instructions on i386 and for 32-bit processes on amd64. Submitted by: Prashanth Kumar MFC after:2 weeks Modified: head/sys/cd

svn commit: r262665 - in head/sys/cddl: contrib/opensolaris/uts/common/dtrace dev/dtrace

2014-03-01 Thread Mark Johnston
Author: markj Date: Sat Mar 1 19:06:43 2014 New Revision: 262665 URL: http://svnweb.freebsd.org/changeset/base/262665 Log: Expose a few DTrace parameters as sysctls under kern.dtrace and add descriptions for several existing sysctls. PR: 187027 Submitted by: Fedor Indutny (o

svn commit: r262669 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-03-02 Thread Mark Johnston
Author: markj Date: Sat Mar 1 23:09:07 2014 New Revision: 262669 URL: http://svnweb.freebsd.org/changeset/base/262669 Log: When our linker merges .SUNW_dof sections from multiple files, it simply concatenates the DOF tables into one section. Previously, the USDT init code in drti.o would on

svn commit: r262733 - head/sys/conf

2014-03-04 Thread Mark Johnston
Author: markj Date: Tue Mar 4 14:00:49 2014 New Revision: 262733 URL: http://svnweb.freebsd.org/changeset/base/262733 Log: Use a full path to the target for make rules which create symlinks @, machine and ${MACHINE_CPUARCH}. Otherwise the presence of a file named "x86" or "x86.c" in the mak

svn commit: r262775 - head/sbin/savecore

2014-03-04 Thread Mark Johnston
Author: markj Date: Wed Mar 5 04:15:17 2014 New Revision: 262775 URL: http://svnweb.freebsd.org/changeset/base/262775 Log: Log the name of the device that we failed to open rather than an uninitialized buffer. MFC after:3 days Modified: head/sbin/savecore/savecore.c Modified: hea

svn commit: r262967 - stable/10/sys/dev/mfi

2014-03-09 Thread Mark Johnston
Author: markj Date: Mon Mar 10 02:31:50 2014 New Revision: 262967 URL: http://svnweb.freebsd.org/changeset/base/262967 Log: MFC r261535: Add support for MegaRAID Fury cards. The main change needed to boot from a 9341-4i controller was to ensure that scatter/gather lists are ended with an e

svn commit: r262968 - stable/9/sys/dev/mfi

2014-03-09 Thread Mark Johnston
Author: markj Date: Mon Mar 10 02:38:41 2014 New Revision: 262968 URL: http://svnweb.freebsd.org/changeset/base/262968 Log: MFC r261535: Add support for MegaRAID Fury cards. The main change needed to boot from a 9341-4i controller was to ensure that scatter/gather lists are ended with an e

  1   2   3   4   5   6   7   8   9   10   >