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

2013-03-03 Thread Mark Johnston
Author: markj Date: Sun Mar 3 19:02:11 2013 New Revision: 247723 URL: http://svnweb.freebsd.org/changeset/base/247723 Log: MFC r246978: - Make sure to set an error code when trying to obtain a data descriptor for a section of type SHT_NULL. - Update the man page to reflect the fac

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

2013-03-03 Thread Mark Johnston
Author: markj Date: Sun Mar 3 19:02:23 2013 New Revision: 247724 URL: http://svnweb.freebsd.org/changeset/base/247724 Log: MFC r246978: - Make sure to set an error code when trying to obtain a data descriptor for a section of type SHT_NULL. - Update the man page to reflect the fac

svn commit: r267706 - head/sys/cddl/dev/sdt

2014-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 21 19:29:40 2014 New Revision: 267706 URL: http://svnweb.freebsd.org/changeset/base/267706 Log: Allow creation of SDT probes from a module in which no providers are defined. This ensures that the sdt:zfs:: probes appear despite the fact the sdt provider is defined

svn commit: r267759 - head/sys/cddl/dev/dtrace/amd64

2014-06-22 Thread Mark Johnston
Author: markj Date: Mon Jun 23 01:10:56 2014 New Revision: 267759 URL: http://svnweb.freebsd.org/changeset/base/267759 Log: Fix a couple of bugs on amd64 when fetching probe arguments beyond the first five for probes entered through a UD fault (i.e. FBT probes). Specifically, handle the f

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

2014-06-22 Thread Mark Johnston
Author: markj Date: Mon Jun 23 02:00:14 2014 New Revision: 267761 URL: http://svnweb.freebsd.org/changeset/base/267761 Log: Fix some bugs when fetching probe arguments in i386. Firstly ensure that the 4 byte-aligned dtrace_invop_callsite can be found and that it immediately follows the call

svn commit: r267842 - head/etc/mtree

2014-06-24 Thread Mark Johnston
Author: markj Date: Tue Jun 24 21:12:08 2014 New Revision: 267842 URL: http://svnweb.freebsd.org/changeset/base/267842 Log: Unbreak installation of the rtld tests. X-MFC-With: r267679 Modified: head/etc/mtree/BSD.tests.dist Modified: head/etc/mtree/BSD.tests.dist =

svn commit: r268446 - head/lib/libc/sys

2014-07-08 Thread Mark Johnston
Author: markj Date: Wed Jul 9 01:33:35 2014 New Revision: 268446 URL: http://svnweb.freebsd.org/changeset/base/268446 Log: Fix a typo. MFC after:3 days Modified: head/lib/libc/sys/procctl.2 Modified: head/lib/libc/sys/procctl.2 ==

svn commit: r268501 - head/sys/dev/e1000

2014-07-10 Thread Mark Johnston
Author: markj Date: Thu Jul 10 16:46:46 2014 New Revision: 268501 URL: http://svnweb.freebsd.org/changeset/base/268501 Log: Correct the setting of the VID in transmit descriptors when hardware VLAN tagging is enabled. This was broken in r266978. Reported by: gjb Tested by:gjb Modi

svn commit: r268584 - head/sys/dev/sound/pci/hda

2014-07-13 Thread Mark Johnston
Author: markj Date: Sun Jul 13 10:31:29 2014 New Revision: 268584 URL: http://svnweb.freebsd.org/changeset/base/268584 Log: Add a headphone redirection quirk for the Lenovo G580. MFC after:1 week Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c head/sys/dev/sound/pci/hda/hdac.h

svn commit: r268600 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 cddl/dev/dtrace/mips cddl/dev/dtrace/powerpc i386/i386 mips/mips powerpc/aim sys

2014-07-13 Thread Mark Johnston
Author: markj Date: Mon Jul 14 04:38:17 2014 New Revision: 268600 URL: http://svnweb.freebsd.org/changeset/base/268600 Log: Invoke the DTrace trap handler before calling trap() on amd64. This matches the upstream implementation and helps ensure that a trap induced by tracing fbt::trap:entry

Re: svn commit: r268600 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 cddl/dev/dtrace/mips cddl/dev/dtrace/powerpc i386/i386 mips/mips powerpc/aim sys

2014-07-15 Thread Mark Johnston
On Mon, Jul 14, 2014 at 11:10:50AM +0300, Konstantin Belousov wrote: > On Mon, Jul 14, 2014 at 04:38:17AM +0000, Mark Johnston wrote: > > Author: markj > > Date: Mon Jul 14 04:38:17 2014 > > New Revision: 268600 > > URL: http://svnweb.freebsd.org/changeset/base/268600

svn commit: r268869 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/fbt

2014-07-18 Thread Mark Johnston
Author: markj Date: Sat Jul 19 02:27:31 2014 New Revision: 268869 URL: http://svnweb.freebsd.org/changeset/base/268869 Log: Use a C wrapper for trap() instead of checking and calling the DTrace trap hook in assembly. Suggested by: kib Reviewed by: kib (original version) X-MFC-With:

svn commit: r268923 - head/sys/amd64/amd64

2014-07-20 Thread Mark Johnston
Author: markj Date: Sun Jul 20 18:44:56 2014 New Revision: 268923 URL: http://svnweb.freebsd.org/changeset/base/268923 Log: Fix the build when DTrace isn't enabled. Reported by: stefanf X-MFC-With: r268600 Modified: head/sys/amd64/amd64/trap.c Modified: head/sys/amd64/amd64/trap.c

