svn commit: r263281 - in stable/10/sys: cddl/contrib/opensolaris/uts/intel/dtrace kern

2014-03-17 Thread Mark Johnston
Author: markj Date: Tue Mar 18 00:29:33 2014 New Revision: 263281 URL: http://svnweb.freebsd.org/changeset/base/263281 Log: MFC r259535: The fasttrap fork handler is responsible for removing tracepoints in the child process that were inherited from its parent. However, this should not be d

svn commit: r263282 - in stable/9/sys: cddl/contrib/opensolaris/uts/intel/dtrace kern

2014-03-17 Thread Mark Johnston
Author: markj Date: Tue Mar 18 00:38:36 2014 New Revision: 263282 URL: http://svnweb.freebsd.org/changeset/base/263282 Log: MFC r259535: The fasttrap fork handler is responsible for removing tracepoints in the child process that were inherited from its parent. However, this should not be d

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

2014-03-17 Thread Mark Johnston
Author: markj Date: Tue Mar 18 00:55:40 2014 New Revision: 263284 URL: http://svnweb.freebsd.org/changeset/base/263284 Log: MFC r262325: Print a backtrace if the SDT(9) stub gets called so that there's at least some hope of figuring out how it happened. Modified: stable/9/sys/kern/kern_sd

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

2014-03-17 Thread Mark Johnston
Author: markj Date: Tue Mar 18 00:55:19 2014 New Revision: 263283 URL: http://svnweb.freebsd.org/changeset/base/263283 Log: MFC r262325: Print a backtrace if the SDT(9) stub gets called so that there's at least some hope of figuring out how it happened. Modified: stable/10/sys/kern/kern_s

svn commit: r263329 - in head/sys: amd64/amd64 i386/i386

2014-03-18 Thread Mark Johnston
Author: markj Date: Wed Mar 19 01:27:56 2014 New Revision: 263329 URL: http://svnweb.freebsd.org/changeset/base/263329 Log: Only invoke fasttrap hooks for traps from user mode, and ensure that they're called with interrupts enabled. Calling fasttrap_pid_probe() with interrupts disabled can l

svn commit: r253720 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/fbtprovider

2013-07-27 Thread Mark Johnston
Author: markj Date: Sat Jul 27 21:31:48 2013 New Revision: 253720 URL: http://svnweb.freebsd.org/changeset/base/253720 Log: Use kern_ioctl() rather than ioctl() for testing the FBT provider, since the latter doesn't exist in FreeBSD. All the tests under fbtprovider pass now. Modified: head

svn commit: r253850 - head/usr.bin/truss

2013-07-31 Thread Mark Johnston
Author: markj Date: Thu Aug 1 02:57:04 2013 New Revision: 253850 URL: http://svnweb.freebsd.org/changeset/base/253850 Log: Properly print arguments to vfork(2) and rfork(2). PR: 180976 Submitted by: Yuri (original patch) MFC after:1 week Modified: head/usr.bin/truss/s

svn commit: r254017 - head/sys/vm

2013-08-06 Thread Mark Johnston
Author: markj Date: Wed Aug 7 00:20:30 2013 New Revision: 254017 URL: http://svnweb.freebsd.org/changeset/base/254017 Log: Fill in the description fields for M_FICT_PAGES. Reviewed by: kib MFC after:3 days Modified: head/sys/vm/vm_phys.c Modified: head/sys/vm/vm_phys.c =

svn commit: r254018 - head/usr.bin/ldd

2013-08-06 Thread Mark Johnston
Author: markj Date: Wed Aug 7 00:28:17 2013 New Revision: 254018 URL: http://svnweb.freebsd.org/changeset/base/254018 Log: Pass variables prefixed with both LD_ and LD_32_ to the run-time linker. This prevents unintentional execution of programs when running ldd(1) on 32-bit Linux binaries.

svn commit: r254020 - head/sys/net

2013-08-06 Thread Mark Johnston
Author: markj Date: Wed Aug 7 01:32:08 2013 New Revision: 254020 URL: http://svnweb.freebsd.org/changeset/base/254020 Log: Add a missing module version declaration to if_tun(4). PR: 181078 Submitted by: Brandon Gooch MFC after:1 week Modified: head/sys/net/if_tun.c M

svn commit: r254266 - in head: share/man/man9 sys/kern sys/sys

2013-08-12 Thread Mark Johnston
Author: markj Date: Tue Aug 13 03:07:49 2013 New Revision: 254266 URL: http://svnweb.freebsd.org/changeset/base/254266 Log: Add event handlers for module load and unload events. The load handlers are called after the module has been loaded, and the unload handlers are called before the modul

svn commit: r254267 - in head/sys: kern sys

2013-08-12 Thread Mark Johnston
Author: markj Date: Tue Aug 13 03:09:00 2013 New Revision: 254267 URL: http://svnweb.freebsd.org/changeset/base/254267 Log: Remove some unused fields from struct linker_file. They were added in r172862 for use by the DTrace SDT framework but don't seem to have ever been used. MFC after:

