summaryrefslogtreecommitdiff
path: root/usr/src/lib/libdtrace/common
AgeCommit message (Collapse)AuthorFilesLines
2022-12-0115182 Fix some SMB dtrace issuesGordon Ross1-0/+3
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Rich Lowe <richlowe@richlowe.net>
2022-11-1015109 dtrace replicated mdb's bitfield mistakesRobert Mustacchi7-29/+99
15111 dtrace -xtree doesn't always escape strings Reviewed by: Adam Leventhal <adam.leventhal@gmail.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2022-11-0915126 ipv4info_t translator produces bad flags valueRobert Mustacchi1-2/+2
15113 dtrace ICMPv4 tests fail due to flags mismatch Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Ryan Zezeski <ryan@oxide.computer> Approved by: Richard Lowe <richlowe@richlowe.net>
2022-03-1014443 resection manual pages per IPD4Richard Lowe14-26/+24
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2022-01-2514326 dt_unring_buf: set dtbd_oldest to the start of the first recordAndriy Gapon1-1/+1
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2021-04-0913487 want mapfile-based assertions about symbol propertiesRichard Lowe1-2/+12
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-02-1212259 CTF shouldn't assume enum sizeJohn Levon1-2/+2
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-02-0711083 support NFS server in zoneEvan Layton2-1/+20
Portions contributed by: Dan Kruchinin <dan.kruchinin@nexenta.com> Portions contributed by: Stepan Zastupov <stepan.zastupov@gmail.com> Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Portions contributed by: Mike Zeller <mike@mikezeller.net> Portions contributed by: Dan McDonald <danmcd@joyent.com> Portions contributed by: Gordon Ross <gordon.w.ross@gmail.com> Portions contributed by: Vitaliy Gusev <gusev.vitaliy@gmail.com> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Reviewed by: Rob Gittins <rob.gittins@nexenta.com> Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Jason King <jbk@joyent.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Garrett D'Amore <garrett@damore.org>
2020-01-1312158 libdtrace: argument to 'alloca' may be too largeToomas Soome1-4/+9
Reviewed by: Matthias Scheler <mscheler@tintri.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-06-2411141 libdtrace: NULL pointer errorsToomas Soome4-9/+7
Reviewed by: John Levon <john.levon@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-06-0711011 SMB2/3 durable handlesMatt Barden1-1/+1
Portions contributed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-06-051841 SMB dtrace provider is incomplete (fix dtrace breakage)Gordon Ross1-1/+1
Approved by: Richard Lowe <richlowe@richlowe.net>
2019-06-031841 SMB dtrace provider is incompleteGordon Ross1-0/+161
11180 SMB2 IOCTL FSCTL_LMR_REQUEST_RESILIENCY Returns Incorrect Response Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-02-1310361 usr/lib - stop lint library generation and packagingAndy Fiddaman1-32/+0
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Frederik Wessels <wessels147@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-116885 CTF Everywhere Part 1Robert Mustacchi3-10/+10
6886 Want ctfdiff 6887 ctfdump should be written in terms of libctf 6888 ctfmerge should be implemented in terms of libctf 6889 ctfconvert should be implemented in terms of libctf 6890 Want general workq 6891 Want general mergeq 6892 ctf_add_encoded assigns() incorrect byte size to types 6893 ctf_add_{struct,union,enum} can reuse forwards 6894 ctf_add_{struct,union,enum} occasionally forget to dirty the ctf_file_t 6895 ctf_add_member could better handle bitfields 6896 ctf_type_size() reports wrong size for forwards 6897 Want libctf ctf_kind_name() function 6898 Want libctf function to set struct/union size Portions contributed by: John Levon <john.levon@joyent.com> Portions contributed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-119058 postmortem DTrace frequently broken under vmwareSam Gwydir1-4/+3
Reviewed by: Tim Kordas <tim.kordas@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Matthew Ahrens <mahrens@delphix.com>
2018-10-198158 Want named threads APIJohn Levon1-3/+7
9857 proc manpages should have LIBRARY section Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-109094 want writable uregs[] in dtracePatrick Mooney3-22/+54
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Alex Wilson <alex.wilson@joyent.com> Reviewed by: Bryan Cantrill <bryan@joyent.com> Reviewed by: Adam Leventhal <adam.leventhal@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-03-109146 libdtrace: this statement may fall throughToomas Soome1-1/+1
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-02-126653 dtrace modifies ELF string table causing problems for linkerJerry Jelinek1-6/+12
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Rich Lowe <richlowe@richlowe.net> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Dominik Hassler <hadfl@omniosce.org> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
2017-06-088269 dtrace stddev aggregation is normalized incorrectlyAndriy Gapon1-0/+2
Reviewed by: Bryan Cantrill <bryan@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-08-257297 clear() on llquantize aggregation causes dtrace to exitBryan Cantrill1-8/+15
7298 printa() of multiple aggregations can fail for llquantize() Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Adam Leventhal <adam.leventhal@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-08-117085 add support for "if" and "else" statements in dtraceMatthew Ahrens8-52/+843
Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Bryan Cantrill <bryan@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2015-05-305396 fix longjmp clobbering errorsGary Mills1-1/+2
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2014-04-144210 unsigned unsigned short short is valid in dtracePaul Dagnelie1-1/+21
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Eric Diven <eric.diven@delphix.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2014-02-254470 overly aggressive D integer narrowing breaks 32-bit ustack helpersBryan Cantrill1-1/+1
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
2014-02-254159 dtrace ignores all ustack helper frames from dead processesDave Pacheco1-3/+6
Reviewed by: Bryan Cantrill <bryan@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
2014-02-254471 DTrace count() with histogramBryan Cantrill6-38/+724
4472 DTrace full width distribution histograms 4473 DTrace frequency trails Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Gordon Ross <gwr@nexenta.com>
2014-02-254474 DTrace Userland CTF SupportRobert Mustacchi22-119/+715
4475 DTrace userland Keyword 4476 DTrace tests should be better citizens 4479 pid provider types 4480 dof emulation is missing checks Reviewed by: Bryan Cantrill <bryan@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
2014-02-254477 DTrace should speak JSONJoshua M. Clulow1-2/+8
Reviewed by: Bryan Cantrill <bmc@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
2014-02-252915 DTrace in a zone should see "cpu", "curpsinfo", et alBryan Cantrill2-7/+11
2916 DTrace in a zone should be able to access fds[] 2917 DTrace in a zone should have limited provider access Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Adam Leventhal <ahl@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
2013-11-064251 libdtrace leaks open file handlesRobert Mustacchi1-3/+8
4250 libdtrace should use "F" specifier on fopen() Reviewed by: Marcel Telka <marcel.telka@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
2013-11-054248 dtrace(1M) should never create DOF with empty probes sectionBryan Cantrill3-8/+23
4249 Only probes from the first DTrace object file will be included Reviewed by: Adam Leventhal <ahl@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2013-05-293680 Want a library to allow programatic access to the pci database (fix ↵Richard Lowe1-0/+2
sparc pkg) 3701 Chelsio Terminator 4 NIC driver for illumos (fix sparc pkg) 3676 dt_print_enum hardcodes a value of zero (fix sparc lint)
2013-04-053675 DTrace print() should try to resolve function pointersRobert Mustacchi1-4/+47
3676 dt_print_enum hardcodes a value of zero Reviewed by: Carlos Cardenas <carlos.cardenas@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
2013-02-053519 DTrace fails to resolve const types from fbtAdam Leventhal3-5/+9
3520 dtrace internal error -- token type 316 is not a valid D compilation token 3521 clean up dtrace unit tests Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
2012-09-073021 option for time-ordered output from dtrace(1M) (fix lint)Richard Lowe1-0/+1
2012-08-283123 need a way to force loading of DTrace helpersAdam H. Leventhal4-73/+302
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Bryan Cantrill <bmc@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2012-07-253021 option for time-ordered output from dtrace(1M)Adam H. Leventhal19-368/+1130
3022 DTrace: keys should not affect the sort order when sorting by value 3023 it should be possible to dereference dynamic variables 3024 D integer narrowing needs some work 3025 register leak in D code generation 3026 libdtrace should set LD_NOLAZYLOAD=1 to help the pid provider Reviewed by: Bryan Cantrill <bmc@joyent.com> Reviewed by: Eric Schrock <eschrock@delphix.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2012-02-081694 Add type-aware print() action (fix lint)Richard Lowe1-0/+6
2011-11-051731 DTrace NFS translators should be split into client/server piecesRichard Lowe2-19/+49
Reviewed by: Garrett D'Amore <garret@nexenta.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Brendan Gregg <brendan.gregg@joyent.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
2011-11-031694 Add type-aware print() actionEric Schrock10-66/+876
Reviewed by: Adam Leventhal <Adam.Leventhal@delphix.com> Reviewed by: Bryan Cantrill <bryancantrill@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-10-091560 DTrace tracemem() size extension broke lint on SPARCRichard Lowe1-0/+1
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Bryan Cantrill <bryancantrill@gmail.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
2011-08-041457 lltostr() D subroutine should take an optional baseBryan Cantrill1-3/+5
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-07-121451 DTrace needs toupper()/tolower() subroutinesBryan Cantrill1-2/+8
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-07-111455 DTrace tracemem() should take an optional size argumentBryan Cantrill4-11/+63
Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-07-081452 DTrace buffer autoscaling should be less violentBryan Cantrill1-27/+0
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-07-071458 D compiler fails to generate error on sizeof() an undefined structBryan Cantrill1-0/+8
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-08-131362 add kvmstat for monitoring of KVM statisticsBryan Cantrill1-0/+2
1363 add vmregs[] variable to DTrace 1364 need disassembler support for VMX instructions 1365 mdb needs 16-bit disassembler support Reviewed by: Brendan Gregg <brendan.gregg@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-02-08905 want llquantize() support in DTraceBryan Cantrill9-9/+403
Reviewed by: Robert Mustacchi <robert.mustacchi@joyent.com> Reviewed by: David Pacheco <dap@joyent.com> Approved by: Garrett D'Amore <garrett@nexenta.com>