Re: svn commit: r268869 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/fbt

2014-07-20 Thread Mark Johnston
On Sun, Jul 20, 2014 at 04:32:19PM +0200, Stefan Farfeleder wrote: > Hi, > > On Sat, Jul 19, 2014 at 02:27:32AM +0000, Mark Johnston wrote: > > Author: markj > > Date: Sat Jul 19 02:27:31 2014 > > New Revision: 268869 > > URL: http://svnweb.freebsd.org/changeset/

svn commit: r269040 - in stable/9: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering cddl/contrib/opensolaris/lib/libdtrace/common sys/cddl/compat/opensolaris/sys sys/cddl/contrib/opens...

2014-07-23 Thread Mark Johnston
Author: markj Date: Thu Jul 24 01:08:02 2014 New Revision: 269040 URL: http://svnweb.freebsd.org/changeset/base/269040 Log: MFC r262329: Define the KM_NORMALPRI flag for kmem_alloc(), as it is used in some upstream DTrace code. MFC r262330: 1452 DTrace buffer autoscaling should be les

svn commit: r272488 - in head: . cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf cddl/contrib/opensolaris/lib/libdtrace/common cddl/lib/libdtrace lib/libproc lib/libproc/tests lib/librtld_db

2014-10-03 Thread Mark Johnston
Author: markj Date: Fri Oct 3 23:20:37 2014 New Revision: 272488 URL: https://svnweb.freebsd.org/changeset/base/272488 Log: Hook up support for userland CTF support in DTrace. This required some modifications to libproc to support fetching the CTF info for a given file. With this change,

svn commit: r272489 - head/lib/libproc

2014-10-03 Thread Mark Johnston
Author: markj Date: Sat Oct 4 02:34:30 2014 New Revision: 272489 URL: https://svnweb.freebsd.org/changeset/base/272489 Log: Remove an incorrect and useless debug print. X-MFC-With: r272488 Modified: head/lib/libproc/proc_sym.c Modified: head/lib/libproc/proc_sym.c ===

svn commit: r272576 - head

2014-10-05 Thread Mark Johnston
Author: markj Date: Sun Oct 5 22:13:13 2014 New Revision: 272576 URL: https://svnweb.freebsd.org/changeset/base/272576 Log: Fix dependency errors when linking libproc. Reported by: Oliver Hartmann X-MFC-With: r272488 Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ==

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

2014-10-06 Thread Mark Johnston
Author: markj Date: Mon Oct 6 21:52:40 2014 New Revision: 272671 URL: https://svnweb.freebsd.org/changeset/base/272671 Log: Treat D keywords as identifiers in certain postfix expressions. This allows one to, for example, access the "provider" field of a struct g_consumer, even though "provi

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

2014-10-08 Thread Mark Johnston
Author: markj Date: Wed Oct 8 17:44:30 2014 New Revision: 272763 URL: https://svnweb.freebsd.org/changeset/base/272763 Log: If we fail to send a signal after rotation, print the pidfile from which the corresponding PID was obtained. PR: 194143 Submitted by: Lyndon Nerenberg

svn commit: r272766 - in head/sys: amd64/amd64 amd64/include arm/arm arm/include i386/i386 i386/include mips/include mips/mips x86/x86

2014-10-08 Thread Mark Johnston
Author: markj Date: Wed Oct 8 20:25:21 2014 New Revision: 272766 URL: https://svnweb.freebsd.org/changeset/base/272766 Log: Pass up the error status of minidumpsys() to its callers. PR: 193761 Submitted by: Conrad Meyer Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r272834 - head/cddl/contrib/opensolaris/cmd/lockstat

2014-10-09 Thread Mark Johnston
Author: markj Date: Thu Oct 9 17:45:58 2014 New Revision: 272834 URL: https://svnweb.freebsd.org/changeset/base/272834 Log: Document the CPU+Pri_Class column rather than CPU+PRI, as the latter isn't used or implemented on FreeBSD. Reported by: kmacy Reviewed by: kmacy, rpaulo MFC a

svn commit: r272851 - vendor/illumos/dist/man/man4

2014-10-09 Thread Mark Johnston
Author: markj Date: Thu Oct 9 23:11:36 2014 New Revision: 272851 URL: https://svnweb.freebsd.org/changeset/base/272851 Log: 5202 want ctf(4) Reviewed by: Keith M Wesolowski Reviewed by: Jerry Jelinek Reviewed by: Garrett D'Amore Approved by: Dan McDonald Author: Robert Mustacchi

svn commit: r273115 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt

2014-10-14 Thread Mark Johnston
Author: markj Date: Wed Oct 15 03:15:46 2014 New Revision: 273115 URL: https://svnweb.freebsd.org/changeset/base/273115 Log: Remove a build artifact of the USDT tests. MFC after:3 days Deleted: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/main.c _

svn commit: r273186 - head/share/mk

2014-10-16 Thread Mark Johnston
Author: markj Date: Thu Oct 16 21:13:46 2014 New Revision: 273186 URL: https://svnweb.freebsd.org/changeset/base/273186 Log: Don't define rules based on PROGS if PROGS is empty. Reviewed by: sjg, ngie MFC after:1 week Sponsored by: EMC / Isilon Storage Division Modified: head/sh

