summaryrefslogtreecommitdiff
path: root/usr/src/lib/libdtrace
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-12-1814302 Makefile.lib: -h soname should be passed to linkerToomas Soome1-3/+3
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Yuri Pankov <ypankov@tintri.com> Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@fingolfin.org>
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-11-1713274 enable -fstack-protector-strong by default in user landRobert Mustacchi1-1/+9
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2020-10-1313184 Stop translating ld(1) options through cw(1)Richard Lowe1-2/+2
Reviewed by: Jason King <jason.brian.king+illumos@gmail.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-05-0412454 remove lint library machineryRichard Lowe6-22/+7
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gordon Ross <gwr@nexenta.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-08-1611528 Makefile.noget can get goneJohn Levon1-1/+1
11529 Use -Wno-maybe-initialized Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@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 Ross2-0/+162
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-1410079 smatch Makefile changes for usr/src/libJohn Levon1-1/+5
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@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-10-119884 cw(1) should use -fpic rather than -KpicRichard Lowe2-2/+2
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Garrett D'Amore <garrett@damore.org>
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 Ahrens9-53/+845
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>
2015-04-165837 libdtrace audit library build missing LDLIBSRobert Mustacchi1-1/+2
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2015-03-175725 sparc build noise in libdtraceGordon Ross2-4/+4
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
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-08-304072 make clobber leaves trashGordon Ross1-1/+2
Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Marcel Telka <marcel.telka@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> 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-222933 compiler warning gags need better granularityRichard Lowe1-0/+7
Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
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. Leventhal5-83/+337
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. Leventhal21-370/+1138
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>