svn commit: r254268 - in head/sys: cddl/contrib/opensolaris/uts/common/dtrace cddl/contrib/opensolaris/uts/common/sys cddl/dev/dtrace cddl/dev/fbt cddl/dev/sdt kern sys

2013-08-12 Thread Mark Johnston
Author: markj Date: Tue Aug 13 03:10:39 2013 New Revision: 254268 URL: http://svnweb.freebsd.org/changeset/base/254268 Log: FreeBSD's DTrace implementation has a few problems with respect to handling probes declared in a kernel module when that module is unloaded. In particular, * Unloa

svn commit: r254309 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/dev/dtrace sys/cddl/dev/sdt sys/kern sys/sys

2013-08-13 Thread Mark Johnston
Author: markj Date: Wed Aug 14 00:42:21 2013 New Revision: 254309 URL: http://svnweb.freebsd.org/changeset/base/254309 Log: Use kld_{load,unload} instead of mod_{load,unload} for the linker file load and unload event handlers added in r254266. Reported by: jhb X-MFC with: r254266 Mo

svn commit: r254310 - stable/9/sys/net

2013-08-13 Thread Mark Johnston
Author: markj Date: Wed Aug 14 01:55:01 2013 New Revision: 254310 URL: http://svnweb.freebsd.org/changeset/base/254310 Log: MFC r254020: Add a missing module version declaration to if_tun(4). Modified: stable/9/sys/net/if_tun.c Directory Properties: stable/9/sys/ (props changed) stabl

svn commit: r254311 - stable/8/sys/net

2013-08-13 Thread Mark Johnston
Author: markj Date: Wed Aug 14 01:55:44 2013 New Revision: 254311 URL: http://svnweb.freebsd.org/changeset/base/254311 Log: MFC r254020: Add a missing module version declaration to if_tun(4). Modified: stable/8/sys/net/if_tun.c Directory Properties: stable/8/sys/ (props changed) stabl

svn commit: r254312 - stable/9/sys/vm

2013-08-13 Thread Mark Johnston
Author: markj Date: Wed Aug 14 02:00:37 2013 New Revision: 254312 URL: http://svnweb.freebsd.org/changeset/base/254312 Log: MFC r254017: Fill in the description fields for M_FICT_PAGES. Modified: stable/9/sys/vm/vm_phys.c Directory Properties: stable/9/sys/ (props changed) Modified: st

svn commit: r254313 - stable/9/usr.bin/truss

2013-08-13 Thread Mark Johnston
Author: markj Date: Wed Aug 14 02:36:21 2013 New Revision: 254313 URL: http://svnweb.freebsd.org/changeset/base/254313 Log: MFC r253850: Properly print arguments to vfork(2) and rfork(2). Modified: stable/9/usr.bin/truss/syscall.h stable/9/usr.bin/truss/syscalls.c Directory Properties:

svn commit: r254314 - stable/8/usr.bin/truss

2013-08-13 Thread Mark Johnston
Author: markj Date: Wed Aug 14 02:37:07 2013 New Revision: 254314 URL: http://svnweb.freebsd.org/changeset/base/254314 Log: MFC r253850: Properly print arguments to vfork(2) and rfork(2). Modified: stable/8/usr.bin/truss/syscall.h stable/8/usr.bin/truss/syscalls.c Directory Properties:

Re: svn commit: r254309 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/dev/dtrace sys/cddl/dev/sdt sys/kern sys/sys

2013-08-14 Thread Mark Johnston
On Wed, Aug 14, 2013 at 8:19 AM, John Baldwin wrote: > On Tuesday, August 13, 2013 8:42:22 pm Mark Johnston wrote: > > Author: markj > > Date: Wed Aug 14 00:42:21 2013 > > New Revision: 254309 > > URL: http://svnweb.freebsd.org/changeset/base/254309 > > &g

Re: svn commit: r254309 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/dev/dtrace sys/cddl/dev/sdt sys/kern sys/sys

2013-08-14 Thread Mark Johnston
On Wed, Aug 14, 2013 at 3:48 PM, John Baldwin wrote: > On Wednesday, August 14, 2013 2:14:53 pm Mark Johnston wrote: > > On Wed, Aug 14, 2013 at 8:19 AM, John Baldwin wrote: > > > > > On Tuesday, August 13, 2013 8:42:22 pm Mark Johnston wrote: > > > > Autho

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

2013-08-14 Thread Mark Johnston
Author: markj Date: Thu Aug 15 04:10:15 2013 New Revision: 254351 URL: http://svnweb.freebsd.org/changeset/base/254351 Log: Fix a typo. MFC after:3 days Modified: head/share/man/man9/netisr.9 Modified: head/share/man/man9/netisr.9

svn commit: r254350 - in head/sys: kern netinet

2013-08-14 Thread Mark Johnston
Author: markj Date: Thu Aug 15 04:08:55 2013 New Revision: 254350 URL: http://svnweb.freebsd.org/changeset/base/254350 Log: Specify SDT probe argument types in the probe definition itself rather than using SDT_PROBE_ARGTYPE(). This will make it easy to extend the SDT(9) API to allow probes w