svn commit: r273236 - head/sys/dev/hwpmc

2014-10-17 Thread Mark Johnston
Author: markj Date: Fri Oct 17 19:04:24 2014 New Revision: 273236 URL: https://svnweb.freebsd.org/changeset/base/273236 Log: Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is consistent with pmc_destroy_owner_descriptor(). Also be sure to destroy PMCs if a process exits or

svn commit: r273342 - head/sys/kern

2014-10-20 Thread Mark Johnston
Author: markj Date: Mon Oct 20 20:21:40 2014 New Revision: 273342 URL: https://svnweb.freebsd.org/changeset/base/273342 Log: Fix a typo from r189544, which replaced unp_global_rwlock with unp_list_lock and unp_link_rwlock. MFC after:3 days Modified: head/sys/kern/subr_witness.c Mo

svn commit: r273365 - head/share/mk

2014-10-20 Thread Mark Johnston
Author: markj Date: Tue Oct 21 04:30:00 2014 New Revision: 273365 URL: https://svnweb.freebsd.org/changeset/base/273365 Log: Fix a few small bugs in the DTrace USDT rules: * anchor search strings appropriately, * use .ALLSRC to pass the full path to the D script to dtrace(1), * don't inser

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

2014-10-20 Thread Mark Johnston
Author: markj Date: Tue Oct 21 05:19:08 2014 New Revision: 273370 URL: https://svnweb.freebsd.org/changeset/base/273370 Log: Correct the calculation of tcps_rto in the struct tcpcb -> tcpsinfo_t translator. Submitted by: Grenville Armitage MFC after:1 week Modified: head/cddl/li

svn commit: r273488 - head/usr.sbin/pciconf

2014-10-22 Thread Mark Johnston
Author: markj Date: Wed Oct 22 23:35:56 2014 New Revision: 273488 URL: https://svnweb.freebsd.org/changeset/base/273488 Log: Fix some buglets in the error-handling of getdevice(). In particular, report an error if the argument to pciconf -a doesn't have a unit number, rather than triggering

svn commit: r273491 - stable/10/usr.bin/elfdump

2014-10-22 Thread Mark Johnston
Author: markj Date: Wed Oct 22 23:55:08 2014 New Revision: 273491 URL: https://svnweb.freebsd.org/changeset/base/273491 Log: MFC r271692: Fix a typo. Modified: stable/10/usr.bin/elfdump/elfdump.1 Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.bin/elfdump/elfdu

svn commit: r273490 - stable/9/usr.bin/elfdump

2014-10-22 Thread Mark Johnston
Author: markj Date: Wed Oct 22 23:55:06 2014 New Revision: 273490 URL: https://svnweb.freebsd.org/changeset/base/273490 Log: MFC r271692: Fix a typo. Modified: stable/9/usr.bin/elfdump/elfdump.1 Directory Properties: stable/9/usr.bin/elfdump/ (props changed) Modified: stable/9/usr.bin/

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

2014-10-23 Thread Mark Johnston
Author: markj Date: Thu Oct 23 18:48:43 2014 New Revision: 273553 URL: https://svnweb.freebsd.org/changeset/base/273553 Log: MFC 272763: If we fail to send a signal after rotation, print the pidfile from which the corresponding PID was obtained. PR: 194143 Modified: stable/

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

2014-10-23 Thread Mark Johnston
Author: markj Date: Thu Oct 23 18:50:44 2014 New Revision: 273554 URL: https://svnweb.freebsd.org/changeset/base/273554 Log: MFC r272763: If we fail to send a signal after rotation, print the pidfile from which the corresponding PID was obtained. PR: 194143 Modified: stable

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

2014-10-24 Thread Mark Johnston
Author: markj Date: Fri Oct 24 17:24:29 2014 New Revision: 273596 URL: https://svnweb.freebsd.org/changeset/base/273596 Log: MFC r258902: The uaddr, ufunc, umod and usym functions all seem to work as expected on FreeBSD, so stop hiding them behind a "#if defined(sun)". Modified: stable/9/

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

2014-10-24 Thread Mark Johnston
Author: markj Date: Fri Oct 24 17:24:29 2014 New Revision: 273595 URL: https://svnweb.freebsd.org/changeset/base/273595 Log: MFC r258902: The uaddr, ufunc, umod and usym functions all seem to work as expected on FreeBSD, so stop hiding them behind a "#if defined(sun)". Modified: stable/10

svn commit: r273605 - head/lib/libc/net

2014-10-24 Thread Mark Johnston
Author: markj Date: Fri Oct 24 20:29:14 2014 New Revision: 273605 URL: https://svnweb.freebsd.org/changeset/base/273605 Log: Eliminate conf_lock and instead rely on the NSS write lock to protect NSS configuration state. As a side effect, this fixes a race condition which can occur if mult

svn commit: r273717 - head/lib/libc/gen

2014-10-26 Thread Mark Johnston
Author: markj Date: Mon Oct 27 04:09:23 2014 New Revision: 273717 URL: https://svnweb.freebsd.org/changeset/base/273717 Log: getgrouplist(3) was reimplemented in terms of getgrent_r(3) in r174547, so this bug is no longer valid. MFC after:3 days Modified: head/lib/libc/gen/getgroup

svn commit: r273765 - stable/10/cddl/lib/libdtrace

