333617 |
15-May-2018 |
dteske |
MFC SVN r329188,329334,329353,329914,329995-329996: DTrace Enhancements
r329188: Use tabs in io.d, fix alignment issues, remove extra newlines r329334: Add errno definitions to /usr/lib/dtrace/errno.d r329353: Add inline to errno.d for translating int to string r329914: Updates and enhancements to io.d to aid DTrace scripting r329995: Updates and enhancements to signal.d to aid DTrace scripting r329996: Consistent casing for fallback SIGCHLD (s/Unknown/unknown/)
MFC SVN r330559-330560,330672,332865-332867,333513-333519: dwatch(1)
r330559: Introduce dwatch(1) as a tool for making DTrace more useful r330560: Bump dwatch(1) internal version from 1.0-beta-91 to 1.0 r330672: Fix display of wrong pid from dtrace_sched(4) r332865: Add `-dev' option to aid debugging of profiles r332866: Add profile for send(2)/recv(2) syscalls r332867: Remove the line used to demonstrate `-dev' option r333513: Bugfix, usage displayed with `-1Q' r333514: Separate default values so `-[BK] num' don't affect usage r333515: Simplify info message test r333516: Export ARGV to profiles loaded via load_profile() r333517: Allow `-E code' to override profile EVENT_DETAILS r333518: Expose process for ip/tcp/udp r333519: Refactor sendrecv profile
Reviewed by: markj, gnn, bdrewery (head; earlier version) Approved by: re (gjb) Relnotes: yes Sponsored by: Smule, Inc. Differential Revision: https://reviews.freebsd.org/D15418 |
305781 |
13-Sep-2016 |
markj |
MFC r305363: Remove redefinitions of some kernel types from mbuf.d. |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
300226 |
19-May-2016 |
gnn |
Remove the old version of the DTraceToolkit from the source tree. The DTraceToolkit is part of the Open DTrace effort and is supported on FreeBSD as a port (sysutils/DTraceToolkit) which has been updated to properly track toolkit development upstream.
Sponsored by: DARPA, AFRL
|
298386 |
21-Apr-2016 |
gnn |
Add the address at which the routine returned.
MFC after: 1 week Sponsored by: Rubicon Communications (Netgate)
|
297258 |
25-Mar-2016 |
gnn |
Remove dependency on mbuf provider as mbuf SDTs are now in the SDT space.
Sponsored by: Rubicon Communications (Netgate)
|
297188 |
22-Mar-2016 |
gnn |
Add an mbuf provider to DTrace.
The mbuf provider is made up of a set of Statically Defined Tracepoints which help us look into mbufs as they are allocated and freed. This can be used to inspect the buffers or for a simplified mbuf leak detector.
New tracepoints are:
mbuf:::m-init mbuf:::m-gethdr mbuf:::m-get mbuf:::m-getcl mbuf:::m-clget mbuf:::m-cljget mbuf:::m-cljset mbuf:::m-free mbuf:::m-freem
There is also a translator for mbufs which gives some visibility into the structure, see mbuf.d for more details.
Reviewed by: bz, markj MFC after: 2 weeks Sponsored by: Rubicon Communications (Netgate) Differential Revision: https://reviews.freebsd.org/D5682
|
296335 |
03-Mar-2016 |
gnn |
fix tcpdebug: - assign to "flags" in each probe, not only debug-input compute "len" in the same way in each probe
Submitted by: Hannes Mehnert MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D5524
|
294684 |
24-Jan-2016 |
dteske |
Bump copyright for change from fbt to syscall
MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r294548 r294556
|
294556 |
22-Jan-2016 |
dteske |
Switch to syscall; HEAD lacks fbt for kill(2)
MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: 294548
|
294549 |
22-Jan-2016 |
dteske |
Fix bad title on script (caused by copy/paste)
MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r294548
|
294548 |
22-Jan-2016 |
dteske |
Add scripts for watching common entry points.
MFC after: 3 days X-MFC-to: stable/10
|
291563 |
01-Dec-2015 |
bdrewery |
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. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable.
Currently rescue/rescue and sys/modules are still not connected.
Sponsored by: EMC / Isilon Storage Division
|
291347 |
26-Nov-2015 |
bdrewery |
META MODE: These need object directories to handle staging.
Sponsored by: EMC / Isilon Storage Division
|
291344 |
26-Nov-2015 |
gnn |
Replace the retval.sh shell script with a native DTrace script.
Suggested by: markj
|
291341 |
25-Nov-2015 |
gnn |
Summary: A simple script to print the return value of any function, with or without wild cards.
|
288644 |
04-Oct-2015 |
pjd |
Add a little, but very useful script for use with programs that work using an event 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) is ignored as it is expected to be valid.
Sample output:
# ./blocking lynxd
lynxd(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 0x2
lynxd(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 0x2
lynxd(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 0x2
Requested by: gnn Obtained from: Wheel Systems http://wheelsystems.com
|
287759 |
13-Sep-2015 |
gnn |
dd DTrace probe points, translators and a corresponding script to provide the TCPDEBUG functionality with pure DTrace.
Reviewed by: rwatson MFC after: 2 weeks Sponsored by: Limelight Networks Differential Revision: D3530
|
287544 |
08-Sep-2015 |
gnn |
Update DTrace nfs scripts to track the proper provider names.
Submitted by: Alex Burlyga
|
284964 |
30-Jun-2015 |
hiren |
Add missing DTrace scripts that exist in the source tree to the Makefile for install. While here, sort the list.
Differential Revision: D2950 Submitted by: Jason Wolfe <j at nitrology.com> Reviewed by: gnn, markj, hiren Sponsored by: Limelight Networks
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796 Reviewed by: brooks imp
|
284255 |
11-Jun-2015 |
sjg |
Remove NO_OBJ
For meta mode we will want objdirs.
Differential Revision: D2748 Reviewed by: brooks imp
|
282242 |
29-Apr-2015 |
gnn |
Brief demo script showing the various values that can be read via the new SIFTR statically defined tracepoint (SDT).
Reviewed by: bz, markj
|
279769 |
08-Mar-2015 |
gnn |
Summary: Update the ports to read from the packet rather than the socket structure
|
279768 |
08-Mar-2015 |
gnn |
udp track shows UDP data as it arrives and leaves the system
|
279765 |
08-Mar-2015 |
gnn |
Summary: Remove the pid printing which does not currently work.
|
279755 |
07-Mar-2015 |
gnn |
Set the property to executable.
|
279754 |
07-Mar-2015 |
gnn |
Add execute bits to tcpstate script.
|
279740 |
07-Mar-2015 |
gnn |
TCP connection tracker that uses aggregations to show where connections originate from.
|
279739 |
07-Mar-2015 |
gnn |
Add a more complex TCP tracking script, which shows connections and accepts as well as state transitions.
|
279727 |
07-Mar-2015 |
gnn |
Add a TCP state tracking script based on FreeBSD TCP SDTs
|
269765 |
09-Aug-2014 |
jmg |
add my scripts to measure io latency per disk...
|
269764 |
09-Aug-2014 |
jmg |
make the README a bit more clearer...
Sort the scripts, and remove the trailing backslash...
We really should install more of the toolkit scripts than just 5 of them..
|
267924 |
26-Jun-2014 |
rpaulo |
Use dtrace -s instead of /bin/sh for DTrace scripts.
|
265420 |
06-May-2014 |
imp |
Use src.opts.mk in preference to bsd.own.mk except where we need stuff from the latter.
|
238665 |
21-Jul-2012 |
gnn |
Remove copy/pasteo in the copyright notice.
|
238660 |
21-Jul-2012 |
gnn |
Add a new script, hotopen, which shows what uid is opening files on a per second basis. While here clean up the Makefile as well.
MFC after: 1 week
|
238535 |
16-Jul-2012 |
gnn |
Add a script that traces NFS attribute cache accesses.
Submitted by: rwatson MFC after: 2 weeks
|
235628 |
18-May-2012 |
gnn |
Fix a case typo.
Pointed out by: jlh@
|
235614 |
18-May-2012 |
gnn |
Add a DTrace script to show the frequency and latency of NFS client calls.
Submitted by: rwatson
|
235613 |
18-May-2012 |
gnn |
Add support for our own DTrace scripts and those from the DTraceToolkit to the build system. FreeBSD written scripts are stored in src/share and the toolkit scripts are brought from the cddl directory into a working tree via install.
MFC after: 2 weeks
|