Commit Graph

272 Commits

Author SHA1 Message Date
nonaka 889dcccd73 kdump(1): Symbolic printing for MALLOC_OPTIONS="U". 2019-07-23 01:54:51 +00:00
christos 41bb817512 You don't have to be _LP64 to run 32 bit binaries. You can be mips (64 bit
kernel/32 bit userland).
2019-05-06 19:20:13 +00:00
maxv ba0aa175c4 Remove compat_osf1, discussed on tech-kern@. 2019-03-25 19:24:29 +00:00
martin 47b9b2b3a0 ibcs2 is gone 2018-12-29 18:09:32 +00:00
martin b18e79c6bb compat/svr4* is gone - adapt 2018-12-19 16:27:26 +00:00
rmind 39013e66c1 NPF: Major rework -- migrate NPF to the libnv library.
- This conversion significantly simplifies the code and moves NPF to
  a binary serialisation format (replacing the XML-like format).
- Fix some memory/reference leaks and possibly use-after-free bugs.
- Bump NPF_VERSION as this change makes libnpf incompatible with the
  previous versions.  Also, different serialisation format means NPF
  connection/config saving and loading is not compatible with the
  previous versions either.

Thanks to christos@ for extra testing.
2018-09-29 14:41:35 +00:00
christos 88efda49f6 remove extra quotes. 2018-06-12 15:41:35 +00:00
christos bf830a4102 - instead of hard-coding the include paths in mkioctls, pass them in
from the Makefile so that they are consistent.
- do more sed so that destination paths are not hard-coded inside #include
  statements.
2018-06-12 15:40:39 +00:00
mrg 446e08b1e8 just include <sys/mutex.h> for mkioctls. this works fine for me
for several platforms and fixes the clang build.
2018-06-02 20:07:15 +00:00
martin b30263c2e7 Use proper forward declaration for kmutex_t. This makes MKDTRACE=no builds
work again.
2018-05-29 14:29:53 +00:00
martin 351fd74422 Ooops, backout previous - it was an update build artifact (or something) 2018-05-29 13:10:28 +00:00
martin 2e95568bb1 Backout previous: "typedef void *kmutex_t;
is incompatible with our kmutex_t and breaks the build. ZFS will need
to find a better way to work around this.
2018-05-29 11:18:50 +00:00
chs ba2539a980 merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
 - dtrace FBT probes can now be placed in kernel modules.
 - ZFS now supports mmap().
2018-05-28 21:04:59 +00:00
christos 58cf2108e5 print the mprotect perm argument symbolically. 2018-04-29 18:00:31 +00:00
christos a802845e62 - fix "obsolete" skipping to handle obsolete entries that contain other
variables
- skip files particular to other xserver versions than ours.

XXX: How does this build in the build farm?
2017-11-05 22:52:12 +00:00
christos d4d3ff8a98 deal with the stdbool.h mess defining bool in <net/if.h> and <net/route.h>
and then xf86Opt.h wanting to define a struct field called bool.
2017-11-05 17:44:28 +00:00
wiz 2f78e4cca5 Sync usage with man page. 2017-09-10 10:09:40 +00:00
wiz 928632ef48 Sort flags in SYNOPSIS. Remove unnecessary .Tn. Remove trailing whitespace. 2017-09-10 10:09:34 +00:00
uwe ed98c1eb1b Print negative time offsets correctly. Provide an exegetical quote
from riastradh@, slightly edited to fit the metre.
2017-09-08 21:45:08 +00:00
uwe de9da0ab97 Option -E to display elapsed timestamps (time since beginning of trace).
Option name from FreeBSD.  While here, make it possible to use a
combination of -T -E and -R to display timestamps in several formats.
Idea also from FreeBSD.
2017-09-08 21:09:29 +00:00
uwe fc62aa370e Drop support for KTRFACv0 (NetBSD 3) and KTRFACv1 (NetBSD 5).
Note that on 32-bit platforms it probably never worked anyway because
header size changed from v1 to v2 when time_t became 64 bit.