2014-10-27 Thread Mark Johnston
Author: markj Date: Tue Oct 28 06:17:25 2014 New Revision: 273765 URL: https://svnweb.freebsd.org/changeset/base/273765 Log: MFC r273370: Correct the calculation of tcps_rto in the struct tcpcb -> tcpsinfo_t translator. Modified: stable/10/cddl/lib/libdtrace/tcp.d Directory Properties:

svn commit: r274149 - head/etc/mtree

2014-11-05 Thread Mark Johnston
Author: markj Date: Wed Nov 5 22:50:33 2014 New Revision: 274149 URL: https://svnweb.freebsd.org/changeset/base/274149 Log: Create a directory for the PAM tests. Modified: head/etc/mtree/BSD.tests.dist Modified: head/etc/mtree/BSD.tests.dist =

svn commit: r274156 - stable/9/sys/dev/hwpmc

2014-11-05 Thread Mark Johnston
Author: markj Date: Thu Nov 6 01:30:15 2014 New Revision: 274156 URL: https://svnweb.freebsd.org/changeset/base/274156 Log: MFC r273236: Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is consistent with pmc_destroy_owner_descriptor(). Also be sure to destroy PMCs if a pr

svn commit: r274155 - stable/10/sys/dev/hwpmc

2014-11-05 Thread Mark Johnston
Author: markj Date: Thu Nov 6 01:30:13 2014 New Revision: 274155 URL: https://svnweb.freebsd.org/changeset/base/274155 Log: MFC r273236: Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is consistent with pmc_destroy_owner_descriptor(). Also be sure to destroy PMCs if a pr

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

2014-11-05 Thread Mark Johnston
Author: markj Date: Thu Nov 6 01:34:43 2014 New Revision: 274157 URL: https://svnweb.freebsd.org/changeset/base/274157 Log: MFC r273342: Fix a typo from r189544, which replaced unp_global_rwlock with unp_list_lock and unp_link_rwlock. Modified: stable/10/sys/kern/subr_witness.c Directory

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

2014-11-05 Thread Mark Johnston
Author: markj Date: Thu Nov 6 01:34:44 2014 New Revision: 274158 URL: https://svnweb.freebsd.org/changeset/base/274158 Log: MFC r273342: Fix a typo from r189544, which replaced unp_global_rwlock with unp_list_lock and unp_link_rwlock. Modified: stable/9/sys/kern/subr_witness.c Directory

svn commit: r274200 - head/share/mk

2014-11-06 Thread Mark Johnston
Author: markj Date: Thu Nov 6 22:46:40 2014 New Revision: 274200 URL: https://svnweb.freebsd.org/changeset/base/274200 Log: Automatically build with debug symbols when building with WITH_CTF. Otherwise there's nothing for ctfconvert to do, and it ends up emitting an error for each object fi

svn commit: r265882 - in stable/9/sys/cddl/dev/dtrace: amd64 i386

2014-05-11 Thread Mark Johnston
Author: markj Date: Sun May 11 16:48:36 2014 New Revision: 265882 URL: http://svnweb.freebsd.org/changeset/base/265882 Log: MFC r236566 (by zml): Fix DTrace TSC skew calculation: The skew calculation here is exactly backwards. We were able to repro it on a multi-package ESX server runni

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

2014-05-14 Thread Mark Johnston
Author: markj Date: Wed May 14 19:02:00 2014 New Revision: 266082 URL: http://svnweb.freebsd.org/changeset/base/266082 Log: Bind ip/tcp/udp provider translators and symbols to the same versions as in illumos, rather than using "1.0" everywhere. Some of the translators use D functions that

svn commit: r266101 - in stable/9/sys/cddl: contrib/opensolaris/uts/common/dtrace dev/dtrace

2014-05-14 Thread Mark Johnston
Author: markj Date: Thu May 15 00:50:57 2014 New Revision: 266101 URL: http://svnweb.freebsd.org/changeset/base/266101 Log: MFC r262665: Expose a few DTrace parameters as sysctls under kern.dtrace and add descriptions for several existing sysctls. PR: 187027 Modified: stable/9/sys/

svn commit: r266102 - in stable/10/sys/cddl: contrib/opensolaris/uts/common/dtrace dev/dtrace

2014-05-14 Thread Mark Johnston
Author: markj Date: Thu May 15 00:52:17 2014 New Revision: 266102 URL: http://svnweb.freebsd.org/changeset/base/266102 Log: MFC r262665: Expose a few DTrace parameters as sysctls under kern.dtrace and add descriptions for several existing sysctls. PR: 187027 Modified: stable/10/sys

svn commit: r266195 - head/sys/dev/hwpmc

2014-05-15 Thread Mark Johnston
Author: markj Date: Thu May 15 21:19:13 2014 New Revision: 266195 URL: http://svnweb.freebsd.org/changeset/base/266195 Log: Remove some prototypes for undefined functions. MFC after:3 days Modified: head/sys/dev/hwpmc/hwpmc_core.h head/sys/dev/hwpmc/hwpmc_uncore.h Modified: head/s

svn commit: r266452 - stable/10/sys/dev/hwpmc

2014-05-19 Thread Mark Johnston
Author: markj Date: Mon May 19 19:49:06 2014 New Revision: 266452 URL: http://svnweb.freebsd.org/changeset/base/266452 Log: MFC r266195: Remove some prototypes for undefined functions. Modified: stable/10/sys/dev/hwpmc/hwpmc_core.h stable/10/sys/dev/hwpmc/hwpmc_uncore.h Directory Prope