svn commit: r254396 - head/sys/kern

2013-08-15 Thread Mark Johnston
Author: markj Date: Fri Aug 16 03:41:41 2013 New Revision: 254396 URL: http://svnweb.freebsd.org/changeset/base/254396 Log: Use strdup(9) instead of reimplementing it. Modified: head/sys/kern/kern_linker.c Modified: head/sys/kern/kern_linker.c

Re: svn commit: r254309 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/dev/dtrace sys/cddl/dev/sdt sys/kern sys/sys

2013-08-16 Thread Mark Johnston
On Wed, Aug 14, 2013 at 08:19:13AM -0400, John Baldwin wrote: > On Tuesday, August 13, 2013 8:42:22 pm Mark Johnston wrote: > > Author: markj > > Date: Wed Aug 14 00:42:21 2013 > > New Revision: 254309 > > URL: http://svnweb.freebsd.org/changeset/base/254309 > &

Re: svn commit: r254309 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/dev/dtrace sys/cddl/dev/sdt sys/kern sys/sys

2013-08-16 Thread Mark Johnston
On Fri, Aug 16, 2013 at 07:13:16PM +0200, Davide Italiano wrote: > [trim old mails] > > > diff --git a/sys/sys/pmckern.h b/sys/sys/pmckern.h > > index e3e18a6..90585de 100644 > > --- a/sys/sys/pmckern.h > > +++ b/sys/sys/pmckern.h > > @@ -51,13 +51,11 @@ > > #definePMC_FN_CSW_IN

svn commit: r254467 - head/sys/compat/linux

2013-08-17 Thread Mark Johnston
Author: markj Date: Sat Aug 17 21:53:37 2013 New Revision: 254467 URL: http://svnweb.freebsd.org/changeset/base/254467 Log: Remove a couple of unused macros. MFC after:3 days Modified: head/sys/compat/linux/linux_dtrace.h Modified: head/sys/compat/linux/linux_dtrace.h ==

svn commit: r254468 - in head/sys: cddl/dev/sdt sys

2013-08-17 Thread Mark Johnston
Author: markj Date: Sat Aug 17 22:02:26 2013 New Revision: 254468 URL: http://svnweb.freebsd.org/changeset/base/254468 Log: Add a "translated type" argument to SDT_PROBE_ARGTYPE() and add some macros which allow one to define SDT probes that specify translated types. The idea is to make it e

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

2013-08-17 Thread Mark Johnston
Author: markj Date: Sat Aug 17 22:06:30 2013 New Revision: 254469 URL: http://svnweb.freebsd.org/changeset/base/254469 Log: Update the SDT(9) man page with the macros added in 254468. Also change the existing examples to not pass an mbuf as a probe argument. There's no obvious reason to have

Re: svn commit: r254309 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/dev/dtrace sys/cddl/dev/sdt sys/kern sys/sys

2013-08-19 Thread Mark Johnston
On Mon, Aug 19, 2013 at 03:42:30PM -0400, John Baldwin wrote: > On Friday, August 16, 2013 1:41:31 pm Mark Johnston wrote: > > On Fri, Aug 16, 2013 at 07:13:16PM +0200, Davide Italiano wrote: > > > [trim old mails] > > > > > > > diff --git a/sys/sys/pmck

svn commit: r254742 - head/sys/dev/mfi

2013-08-23 Thread Mark Johnston
Author: markj Date: Fri Aug 23 22:55:52 2013 New Revision: 254742 URL: http://svnweb.freebsd.org/changeset/base/254742 Log: Hold mfi_io_lock across calls to xpt_rescan() and xpt_alloc_ccb_nowait(). xpt_rescan() expects the SIM lock to be held, and we trip a mtx_assert if the driver initiates

svn commit: r254808 - head/sys/kern

2013-08-24 Thread Mark Johnston
Author: markj Date: Sat Aug 24 21:00:39 2013 New Revision: 254808 URL: http://svnweb.freebsd.org/changeset/base/254808 Log: Remove some code that has been commented out since it was added in 2000. Modified: head/sys/kern/link_elf.c Modified: head/sys/kern/link_elf.c =

svn commit: r254810 - head/sys/kern

2013-08-24 Thread Mark Johnston
Author: markj Date: Sat Aug 24 21:07:04 2013 New Revision: 254810 URL: http://svnweb.freebsd.org/changeset/base/254810 Log: Remove the kld lock macros and just use the sx(9) API. Add locking in linker_init_kernel_modules() and linker_preload() in order to remove most of the checks for !cold

svn commit: r254811 - head/sys/kern

2013-08-24 Thread Mark Johnston
Author: markj Date: Sat Aug 24 21:08:55 2013 New Revision: 254811 URL: http://svnweb.freebsd.org/changeset/base/254811 Log: Set things up so that linker_file_lookup_set() is always called with the linker lock held. This makes it possible to call it from a kld event handler with the shared lo

svn commit: r254813 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/dev/dtrace sys/cddl/dev/sdt sys/dev/hwpmc sys/kern sys/sys

