Remove $FreeBSD$: one-line bare tagRemove /^\s*\$FreeBSD\$$\n/
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
show more ...
dtrace: fix ipfw_rule_info_t translator322e5efda8578b has changed field names in the struct ip_fw.Use correct names in ipfw_rule_info_t translator in the ipfw.d script.Reported by: Keith White <
dtrace: fix ipfw_rule_info_t translator322e5efda8578b has changed field names in the struct ip_fw.Use correct names in ipfw_rule_info_t translator in the ipfw.d script.Reported by: Keith White <kwhite uottawa at gmail>MFC after: 1 week
pkgbase: Put dtrace in its own packageWhile dtrace is usefull some people might not want it.Differential Revision: https://reviews.freebsd.org/D30752Sponsored by: Diablotin Systems
Add dtrace SDT probe ipfw:::rule-matched.It helps to reduce complexity with debugging of large ipfw rulesets.Also define several constants and translators, that can by used bydtrace scripts with
Add dtrace SDT probe ipfw:::rule-matched.It helps to reduce complexity with debugging of large ipfw rulesets.Also define several constants and translators, that can by used bydtrace scripts with this probe.Reviewed by: gnnObtained from: Yandex LLCMFC after: 2 weeksSponsored by: Yandex LLCDifferential Revision: https://reviews.freebsd.org/D26879
Synchronize definitions in mbuf.d with values from mbuf.hObtained from: Yandex LLCSponsored by: Yandex LLC
Introduce dwatch(1) as a tool for making DTrace more usefulReviewed by: markj, gnn, bdrewery (earlier version)Relnotes: yesSponsored by: Smule, Inc.Differential Revision: https://reviews.freebsd
Introduce dwatch(1) as a tool for making DTrace more usefulReviewed by: markj, gnn, bdrewery (earlier version)Relnotes: yesSponsored by: Smule, Inc.Differential Revision: https://reviews.freebsd.org/D10006
Remove redefinitions of some kernel types from mbuf.d.These override the kernel's definitions and do not match in some cases,which can break scripts that use these types. With r305055, dtrace is a
Remove redefinitions of some kernel types from mbuf.d.These override the kernel's definitions and do not match in some cases,which can break scripts that use these types. With r305055, dtrace is ableto trace fields of struct mbuf's anonymous structs and unions, so there isno need to redefine types already defined in CTF.MFC after: 3 days
Remove the old version of the DTraceToolkit from the source tree.The DTraceToolkit is part of the Open DTrace effort and is supportedon FreeBSD as a port (sysutils/DTraceToolkit) which has been upd
Remove the old version of the DTraceToolkit from the source tree.The DTraceToolkit is part of the Open DTrace effort and is supportedon FreeBSD as a port (sysutils/DTraceToolkit) which has been updatedto properly track toolkit development upstream.Sponsored by: DARPA, AFRL
Add the address at which the routine returned.MFC after: 1 weekSponsored by: Rubicon Communications (Netgate)
Remove dependency on mbuf provider as mbuf SDTs are now in the SDT space.Sponsored by: Rubicon Communications (Netgate)
Add an mbuf provider to DTrace.The mbuf provider is made up of a set of Statically Defined Tracepointswhich help us look into mbufs as they are allocated and freed. This can beused to inspect th
Add an mbuf provider to DTrace.The mbuf provider is made up of a set of Statically Defined Tracepointswhich help us look into mbufs as they are allocated and freed. This can beused to inspect the buffers or for a simplified mbuf leak detector.New tracepoints are:mbuf:::m-initmbuf:::m-gethdrmbuf:::m-getmbuf:::m-getclmbuf:::m-clgetmbuf:::m-cljgetmbuf:::m-cljsetmbuf:::m-freembuf:::m-freemThere is also a translator for mbufs which gives some visibility into the structure,see mbuf.d for more details.Reviewed by: bz, markjMFC after: 2 weeksSponsored by: Rubicon Communications (Netgate)Differential Revision: https://reviews.freebsd.org/D5682
fix tcpdebug: - assign to "flags" in each probe, not only debug-inputcompute "len" in the same way in each probeSubmitted by: Hannes MehnertMFC after: 2 weeksDifferential Revision: https://revie
fix tcpdebug: - assign to "flags" in each probe, not only debug-inputcompute "len" in the same way in each probeSubmitted by: Hannes MehnertMFC after: 2 weeksDifferential Revision: https://reviews.freebsd.org/D5524
Bump copyright for change from fbt to syscallMFC after: 3 daysX-MFC-to: stable/10X-MFC-with: r294548 r294556
Switch to syscall; HEAD lacks fbt for kill(2)MFC after: 3 daysX-MFC-to: stable/10X-MFC-with: 294548
Fix bad title on script (caused by copy/paste)MFC after: 3 daysX-MFC-to: stable/10X-MFC-with: r294548
Add scripts for watching common entry points.MFC after: 3 daysX-MFC-to: stable/10
META MODE: Update dependencies with 'the-lot' and add missing directories.This is not properly respecting WITHOUT or ARCH dependencies in target/.Doing so requires a massive effort to rework targe
META MODE: Update dependencies with 'the-lot' and add missing directories.This is not properly respecting WITHOUT or ARCH dependencies in target/.Doing so requires a massive effort to rework targets/ to do so. Abetter approach will be to either include the SUBDIR Makefiles directlyand map to DIRDEPS or just dynamically lookup the SUBDIR. These losethe benefit of having a userland/lib, userland/libexec, etc, though andresults in a massive package. The current implementation of targets/ isvery unmaintainable.Currently rescue/rescue and sys/modules are still not connected.Sponsored by: EMC / Isilon Storage Division
META MODE: These need object directories to handle staging.Sponsored by: EMC / Isilon Storage Division
Replace the retval.sh shell script with a native DTrace script.Suggested by: markj
Summary: A simple script to print the return value of any function,with or without wild cards.
Add a little, but very useful script for use with programs that work using anevent loop and should sleep only when waiting for events (eg. via kevent(2)).When a program is going to sleep in the ker
Add a little, but very useful script for use with programs that work using anevent loop and should sleep only when waiting for events (eg. via kevent(2)).When a program is going to sleep in the kernel, the script will show its name,PID, kernel stack trace and userland stack trace. Sleeping in kevent(2) isignored as it is expected to be valid.Sample output:# ./blocking lynxdlynxd(15042) is blocking... kernel`_cv_wait_sig+0x124 kernel`seltdwait+0xae kernel`sys_poll+0x3a3 kernel`amd64_syscall+0x343 kernel`0xffffffff806c79ab lynxd`poll+0xa lynxd`pqSocketCheck+0xa2 lynxd`pqWaitTimed+0x29 lynxd`connectDBComplete+0xd7 lynxd`PQsetdbLogin+0x2ec lynxd`db_connect+0x3c lynxd`main+0x198 lynxd`_start+0x16f 0x2lynxd(1925) is blocking... kernel`_cv_wait+0x125 zfs.ko`zio_wait+0x5b zfs.ko`dmu_buf_hold_array_by_dnode+0x1dc zfs.ko`dmu_read+0xcb zfs.ko`zfs_freebsd_getpages+0x37b kernel`VOP_GETPAGES_APV+0xa7 kernel`vnode_pager_getpages+0x9a kernel`vm_fault_hold+0x885 kernel`vm_fault+0x77 kernel`trap_pfault+0x211 kernel`trap+0x506 kernel`0xffffffff806c76c2 lynxd`EVP_add_cipher+0x13 lynxd`SSL_library_init+0x11 lynxd`main+0x94 lynxd`_start+0x16f 0x2lynxd(1925) is blocking... kernel`_cv_wait+0x125 zfs.ko`zio_wait+0x5b zfs.ko`dbuf_read+0x791 zfs.ko`dbuf_findbp+0x12f zfs.ko`dbuf_hold_impl+0xa2 zfs.ko`dbuf_hold+0x1b zfs.ko`dmu_buf_hold_array_by_dnode+0x153 zfs.ko`dmu_read_uio+0x66 zfs.ko`zfs_freebsd_read+0x3a3 kernel`VOP_READ_APV+0xa1 kernel`vn_read+0x13a kernel`vn_io_fault+0x10b kernel`dofileread+0x95 kernel`kern_readv+0x68 kernel`sys_read+0x63 kernel`amd64_syscall+0x343 kernel`0xffffffff806c79ab lynxd`_read+0xa lynxd`__srefill+0x122 lynxd`fgets+0x78 lynxd`file_gets+0x1d lynxd`BIO_gets+0x64 lynxd`PEM_read_bio+0xf5 lynxd`PEM_X509_INFO_read_bio+0x90 lynxd`X509_load_cert_crl_file+0x47 lynxd`by_file_ctrl+0x2e lynxd`X509_STORE_load_locations+0x4a lynxd`sslctx_init+0x255 lynxd`main+0x215 lynxd`_start+0x16f 0x2Requested by: gnnObtained from: Wheel Systems http://wheelsystems.com
dd DTrace probe points, translators and a corresponding scriptto provide the TCPDEBUG functionality with pure DTrace.Reviewed by: rwatsonMFC after: 2 weeksSponsored by: Limelight NetworksDiffer
dd DTrace probe points, translators and a corresponding scriptto provide the TCPDEBUG functionality with pure DTrace.Reviewed by: rwatsonMFC after: 2 weeksSponsored by: Limelight NetworksDifferential Revision: D3530
123