svn commit: r266453 - stable/9/sys/dev/hwpmc

2014-05-19 Thread Mark Johnston
Author: markj Date: Mon May 19 19:54:21 2014 New Revision: 266453 URL: http://svnweb.freebsd.org/changeset/base/266453 Log: MFC r266195: Remove some prototypes for undefined functions. Modified: stable/9/sys/dev/hwpmc/hwpmc_core.h stable/9/sys/dev/hwpmc/hwpmc_uncore.h Directory Propert

svn commit: r266454 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil tools/test/dtrace

2014-05-19 Thread Mark Johnston
Author: markj Date: Mon May 19 20:11:55 2014 New Revision: 266454 URL: http://svnweb.freebsd.org/changeset/base/266454 Log: Fix tst.ZeroModuleProbes.d.ksh, which was incorrectly modified in r178534. Since "BEGIN" is not the name of a module, the test would just hang. MFC after:3 days

svn commit: r266667 - in stable/10: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering cddl/contrib/opensolaris/lib/libdtrace/common sys/cddl/compat/opensolaris/sys sys/cddl/contrib/open...

2014-05-25 Thread Mark Johnston
Author: markj Date: Sun May 25 18:19:57 2014 New Revision: 27 URL: http://svnweb.freebsd.org/changeset/base/27 Log: MFC r262329: Define the KM_NORMALPRI flag for kmem_alloc(), as it is used in some upstream DTrace code. MFC r262330: 1452 DTrace buffer autoscaling should be les

svn commit: r266723 - head/sys/sys

2014-05-26 Thread Mark Johnston
Author: markj Date: Tue May 27 02:00:43 2014 New Revision: 266723 URL: http://svnweb.freebsd.org/changeset/base/266723 Log: Garbage-collect a couple of unused identifiers. MFC after:3 days Modified: head/sys/sys/dtrace_bsd.h Modified: head/sys/sys/dtrace_bsd.h ==

svn commit: r266826 - head/sys/sys

2014-05-28 Thread Mark Johnston
Author: markj Date: Thu May 29 01:41:19 2014 New Revision: 266826 URL: http://svnweb.freebsd.org/changeset/base/266826 Log: Move some duplicated hook definitions from machine-dependent files to kern_dtrace.c. Reviewed by: rpaulo MFC after:1 week Modified: head/sys/sys/dtrace_bsd

svn commit: r266827 - in head/sys: amd64/amd64 i386/i386 kern mips/mips powerpc/aim

2014-05-28 Thread Mark Johnston
Author: markj Date: Thu May 29 01:42:22 2014 New Revision: 266827 URL: http://svnweb.freebsd.org/changeset/base/266827 Log: Commit the rest of the changes that were intended to be part of r266826. X-MFC-with: r266826 Modified: head/sys/amd64/amd64/trap.c head/sys/i386/i386/trap.c h

svn commit: r266986 - vendor-sys/illumos/dist/uts/common/dtrace vendor-sys/illumos/dist/uts/common/sys vendor/illumos/dist/cmd/dtrace/test/tst/common/aggs vendor/illumos/dist/cmd/dtrace/test/tst/co...

2014-06-02 Thread Mark Johnston
Author: markj Date: Tue Jun 3 00:55:15 2014 New Revision: 266986 URL: http://svnweb.freebsd.org/changeset/base/266986 Log: 2915 DTrace in a zone should see "cpu", "curpsinfo", et al 2916 DTrace in a zone should be able to access fds[] 2917 DTrace in a zone should have limited provider acces

svn commit: r266986 - vendor-sys/illumos/dist/uts/common/dtrace vendor-sys/illumos/dist/uts/common/sys vendor/illumos/dist/cmd/dtrace/test/tst/common/aggs vendor/illumos/dist/cmd/dtrace/test/tst/co...

2014-06-02 Thread Mark Johnston
Author: markj Date: Tue Jun 3 00:55:15 2014 New Revision: 266986 URL: http://svnweb.freebsd.org/changeset/base/266986 Log: 2915 DTrace in a zone should see "cpu", "curpsinfo", et al 2916 DTrace in a zone should be able to access fds[] 2917 DTrace in a zone should have limited provider acces

svn commit: r266987 - vendor-sys/illumos/dist/uts/common/dtrace vendor-sys/illumos/dist/uts/common/sys vendor/illumos/dist/cmd/dtrace/test/tst/common/aggs vendor/illumos/dist/cmd/dtrace/test/tst/co...

2014-06-02 Thread Mark Johnston
Author: markj Date: Tue Jun 3 01:06:31 2014 New Revision: 266987 URL: http://svnweb.freebsd.org/changeset/base/266987 Log: 4477 DTrace should speak JSON illumos/illumos-gate@f497f9fe231e0e400f339c84a7d80c4aae2ac4d5 Added: vendor/illumos/dist/cmd/dtrace/test/tst/common/json/ vendor/ill

svn commit: r266987 - vendor-sys/illumos/dist/uts/common/dtrace vendor-sys/illumos/dist/uts/common/sys vendor/illumos/dist/cmd/dtrace/test/tst/common/aggs vendor/illumos/dist/cmd/dtrace/test/tst/co...