ok christos@
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?
2017-09-08 20:36:56 +00:00
sevan 39bbc68a3b Drop main() prototype. 2016-09-05 00:40:28 +00:00
mrg 4ffdae42fa don't hide _DEV_IC_BT8XX_H_ inside DTRACE. 2016-08-18 08:02:58 +00:00
christos 71229fdd60 Symbolic printing for mmap 2016-06-01 00:47:16 +00:00
knakahara 11bfe22fab ' != " so make the condition actually work. (same as r1.30) 2016-04-01 07:23:15 +00:00
alnsn 38047b2736 Don't enter infinite loop on big ktr_len values.
Fixes PR 49460.
2016-03-27 21:51:20 +00:00
joerg bb694db2f5 METEORGSIGNAL and METEORSFMT overlap with dtrace, prefer the latter. 2016-02-06 20:21:56 +00:00
christos ffeb8dbf4e Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
martin c7acead6b8 Cast register_t to unsigned long before printf'ing it with %lx. 2016-01-04 08:24:42 +00:00
christos 149dca8a74 be a bit smarter about fcntl 2016-01-03 22:05:18 +00:00
joerg 772e6dc22c ' != " so make the condition actually work. 2015-11-02 12:06:33 +00:00
christos 354d41acbc simplify 2015-10-22 00:29:58 +00:00
christos 20c3ea3d63 Kill sys/modctl.h which we don't need. 2015-09-27 03:37:16 +00:00
christos f72496b8cd Add dtrace ioctls 2015-09-26 03:31:11 +00:00
christos afe59ce9dc more stray \n 2015-06-17 00:01:59 +00:00
christos ff53269704 fix some error handling. 2015-06-16 22:54:10 +00:00
matt 2a4267c6e4 #include <sys/exec_elf.h> for ksyms 2015-05-20 07:16:15 +00:00
christos 58fd765e07 Add QXL, re-enable I915 2015-02-07 14:37:42 +00:00
martin 3af45c0517 Drop i915, it still causes duplicate case statements
(DRM_IOCTL_QXL_UPDATE_AREA == DRM_IOCTL_I915_BATCHBUFFER)
2015-02-07 11:24:55 +00:00
christos e4344b2827 Extend the scripts to handle the X drm ioctls. 2015-02-06 20:08:23 +00:00
christos 3babb960e1 Extend the list of the headers processed to generate symbolic ioctls to
the X sets, and include the DRM ioctls. Unfortunately the DRM ioctls for
different cards overlap, so until I write some code to merge them, only
enable one (currently the i915).
2015-02-06 20:07:45 +00:00
njoly 0f34420c1f Fix compat netbsd32 syscall return values display by calling
output_long() instead of printf().
2014-04-30 11:51:51 +00:00
christos f7ce1bf0d8 PR/48413: Inappropriate sign extension in kdump output 2013-11-27 20:27:58 +00:00
uebayasi b8042039ef * Don't re-generate kdump-ioctl.c during install.
* Don't expand hundreds of *.h paths into a variable and command-line in !=.
  Lazily handle it the glob instead.
2013-04-06 13:48:12 +00:00
dsl b6465c5d37 Extract a base list of .h files from the set lists instead of looking
at the current contents of ${DESTDIR}.
Ignore missing files and also depend on the set lists themselves.
Should stop the build breaking here if there are extra files in DESTDIR (etc).
NB: The order of the .h files matters somewhat. Probably works by luck.
2013-04-04 22:35:28 +00:00
dsl 5df8622daf Output a blank line between the fixed and variable #include lines.
Just a little hint that they come from different places.
2013-04-04 22:32:12 +00:00
joerg e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
dsl cb5a1df091 Only expose the bulk of sys/proc.h and sys/lwp.h if _KERNEL or _KMEMUSER
is defined.
i386 and amd64 build ok.
2013-01-02 19:39:04 +00:00
christos 190c081319 don't limit sockets to sizeof(sizeof sockaddr_storage). We can create valid
sockaddr_un sockets that exceed that. Arguably either
sizeof(struct sockaddr_storage) should be amended, or we should disallow
unix domain sockaddrs that exceed that size.
2011-09-28 16:28:27 +00:00
christos 17c41f8e0c Symbolic printing of some known MISC records. 2011-09-21 17:48:51 +00:00