aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/dwatch/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-1620-20/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* dwatch: install hard links with same mode as targetEd Maste2022-11-231-0/+1
| | | | | | | | | | Previoulsy when using NO_ROOT we recorded METALOG entries for dwatch hard links with different file modes than their link targets, which is not permitted. Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37477
* pkgbase: Create a FreeBSD-dwatch packageEmmanuel Vadot2021-09-071-0/+1
| | | | | | | While dwatch is useful some users might not want it by default. Create a package for it. Differential Revision: https://reviews.freebsd.org/D31796
* Fix the build by just installing systop since testing shows it works with:Brad Davis2018-08-111-1/+1
| | | | | | | | | | dwatch -X systop Reviewed by: kp Approved by: allanjude (mentor) Notes: svn path=/head/; revision=337629
* dwatch(1): Add systop profileDevin Teske2018-08-112-0/+85
| | | | | | | | | | | Provides a top-like view of syscall consumers. MFC after: 3 days X-MFC-to: stable/11 Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=337611
* dwatch(1): Fix syntax error in vop_readdir profileDevin Teske2018-08-111-0/+1
| | | | | | | | | | Reported by: Arne Ehrlich <ehrlich@consider-it.de> MFC after: 3 days X-MFC-to: stable/11 Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=337610
* Add a dtrace provider for UDP-Lite.Michael Tuexen2018-07-312-0/+92
| | | | | | | | | | | | | | The dtrace provider for UDP-Lite is modeled after the UDP provider. This fixes the bug that UDP-Lite packets were triggering the UDP provider. Thanks to dteske@ for providing the dwatch module. Reviewed by: dteske@, markj@, rrs@ Relnotes: yes Differential Revision: https://reviews.freebsd.org/D16377 Notes: svn path=/head/; revision=337018
* dwatch(1): Refactor sendrecv profileDevin Teske2018-05-121-17/+29
| | | | | | | | | | The profile for send(2)/recv(2) observation has been refactored to eliminate alloca() in favor of translations available in HEAD. Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=333519
* dwatch(1): Expose process for ip/tcp/udpDevin Teske2018-05-123-63/+0
| | | | | | | | | | | Knowing the value of execname during these probes is of some value even if it is commonly the interrupt kernel thread (intr[12]) -- quite often it is not, but that depends on the probe. Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=333518
* dwatch(1): Allow `-E code' to override profile EVENT_DETAILSDevin Teske2018-05-1217-0/+34
| | | | | | | | | This allows quick changes to the formatted output of a profile. Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=333517
* dwatch(1): Remove the line used to demonstrate `-dev' optionDevin Teske2018-04-221-1/+0
| | | | | | | | | | | In recently added sendrecv profile, there was a line purposefully added to introduce a compilation error in which `-dev' is used to debug the entry. Removing the entry. Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=332867
* dwatch(1): Add profile for send(2)/recv(2) syscallsDevin Teske2018-04-222-0/+223
| | | | | | | Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=332866
* Fix display of wrong pid from dtrace_sched(4)Devin Teske2018-03-081-2/+2
| | | | | | | | | Fix a comment while here. Sponsored by: Smule, Inc. Notes: svn path=/head/; revision=330672
* Introduce dwatch(1) as a tool for making DTrace more usefulDevin Teske2018-03-0617-0/+2084
Reviewed by: markj, gnn, bdrewery (earlier version) Relnotes: yes Sponsored by: Smule, Inc. Differential Revision: https://reviews.freebsd.org/D10006 Notes: svn path=/head/; revision=330559