2014-06-02 Thread Mark Johnston
Author: markj Date: Tue Jun 3 01:06:31 2014 New Revision: 266987 URL: http://svnweb.freebsd.org/changeset/base/266987 Log: 4477 DTrace should speak JSON illumos/illumos-gate@f497f9fe231e0e400f339c84a7d80c4aae2ac4d5 Modified: vendor-sys/illumos/dist/uts/common/dtrace/dtrace.c vendor-sy

svn commit: r266988 - vendor/illumos/dist/cmd/dtrace/test/tst/common/usdt

2014-06-02 Thread Mark Johnston
Author: markj Date: Tue Jun 3 01:16:11 2014 New Revision: 266988 URL: http://svnweb.freebsd.org/changeset/base/266988 Log: 4248 dtrace(1M) should never create DOF with empty probes section 4249 Only probes from the first DTrace object file will be included illumos/illumos-gate@54a20ab41a

svn commit: r266989 - vendor-sys/illumos/dist/uts/common/dtrace vendor-sys/illumos/dist/uts/common/sys vendor/illumos/dist/cmd/dtrace vendor/illumos/dist/cmd/dtrace/test/tst/common/pid vendor/illum...

2014-06-02 Thread Mark Johnston
Author: markj Date: Tue Jun 3 01:24:46 2014 New Revision: 266989 URL: http://svnweb.freebsd.org/changeset/base/266989 Log: 4474 DTrace Userland CTF Support 4475 DTrace userland Keyword 4476 DTrace tests should be better citizens 4479 pid provider types 4480 dof emulation is missing chec

svn commit: r266989 - vendor-sys/illumos/dist/uts/common/dtrace vendor-sys/illumos/dist/uts/common/sys vendor/illumos/dist/cmd/dtrace vendor/illumos/dist/cmd/dtrace/test/tst/common/pid vendor/illum...

2014-06-02 Thread Mark Johnston
Author: markj Date: Tue Jun 3 01:24:46 2014 New Revision: 266989 URL: http://svnweb.freebsd.org/changeset/base/266989 Log: 4474 DTrace Userland CTF Support 4475 DTrace userland Keyword 4476 DTrace tests should be better citizens 4479 pid provider types 4480 dof emulation is missing chec

svn commit: r266992 - vendor-sys/illumos/dist/uts/common/sys vendor/illumos/dist/cmd/dtrace/test/tst/common/aggs vendor/illumos/dist/lib/libdtrace/common

2014-06-02 Thread Mark Johnston
Author: markj Date: Tue Jun 3 01:42:09 2014 New Revision: 266992 URL: http://svnweb.freebsd.org/changeset/base/266992 Log: 4471 DTrace count() with histogram 4472 DTrace full width distribution histograms 4473 DTrace frequency trails illumos/illumos-gate@33093f5bcdc51014933497dd3937408

svn commit: r266993 - vendor-sys/illumos/dist/uts/common/dtrace

2014-06-02 Thread Mark Johnston
Author: markj Date: Tue Jun 3 01:52:05 2014 New Revision: 266993 URL: http://svnweb.freebsd.org/changeset/base/266993 Log: 4469 DTrace helper tracing should be dynamic illumos/illumos-gate@902686d13f8a39cfdc57f5605470369eafa51e1f Modified: vendor-sys/illumos/dist/uts/common/dtrace/dtrac

svn commit: r266994 - in vendor/illumos/dist: cmd/dtrace/test/tst/common/arithmetic lib/libdtrace/common

2014-06-02 Thread Mark Johnston
Author: markj Date: Tue Jun 3 01:55:27 2014 New Revision: 266994 URL: http://svnweb.freebsd.org/changeset/base/266994 Log: 4470 overly aggressive D integer narrowing breaks 32-bit ustack helpers illumos/illumos-gate@2e0552679e3175533ade93573ac1229d20a8367b Added: vendor/illumos/dist/cmd

svn commit: r266995 - vendor-sys/illumos/dist/uts/common/dtrace

2014-06-02 Thread Mark Johnston
Author: markj Date: Tue Jun 3 01:58:22 2014 New Revision: 266995 URL: http://svnweb.freebsd.org/changeset/base/266995 Log: 4767 dtrace_probe() always has the timestamp illumos/illumos-gate@82d86f4e8b1400610e24f161032c16e049f173a0 Modified: vendor-sys/illumos/dist/uts/common/dtrace/dtrac

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

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 18:31:27 2014 New Revision: 269245 URL: http://svnweb.freebsd.org/changeset/base/269245 Log: MFC r262669: 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

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

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 18:31:44 2014 New Revision: 269246 URL: http://svnweb.freebsd.org/changeset/base/269246 Log: MFC r262669: 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

svn commit: r269253 - in stable/10/sys: amd64/amd64 i386/i386

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 20:33:18 2014 New Revision: 269253 URL: http://svnweb.freebsd.org/changeset/base/269253 Log: MFC r263329: Only invoke fasttrap hooks for traps from user mode, and ensure that they're called with interrupts enabled. Calling fasttrap_pid_probe() with interrupts

svn commit: r269254 - in stable/9/sys: amd64/amd64 i386/i386

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 20:34:10 2014 New Revision: 269254 URL: http://svnweb.freebsd.org/changeset/base/269254 Log: MFC r263329: Only invoke fasttrap hooks for traps from user mode, and ensure that they're called with interrupts enabled. Calling fasttrap_pid_probe() with interrupts