2013-08-24 Thread Mark Johnston
Author: markj Date: Sat Aug 24 21:13:38 2013 New Revision: 254813 URL: http://svnweb.freebsd.org/changeset/base/254813 Log: Rename the kld_unload event handler to kld_unload_try, and add a new kld_unload event handler which gets invoked after a linker file has been successfully unloaded. The

svn commit: r254889 - in head: cddl/lib/libdtrace sys/conf sys/netinet sys/netinet6

2013-08-25 Thread Mark Johnston
nclosed by brackets "[]" replaced with your own identifying + * information: Portions Copyright [] [name of copyright owner] + * + * CDDL HEADER END + * + * $FreeBSD$ + */ +/* + * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013 Mark Johnsto

svn commit: r254893 - head/sys/netinet

2013-08-25 Thread Mark Johnston
Author: markj Date: Mon Aug 26 00:28:57 2013 New Revision: 254893 URL: http://svnweb.freebsd.org/changeset/base/254893 Log: The second last argument of udp:::receive is supposed to contain the connection state, not the IP header. X-MFC with: r254889 Modified: head/sys/netinet/udp_usr

svn commit: r255196 - stable/9/usr.bin/ldd

2013-09-03 Thread Mark Johnston
Author: markj Date: Tue Sep 3 23:17:18 2013 New Revision: 255196 URL: http://svnweb.freebsd.org/changeset/base/255196 Log: MFC r254018: Pass variables prefixed with both LD_ and LD_32_ to the run-time linker. This prevents unintentional execution of programs when running ldd(1) on 32-bit

svn commit: r255197 - stable/8/usr.bin/ldd

2013-09-03 Thread Mark Johnston
Author: markj Date: Tue Sep 3 23:20:03 2013 New Revision: 255197 URL: http://svnweb.freebsd.org/changeset/base/255197 Log: MFC r254018: Pass variables prefixed with both LD_ and LD_32_ to the run-time linker. This prevents unintentional execution of programs when running ldd(1) on 32-bit

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

2013-09-15 Thread Mark Johnston
Author: markj Date: Sun Sep 15 21:38:46 2013 New Revision: 255604 URL: http://svnweb.freebsd.org/changeset/base/255604 Log: Use the address of the inpcb rather than the tcpcb to identify TCP connections. This keeps the tcp provider consistent with the other network providers. Approved b

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

2013-12-27 Thread Mark Johnston
Author: markj Date: Fri Dec 27 22:14:03 2013 New Revision: 259964 URL: http://svnweb.freebsd.org/changeset/base/259964 Log: MFC r257300: Fix an off-by-one error when checking whether a given address is within the extent of a symbol. Modified: stable/9/lib/libproc/proc_sym.c Directory Prop

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

2013-12-27 Thread Mark Johnston
Author: markj Date: Fri Dec 27 22:19:19 2013 New Revision: 259965 URL: http://svnweb.freebsd.org/changeset/base/259965 Log: MFC r257300: Fix an off-by-one error when checking whether a given address is within the extent of a symbol. Modified: stable/10/lib/libproc/proc_sym.c Directory Pro

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

2013-12-27 Thread Mark Johnston
Author: markj Date: Fri Dec 27 22:29:20 2013 New Revision: 259968 URL: http://svnweb.freebsd.org/changeset/base/259968 Log: MFC r257670: Modify the libproc breakpoint add/remove functions to stop the target process if it has not already been stopped, since this is required for ptrace(2) to

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

2013-12-27 Thread Mark Johnston
Author: markj Date: Fri Dec 27 22:30:36 2013 New Revision: 259969 URL: http://svnweb.freebsd.org/changeset/base/259969 Log: MFC r257670: Modify the libproc breakpoint add/remove functions to stop the target process if it has not already been stopped, since this is required for ptrace(2) to

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

2013-12-27 Thread Mark Johnston
Author: markj Date: Fri Dec 27 22:54:38 2013 New Revision: 259970 URL: http://svnweb.freebsd.org/changeset/base/259970 Log: MFC r240040 (rpaulo): Make sure we visit both symbol sections even if one of them doesn't exist. This makes it possible to dtrace some C++ programs like devd. MFC

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

2013-12-27 Thread Mark Johnston
Author: markj Date: Fri Dec 27 22:59:16 2013 New Revision: 259971 URL: http://svnweb.freebsd.org/changeset/base/259971 Log: MFC r258000: Consistently add the relocation offset only when the ELF type is not ET_EXEC. This fixes several problems with the DTrace pid provider not being able to

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

2013-12-27 Thread Mark Johnston
Author: markj Date: Fri Dec 27 23:00:56 2013 New Revision: 259972 URL: http://svnweb.freebsd.org/changeset/base/259972 Log: MFC r258000: Consistently add the relocation offset only when the ELF type is not ET_EXEC. This fixes several problems with the DTrace pid provider not being able to

svn commit: r259995 - head/bin/ps

2013-12-27 Thread Mark Johnston
Author: markj Date: Sat Dec 28 03:04:05 2013 New Revision: 259995 URL: http://svnweb.freebsd.org/changeset/base/259995 Log: Correct the description of the V state, which indicates that the process' parent is suspended, not the process itself. MFC after:3 days Modified: head/bin/ps/

svn commit: r260043 - head/sys/kern

2013-12-29 Thread Mark Johnston
Author: markj Date: Sun Dec 29 17:08:30 2013 New Revision: 260043 URL: http://svnweb.freebsd.org/changeset/base/260043 Log: The arguments to sched:::off-cpu are the thread and associated process of the thread selected to run, not the currently running thread. This fix has already been made f

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

2013-12-29 Thread Mark Johnston
Author: markj Date: Sun Dec 29 19:27:32 2013 New Revision: 260051 URL: http://svnweb.freebsd.org/changeset/base/260051 Log: When clearing relocations to __dtrace* symbols, handle both SHT_REL and SHT_RELA sections properly instead of assuming that the relocation section is of type SHT_REL.

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

2013-12-30 Thread Mark Johnston
Author: markj Date: Mon Dec 30 17:37:32 2013 New Revision: 260091 URL: http://svnweb.freebsd.org/changeset/base/260091 Log: Now that vmem(9) is available, use vmem arenas to allocate probe and aggregation IDs, as is done in the upstream illumos code. This still requires some FreeBSD-specific

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

2013-12-30 Thread Mark Johnston
On Tue, Dec 31, 2013 at 12:42:10AM +0400, Gleb Smirnoff wrote: > On Mon, Dec 30, 2013 at 05:37:32PM +0000, Mark Johnston wrote: > M> Author: markj > M> Date: Mon Dec 30 17:37:32 2013 > M> New Revision: 260091 > M> URL: http://svnweb.freebsd.org/changeset/base/260091 >

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

2013-12-30 Thread Mark Johnston
On Mon, Dec 30, 2013 at 10:21:58PM -0500, Pedro Giffuni wrote: > > Il giorno 30/dic/2013, alle ore 21:40, Mark Johnston ha > scritto: > > > On Tue, Dec 31, 2013 at 12:42:10AM +0400, Gleb Smirnoff wrote: > >> On Mon, Dec 30, 2013 at 05:37:32PM +, Mark Johnston w

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

2013-12-30 Thread Mark Johnston
On Mon, Dec 30, 2013 at 10:49:23PM -0500, Pedro Giffuni wrote: > > Il giorno 30/dic/2013, alle ore 22:28, Mark Johnston ha > scritto: > > > On Mon, Dec 30, 2013 at 10:21:58PM -0500, Pedro Giffuni wrote: > >> > >> Il giorno 30/dic/2013, alle ore 21

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

2013-12-31 Thread Mark Johnston
Author: markj Date: Tue Dec 31 15:37:51 2013 New Revision: 260131 URL: http://svnweb.freebsd.org/changeset/base/260131 Log: Revert r260091. The vmem calls seem to be slower than the *_unr() calls that they replaced, which is important considering that probe IDs are allocated during process s

svn commit: r260132 - head/sys/cddl/dev/dtrace

2013-12-31 Thread Mark Johnston
Author: markj Date: Tue Dec 31 15:41:16 2013 New Revision: 260132 URL: http://svnweb.freebsd.org/changeset/base/260132 Log: Allocate the probe ID unrhdr before the DTrace kld_* event handlers are registered. Otherwise there is a small window during which probe IDs may be allocated before the

svn commit: r260133 - head/tools/test/dtrace

2013-12-31 Thread Mark Johnston
Author: markj Date: Tue Dec 31 15:45:12 2013 New Revision: 260133 URL: http://svnweb.freebsd.org/changeset/base/260133 Log: Some DTrace tests (mostly in the pid provider directory) make use of executable ksh scripts. These are currently not copied into the test directory the way that compile

svn commit: r261535 - head/sys/dev/mfi

2014-02-05 Thread Mark Johnston
Author: markj Date: Thu Feb 6 02:54:04 2014 New Revision: 261535 URL: http://svnweb.freebsd.org/changeset/base/261535 Log: 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 end-of-list mark

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

2013-05-10 Thread Mark Johnston
Author: markj Date: Fri May 10 20:55:39 2013 New Revision: 250478 URL: http://svnweb.freebsd.org/changeset/base/250478 Log: MFC r248776: 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

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

2013-05-10 Thread Mark Johnston
Author: markj Date: Fri May 10 20:56:07 2013 New Revision: 250479 URL: http://svnweb.freebsd.org/changeset/base/250479 Log: MFC r248776: 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

svn commit: r250480 - stable/9/sys/net

2013-05-10 Thread Mark Johnston
Author: markj Date: Fri May 10 20:57:04 2013 New Revision: 250480 URL: http://svnweb.freebsd.org/changeset/base/250480 Log: MFC r248851: Ignore interface renames instead of removing the interface from the bridge group. Approved by: emaste Modified: stable/9/sys/net/if_bridge.c D

svn commit: r250481 - stable/8/sys/net

2013-05-10 Thread Mark Johnston
Author: markj Date: Fri May 10 20:57:22 2013 New Revision: 250481 URL: http://svnweb.freebsd.org/changeset/base/250481 Log: MFC r248851: Ignore interface renames instead of removing the interface from the bridge group. Approved by: emaste Modified: stable/8/sys/net/if_bridge.c D

svn commit: r250482 - in stable/9: sys/dev/mfi usr.sbin/mfiutil

2013-05-10 Thread Mark Johnston
Author: markj Date: Fri May 10 21:08:53 2013 New Revision: 250482 URL: http://svnweb.freebsd.org/changeset/base/250482 Log: MFC r249257: Add support for getting and setting BBU properties related to battery relearning. Specifically, add subcommands to mfiutil(8) which allow the user

svn commit: r250483 - in stable/8: sys/dev/mfi usr.sbin/mfiutil

2013-05-10 Thread Mark Johnston
Author: markj Date: Fri May 10 21:11:18 2013 New Revision: 250483 URL: http://svnweb.freebsd.org/changeset/base/250483 Log: MFC r249257: Add support for getting and setting BBU properties related to battery relearning. Specifically, add subcommands to mfiutil(8) which allow the user

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

2013-05-10 Thread Mark Johnston
Author: markj Date: Sat May 11 00:04:17 2013 New Revision: 250489 URL: http://svnweb.freebsd.org/changeset/base/250489 Log: Fix the build: 'valid' is no longer used. Modified: stable/9/usr.sbin/newsyslog/newsyslog.c Modified: stable/9/usr.sbin/newsyslog/newsyslog.c ==

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

2013-05-10 Thread Mark Johnston
Author: markj Date: Sat May 11 00:05:05 2013 New Revision: 250490 URL: http://svnweb.freebsd.org/changeset/base/250490 Log: Fix the build: 'valid' is no longer used. Modified: stable/8/usr.sbin/newsyslog/newsyslog.c Modified: stable/8/usr.sbin/newsyslog/newsyslog.c ==

Re: svn commit: r250479 - stable/8/usr.sbin/newsyslog

2013-05-10 Thread Mark Johnston
On Fri, May 10, 2013 at 07:41:47PM -0400, Glen Barber wrote: > On Fri, May 10, 2013 at 08:56:07PM +0000, Mark Johnston wrote: > > Author: markj > > Date: Fri May 10 20:56:07 2013 > > New Revision: 250479 > > URL: http://svnweb.freebsd.org/changeset/base/250479 >

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

2013-05-11 Thread Mark Johnston
Author: markj Date: Sun May 12 01:58:04 2013 New Revision: 250545 URL: http://svnweb.freebsd.org/changeset/base/250545 Log: Some filesystems (NFS in particular) do not fill out the d_type field when returning directory entries through readdir(3). In this case we need to obtain the file type

svn commit: r250574 - in head: cddl/contrib/opensolaris/cmd/dtrace cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma cddl/cont...

2013-05-12 Thread Mark Johnston
Author: markj Date: Sun May 12 16:26:33 2013 New Revision: 250574 URL: http://svnweb.freebsd.org/changeset/base/250574 Log: Bring back part of r249367 by adding DTrace's temporal option, which allows users to guarantee that the output of DTrace scripts will be time-ordered. This option is en

svn commit: r250575 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma

2013-05-12 Thread Mark Johnston
Author: markj Date: Sun May 12 16:29:09 2013 New Revision: 250575 URL: http://svnweb.freebsd.org/changeset/base/250575 Log: head -n doesn't take negative arguments on FreeBSD, so instead use sed '$d' to remove the last line of a file. Modified: head/cddl/contrib/opensolaris/cmd/dtrace/test

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

2013-05-13 Thread Mark Johnston
Author: markj Date: Mon May 13 15:00:36 2013 New Revision: 250599 URL: http://svnweb.freebsd.org/changeset/base/250599 Log: 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. MFC in:

svn commit: r250685 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip

2013-05-15 Thread Mark Johnston
Author: markj Date: Wed May 15 22:56:24 2013 New Revision: 250685 URL: http://svnweb.freebsd.org/changeset/base/250685 Log: Convert a couple of helper scripts used to test the ip provider to work on FreeBSD. In the IPv6 case, try each interface before returning an error; each IPv6-enabled in

svn commit: r250812 - in head/cddl/contrib/opensolaris: cmd/dtrace/test/tst/common/cg lib/libdtrace/common

2013-05-19 Thread Mark Johnston
Author: markj Date: Sun May 19 17:14:36 2013 New Revision: 250812 URL: http://svnweb.freebsd.org/changeset/base/250812 Log: Re-introduce another part of r249367. This commit fixes a register leak in dt_cg_ptrsize() and generally cleans up some of the error handling around register allocation

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

2013-05-19 Thread Mark Johnston
Author: markj Date: Mon May 20 02:10:18 2013 New Revision: 250820 URL: http://svnweb.freebsd.org/changeset/base/250820 Log: Remove a block of code that was not intended to be part of the previous revision. X-MFC with: r250812 Modified: head/cddl/contrib/opensolaris/lib/libdtrace/comm

svn commit: r250939 - head/usr.sbin/rtsold

2013-05-23 Thread Mark Johnston
Author: markj Date: Thu May 23 19:47:35 2013 New Revision: 250939 URL: http://svnweb.freebsd.org/changeset/base/250939 Log: Correct the description of the -a option: rtsol(d) -a will in fact send out router solicitations on multiple interfaces. Reviewed by: hrs MFC after:1 week Mo

svn commit: r250941 - head/usr.sbin/ndp

2013-05-23 Thread Mark Johnston
Author: markj Date: Thu May 23 19:50:36 2013 New Revision: 250941 URL: http://svnweb.freebsd.org/changeset/base/250941 Log: Include descriptions of the flags and fields printed when dumping the IPv6 prefix list. Reviewed by: hrs MFC after:1 week Modified: head/usr.sbin/ndp/ndp.8

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

2013-05-23 Thread Mark Johnston
Author: markj Date: Fri May 24 03:29:32 2013 New Revision: 250953 URL: http://svnweb.freebsd.org/changeset/base/250953 Log: The fasttrap provider cleans up probes asynchronously when a process with USDT probes exits. This was previously done with a callout; however, it is possible to sleep w

svn commit: r251059 - head/usr.sbin/rtsold

2013-05-28 Thread Mark Johnston
Author: markj Date: Tue May 28 13:54:26 2013 New Revision: 251059 URL: http://svnweb.freebsd.org/changeset/base/251059 Log: - Fix wording. [1] - Improve the descriptions in the FILES section. [2] Reported by: Jason McIntyre [1] Obtained from:NetBSD [2] MFC after:3 days M

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

2013-05-29 Thread Mark Johnston
Author: markj Date: Wed May 29 21:07:24 2013 New Revision: 251110 URL: http://svnweb.freebsd.org/changeset/base/251110 Log: MFC r250545: Some filesystems (NFS in particular) do not fill out the d_type field when returning directory entries through readdir(3). In this case we need to

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

2013-05-29 Thread Mark Johnston
Author: markj Date: Wed May 29 21:08:23 2013 New Revision: 25 URL: http://svnweb.freebsd.org/changeset/base/25 Log: MFC r250545: Some filesystems (NFS in particular) do not fill out the d_type field when returning directory entries through readdir(3). In this case we need to

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

2013-05-29 Thread Mark Johnston
Author: markj Date: Wed May 29 22:29:33 2013 New Revision: 251112 URL: http://svnweb.freebsd.org/changeset/base/251112 Log: Revert my previous merge. There's a variable name difference between head and stable (dirfd vs. dir_fd) and I managed to get it wrong again when I did the MFC, even aft

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

2013-05-29 Thread Mark Johnston
Author: markj Date: Wed May 29 22:30:29 2013 New Revision: 251113 URL: http://svnweb.freebsd.org/changeset/base/251113 Log: Revert my previous merge. There's a variable name difference between head and stable (dirfd vs. dir_fd) and I managed to get it wrong again when I did the MFC, even aft

Re: svn commit: r251113 - stable/9/usr.sbin/newsyslog

2013-05-29 Thread Mark Johnston
the stable branches. Is it possible to only do the newsyslog portion of this MFC, or is it a rule that either all or none of a given revision should be merged to the stable branches? Sorry again, -Mark On Wed, May 29, 2013 at 10:30:30PM +0000, Mark Johnston wrote: > Author: markj > Date: Wed May

svn commit: r251166 - head/sys/sys

2013-05-30 Thread Mark Johnston
Author: markj Date: Thu May 30 21:57:40 2013 New Revision: 251166 URL: http://svnweb.freebsd.org/changeset/base/251166 Log: 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 tcp in particula

svn commit: r251237 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sdt sys/cddl/dev/dtrace sys/modules/dtrace/dtrace_test

2013-06-01 Thread Mark Johnston
Author: markj Date: Sun Jun 2 00:33:36 2013 New Revision: 251237 URL: http://svnweb.freebsd.org/changeset/base/251237 Log: Port the SDT test now that it's possible to create SDT probes that take seven arguments. The original test uses Solaris' uadmin system call to trigger the test pro

svn commit: r251238 - in head/sys/cddl/dev: dtrace/amd64 sdt

2013-06-01 Thread Mark Johnston
Author: markj Date: Sun Jun 2 01:05:36 2013 New Revision: 251238 URL: http://svnweb.freebsd.org/changeset/base/251238 Log: SDT probes can directly pass up to five arguments as arguments to dtrace_probe(). Arguments beyond these five must be obtained in an architecture-specific way; this can

svn commit: r251239 - head/tools/test/dtrace

2013-06-01 Thread Mark Johnston
Author: markj Date: Sun Jun 2 01:07:38 2013 New Revision: 251239 URL: http://svnweb.freebsd.org/changeset/base/251239 Log: This test is working now, so remove it from NOTWORK. Modified: head/tools/test/dtrace/Makefile Modified: head/tools/test/dtrace/Makefile ===

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

2013-06-01 Thread Mark Johnston
Author: markj Date: Sun Jun 2 01:10:49 2013 New Revision: 251240 URL: http://svnweb.freebsd.org/changeset/base/251240 Log: We want to stat the archived log file rather than the logfile itself. PR: bin/179122 Submitted by: Oliver Fromme MFC after:3 days Modified: head/

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

2013-06-08 Thread Mark Johnston
Author: markj Date: Sat Jun 8 15:45:01 2013 New Revision: 251532 URL: http://svnweb.freebsd.org/changeset/base/251532 Log: MFC r235647 for newsyslog (by gleb): Hide DIR definition by making it an opaque struct typedef. Introduce dirfd() libc exported symbol replacing macro with same name

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

2013-06-08 Thread Mark Johnston
Author: markj Date: Sat Jun 8 15:46:09 2013 New Revision: 251533 URL: http://svnweb.freebsd.org/changeset/base/251533 Log: MFC r235647 for newsyslog (by gleb): Hide DIR definition by making it an opaque struct typedef. Introduce dirfd() libc exported symbol replacing macro with same name

svn commit: r251534 - stable/9/usr.sbin/ndp

2013-06-08 Thread Mark Johnston
Author: markj Date: Sat Jun 8 15:46:42 2013 New Revision: 251534 URL: http://svnweb.freebsd.org/changeset/base/251534 Log: MFC r250941: Include descriptions of the flags and fields printed when dumping the IPv6 prefix list. Modified: stable/9/usr.sbin/ndp/ndp.8 Directory Properties: st

svn commit: r251536 - stable/9/usr.sbin/rtsold

2013-06-08 Thread Mark Johnston
Author: markj Date: Sat Jun 8 15:48:01 2013 New Revision: 251536 URL: http://svnweb.freebsd.org/changeset/base/251536 Log: MFC r250939: Correct the description of the -a option: rtsol(d) -a will in fact send out router solicitations on multiple interfaces. MFC r251059: - Fix wording.

svn commit: r251535 - stable/8/usr.sbin/ndp

2013-06-08 Thread Mark Johnston
Author: markj Date: Sat Jun 8 15:47:18 2013 New Revision: 251535 URL: http://svnweb.freebsd.org/changeset/base/251535 Log: MFC r250941: Include descriptions of the flags and fields printed when dumping the IPv6 prefix list. Modified: stable/8/usr.sbin/ndp/ndp.8 Directory Properties: st

svn commit: r251537 - stable/8/usr.sbin/rtsold

2013-06-08 Thread Mark Johnston
Author: markj Date: Sat Jun 8 15:48:29 2013 New Revision: 251537 URL: http://svnweb.freebsd.org/changeset/base/251537 Log: MFC r250939: Correct the description of the -a option: rtsol(d) -a will in fact send out router solicitations on multiple interfaces. MFC r251059: - Fix wording.

svn commit: r251582 - stable/9/lib/libelf

2013-06-09 Thread Mark Johnston
Author: markj Date: Sun Jun 9 17:47:01 2013 New Revision: 251582 URL: http://svnweb.freebsd.org/changeset/base/251582 Log: MFC r247221: Merge part of r1712 from elftoolchain, making it possible to resize ELF sections and indirectly change the layout of an ELF file when ELF_F_LAYOUT is not

svn commit: r251583 - stable/8/lib/libelf

2013-06-09 Thread Mark Johnston
Author: markj Date: Sun Jun 9 17:47:16 2013 New Revision: 251583 URL: http://svnweb.freebsd.org/changeset/base/251583 Log: MFC r247221: Merge part of r1712 from elftoolchain, making it possible to resize ELF sections and indirectly change the layout of an ELF file when ELF_F_LAYOUT is not

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

2013-06-13 Thread Mark Johnston
Author: markj Date: Fri Jun 14 01:12:59 2013 New Revision: 251723 URL: http://svnweb.freebsd.org/changeset/base/251723 Log: The functions are called pci_{msi,msix}_count(), not pci_count_{msi,msix}(). MFC after:3 days Modified: head/share/man/man9/pci.9 Modified: head/share/man/man9

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

2013-11-08 Thread Mark Johnston
Author: markj Date: Sat Nov 9 04:38:16 2013 New Revision: 257877 URL: http://svnweb.freebsd.org/changeset/base/257877 Log: Don't try to use the 32-bit drti.o unless the data model is explicitly set to ILP32. Otherwise dtrace -G will attempt to use it on amd64 if it can't determine which dat

svn commit: r258000 - head/lib/libproc

2013-11-11 Thread Mark Johnston
Author: markj Date: Mon Nov 11 16:57:57 2013 New Revision: 258000 URL: http://svnweb.freebsd.org/changeset/base/258000 Log: Consistently add the relocation offset only when the ELF type is not ET_EXEC. This fixes several problems with the DTrace pid provider not being able to match probes.

svn commit: r258036 - head/sys/dev/usb

2013-11-11 Thread Mark Johnston
Author: markj Date: Tue Nov 12 06:14:12 2013 New Revision: 258036 URL: http://svnweb.freebsd.org/changeset/base/258036 Log: Add IDs for the ASIX 88179 and 88178A USB to GigE adapters. Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs ==

<    1   2   3   4   5   6   7   8   9   10   >