svn commit: r269255 - stable/10/share/man/man9

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 20:37:22 2014 New Revision: 269255 URL: http://svnweb.freebsd.org/changeset/base/269255 Log: MFC r264363: Update the SDT(9) example to reflect the removal of the sname parameter in r258622. Modified: stable/10/share/man/man9/SDT.9 Directory Properties: sta

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

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 20:38:08 2014 New Revision: 269256 URL: http://svnweb.freebsd.org/changeset/base/269256 Log: MFC r264363: Update the SDT(9) examples to reflect the removal of the sname parameter in r258622. Modified: stable/9/share/man/man9/SDT.9 Directory Properties: sta

svn commit: r269259 - stable/9/lib/libc/sys

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 21:15:24 2014 New Revision: 269259 URL: http://svnweb.freebsd.org/changeset/base/269259 Log: MFC r268446: Fix a typo. Modified: stable/9/lib/libc/sys/procctl.2 Directory Properties: stable/9/lib/libc/ (props changed) stable/9/lib/libc/sys/ (props chang

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

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 21:21:16 2014 New Revision: 269263 URL: http://svnweb.freebsd.org/changeset/base/269263 Log: MFC r264486: Use the correct format specifiers for wide characters and strings of wide characters. Modified: stable/10/cddl/contrib/opensolaris/lib/libdtrace/common/

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

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 21:21:15 2014 New Revision: 269262 URL: http://svnweb.freebsd.org/changeset/base/269262 Log: MFC r264486: Use the correct format specifiers for wide characters and strings of wide characters. Modified: stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/d

svn commit: r269260 - stable/10/lib/libc/sys

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 21:15:26 2014 New Revision: 269260 URL: http://svnweb.freebsd.org/changeset/base/269260 Log: MFC r268446: Fix a typo. Modified: stable/10/lib/libc/sys/procctl.2 Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/libc/sys/procctl.2 ==

svn commit: r269272 - stable/10/sys/cddl/dev/systrace

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 22:26:41 2014 New Revision: 269272 URL: http://svnweb.freebsd.org/changeset/base/269272 Log: MFC r264435: Ensure that all eight syscall arguments are available to dtrace_probe(), rather than just the first five. Modified: stable/10/sys/cddl/dev/systrace/syst

svn commit: r269273 - stable/9/sys/cddl/dev/systrace

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 22:26:42 2014 New Revision: 269273 URL: http://svnweb.freebsd.org/changeset/base/269273 Log: MFC r264435: Ensure that all eight syscall arguments are available to dtrace_probe(), rather than just the first five. Modified: stable/9/sys/cddl/dev/systrace/systr

svn commit: r269275 - stable/9/lib/libutil

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 22:29:32 2014 New Revision: 269275 URL: http://svnweb.freebsd.org/changeset/base/269275 Log: MFC r265276: Fix a typo. Modified: stable/9/lib/libutil/kinfo_getfile.3 Directory Properties: stable/9/lib/libutil/ (props changed) Modified: stable/9/lib/libutil

svn commit: r269274 - stable/10/lib/libutil

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 22:29:31 2014 New Revision: 269274 URL: http://svnweb.freebsd.org/changeset/base/269274 Log: MFC r265276: Fix a typo. Modified: stable/10/lib/libutil/kinfo_getfile.3 Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/libutil/kinfo_ge

svn commit: r269343 - in stable/9/sys/cddl: contrib/opensolaris/uts/common/dtrace contrib/opensolaris/uts/common/sys contrib/opensolaris/uts/intel/dtrace dev/dtrace

2014-07-31 Thread Mark Johnston
Author: markj Date: Thu Jul 31 17:10:04 2014 New Revision: 269343 URL: http://svnweb.freebsd.org/changeset/base/269343 Log: MFC r264434: 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 wil

svn commit: r269342 - in stable/10/sys/cddl: contrib/opensolaris/uts/common/dtrace contrib/opensolaris/uts/common/sys contrib/opensolaris/uts/intel/dtrace dev/dtrace

2014-07-31 Thread Mark Johnston
Author: markj Date: Thu Jul 31 17:10:03 2014 New Revision: 269342 URL: http://svnweb.freebsd.org/changeset/base/269342 Log: MFC r264434: 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 wil

svn commit: r269521 - in stable/9: cddl/contrib/opensolaris/lib/libdtrace/common cddl/lib/libdtrace sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/contrib/opensolaris/uts/common/sys sys/cd...

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 15:36:23 2014 New Revision: 269521 URL: http://svnweb.freebsd.org/changeset/base/269521 Log: MFC r256571: Add a function, memstr, which can be used to convert a buffer of null-separated strings to a single string. This can be used to print the full arguments

svn commit: r269520 - in stable/10: cddl/contrib/opensolaris/lib/libdtrace/common cddl/lib/libdtrace sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/contrib/opensolaris/uts/common/sys sys/c...

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 15:36:22 2014 New Revision: 269520 URL: http://svnweb.freebsd.org/changeset/base/269520 Log: MFC r256571: Add a function, memstr, which can be used to convert a buffer of null-separated strings to a single string. This can be used to print the full arguments

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

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 18:52:26 2014 New Revision: 269524 URL: http://svnweb.freebsd.org/changeset/base/269524 Log: Preserve the errno value of an ioctl before calling free(3). Previously, errno was very occasionally being clobbered, resulting in a bogus error from dt_consume() and t

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

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 19:02:30 2014 New Revision: 269525 URL: http://svnweb.freebsd.org/changeset/base/269525 Log: Return 0 for the PPID of threads in process 0, as process 0 doesn't have a parent process. MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/c

svn commit: r269532 - in stable/9/sys/cddl: contrib/opensolaris/uts/intel/dtrace dev/dtrace/amd64

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 21:41:01 2014 New Revision: 269532 URL: http://svnweb.freebsd.org/changeset/base/269532 Log: MFC r256822: When fetching function arguments out of a frame on amd64, explicitly select the register based on the argument index rather than relying on the fields in

svn commit: r269531 - in stable/10/sys/cddl: contrib/opensolaris/uts/intel/dtrace dev/dtrace/amd64

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 21:41:00 2014 New Revision: 269531 URL: http://svnweb.freebsd.org/changeset/base/269531 Log: MFC r256822: When fetching function arguments out of a frame on amd64, explicitly select the register based on the argument index rather than relying on the fields in

svn commit: r269544 - stable/9/sys/cddl/dev/sdt

2014-08-04 Thread Mark Johnston
Author: markj Date: Tue Aug 5 00:25:19 2014 New Revision: 269544 URL: http://svnweb.freebsd.org/changeset/base/269544 Log: MFC r267706: Allow creation of SDT probes from a module in which no providers are defined. This ensures that the sdt:zfs:: probes appear despite the fact the sdt prov

svn commit: r269545 - stable/10/sys/cddl/dev/sdt

2014-08-04 Thread Mark Johnston
Author: markj Date: Tue Aug 5 00:25:46 2014 New Revision: 269545 URL: http://svnweb.freebsd.org/changeset/base/269545 Log: MFC r267706: Allow creation of SDT probes from a module in which no providers are defined. This ensures that the sdt:zfs:: probes appear despite the fact the sdt prov

svn commit: r269546 - stable/10/sys/dev/sound/pci/hda

2014-08-04 Thread Mark Johnston
Author: markj Date: Tue Aug 5 01:03:10 2014 New Revision: 269546 URL: http://svnweb.freebsd.org/changeset/base/269546 Log: MFC r268584: Add a headphone redirection quirk for the Lenovo G580. Modified: stable/10/sys/dev/sound/pci/hda/hdaa_patches.c stable/10/sys/dev/sound/pci/hda/hdac.h D

svn commit: r269547 - stable/9/sys/dev/sound/pci/hda

2014-08-04 Thread Mark Johnston
Author: markj Date: Tue Aug 5 01:03:11 2014 New Revision: 269547 URL: http://svnweb.freebsd.org/changeset/base/269547 Log: MFC r268584: Add a headphone redirection quirk for the Lenovo G580. Modified: stable/9/sys/dev/sound/pci/hda/hdaa_patches.c stable/9/sys/dev/sound/pci/hda/hdac.h Dir

svn commit: r269557 - in stable/10/sys/cddl: contrib/opensolaris/uts/common/sys dev/dtrace/amd64 dev/dtrace/i386

2014-08-04 Thread Mark Johnston
Author: markj Date: Tue Aug 5 01:53:15 2014 New Revision: 269557 URL: http://svnweb.freebsd.org/changeset/base/269557 Log: MFC r267759, r267761 r267759: Fix a couple of bugs on amd64 when fetching probe arguments beyond the first five for probes entered through a UD fault (i.e. FBT pro

svn commit: r269556 - in stable/9/sys/cddl: contrib/opensolaris/uts/common/sys dev/dtrace/amd64 dev/dtrace/i386

2014-08-04 Thread Mark Johnston
Author: markj Date: Tue Aug 5 01:53:14 2014 New Revision: 269556 URL: http://svnweb.freebsd.org/changeset/base/269556 Log: MFC r267759, r267761 r267759: Fix a couple of bugs on amd64 when fetching probe arguments beyond the first five for probes entered through a UD fault (i.e. FBT pro

svn commit: r269681 - stable/9/libexec/rtld-elf

2014-08-07 Thread Mark Johnston
Author: markj Date: Thu Aug 7 18:37:15 2014 New Revision: 269681 URL: http://svnweb.freebsd.org/changeset/base/269681 Log: MFC r265456, r265578: 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 p

svn commit: r269680 - stable/10/libexec/rtld-elf

2014-08-07 Thread Mark Johnston
Author: markj Date: Thu Aug 7 18:36:47 2014 New Revision: 269680 URL: http://svnweb.freebsd.org/changeset/base/269680 Log: MFC r265456, r265578: 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 p

svn commit: r269719 - stable/9/lib/librtld_db

2014-08-08 Thread Mark Johnston
Author: markj Date: Fri Aug 8 14:52:59 2014 New Revision: 269719 URL: http://svnweb.freebsd.org/changeset/base/269719 Log: MFC r265629, r265630 MFC r265629: Handle the different event types properly in rd_event_addr(). In particular, with r265456 _r_debug_postinit can be used for RD_PO

svn commit: r269720 - stable/10/lib/librtld_db

2014-08-08 Thread Mark Johnston
Author: markj Date: Fri Aug 8 14:53:01 2014 New Revision: 269720 URL: http://svnweb.freebsd.org/changeset/base/269720 Log: MFC r265629, r265630 MFC r265629: Handle the different event types properly in rd_event_addr(). In particular, with r265456 _r_debug_postinit can be used for RD_PO

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