<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/lib/libsysdecode/mktables, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-12-09T03:22:44Z</updated>
<entry>
<title>libsysdecode: decode _UMTX_OP flags</title>
<updated>2020-12-09T03:22:44Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-12-09T03:22:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=3b27074b252cae3c7aee8f05f0c968dd26fa055b'/>
<id>urn:sha1:3b27074b252cae3c7aee8f05f0c968dd26fa055b</id>
<content type='text'>
Assume that UMTX_OP with a double underbar following is a flag, while any
underbar+alphanumeric combination immeiately following is an op.

This was a part of D27325.

Reviewed by:	kib
</content>
</entry>
<entry>
<title>Add MSG_TLSAPPDATA to lib/libsysdecode/mktables.</title>
<updated>2020-08-20T03:53:18Z</updated>
<author>
<name>Rick Macklem</name>
<email>rmacklem@FreeBSD.org</email>
</author>
<published>2020-08-20T03:53:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a8537fe4041c807c72d0004ddd050fff204afdb9'/>
<id>urn:sha1:a8537fe4041c807c72d0004ddd050fff204afdb9</id>
<content type='text'>
I have no idea what this does (and until now that it even existed), but
apparently it needs this entry changed for the MSG_TLSAPPDATA, since
it is kernel only.
</content>
</entry>
<entry>
<title>libsysdecode: grab shmflags from sys/mman.h, add decode method</title>
<updated>2020-02-19T14:52:32Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-19T14:52:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c70019dd0a90966b3a784dfd0747dfe8ccfb04fc'/>
<id>urn:sha1:c70019dd0a90966b3a784dfd0747dfe8ccfb04fc</id>
<content type='text'>
Any SHM_* flag here is (and likely will continue to be) a shmflag that may
be passed to shm_open2(), with exception to SHM_ANON. This is a prereq to
adding appropriate support to truss/kdump.

Reviewed by:	kaktus (slightly earlier version)
Differential Revision:	https://reviews.freebsd.org/D23733
</content>
</entry>
<entry>
<title>Rework r339635 to fix .depend.tables.h handling.</title>
<updated>2019-08-16T22:34:10Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2019-08-16T22:34:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=dc89d06976b7ce93b0e934f3dcd567def521bab4'/>
<id>urn:sha1:dc89d06976b7ce93b0e934f3dcd567def521bab4</id>
<content type='text'>
Avoid touching the tables.h file unless it has changed to avoid unneeded
rebuilds.

Also revert r350301's explicit dependencies.

Reviewed by:	emaste
MFC after:	2 weeks
X-MFC-With:	r339635 (kevans request)
PR:		238828
Sponsored by:	DellEMC
Differential Revision:	https://reviews.freebsd.org/D21295
</content>
</entry>
<entry>
<title>Fix regex for extracting SHM_* values for libsysdecode</title>
<updated>2018-10-23T06:31:19Z</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2018-10-23T06:31:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c5c5072bb0d088216ac3f8602929274a543e1057'/>
<id>urn:sha1:c5c5072bb0d088216ac3f8602929274a543e1057</id>
<content type='text'>
There was an additional + after the {6} which is apparently ignored by the
FreeBSD regex implementation but was giving me an error when compiling on
MacOS.

While changing this also make sure that tables.h is not created if mktables
fails. The current rule would create a partial tables.h which causes following
incremental builds to use that broken file and fail with an unrelated
compilation error or even succeed even though they shouldn't.

Approved By:	jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D17069
</content>
</entry>
<entry>
<title>The vmresult table was missing most of the values apart from two due to</title>
<updated>2018-03-12T13:32:51Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2018-03-12T13:32:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=48e6891944bc3f475c666fbee5c4061c5e3320f8'/>
<id>urn:sha1:48e6891944bc3f475c666fbee5c4061c5e3320f8</id>
<content type='text'>
extra "_" in the names we grep for. Add the "_" to the pattern.

Reviewed by:	jhb
MFC after:	3 days
Sponsored by:	iXsystems, Inc.
</content>
</entry>
<entry>
<title>Add support for decoding the type of a cmsg.</title>
<updated>2018-01-15T10:59:04Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2018-01-15T10:59:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a826eb5a413324c5136f5094650cb15c8331c93f'/>
<id>urn:sha1:a826eb5a413324c5136f5094650cb15c8331c93f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify table generation.</title>
<updated>2018-01-15T08:32:49Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2018-01-15T08:32:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c1f0d826d651bf1608347c1af03e5070d7db36ce'/>
<id>urn:sha1:c1f0d826d651bf1608347c1af03e5070d7db36ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add suppor for the supported PR-SCTP policies.</title>
<updated>2018-01-14T12:08:41Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2018-01-14T12:08:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a62bf68d3dc180d82ab149725b87152081894638'/>
<id>urn:sha1:a62bf68d3dc180d82ab149725b87152081894638</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Decode kevent structures logged via ktrace(2) in kdump.</title>
<updated>2017-11-25T04:49:12Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2017-11-25T04:49:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ffb660798460378575377a6928c49f160af89132'/>
<id>urn:sha1:ffb660798460378575377a6928c49f160af89132</id>
<content type='text'>
- Add a new KTR_STRUCT_ARRAY ktrace record type which dumps an array of
  structures.

  The structure name in the record payload is preceded by a size_t
  containing the size of the individual structures.  Use this to
  replace the previous code that dumped the kevent arrays dumped for
  kevent().  kdump is now able to decode the kevent structures rather
  than dumping their contents via a hexdump.

  One change from before is that the 'changes' and 'events' arrays are
  not marked with separate 'read' and 'write' annotations in kdump
  output.  Instead, the first array is the 'changes' array, and the
  second array (only present if kevent doesn't fail with an error) is
  the 'events' array.  For kevent(), empty arrays are denoted by an
  entry with an array containing zero entries rather than no record.

- Move kevent decoding tables from truss to libsysdecode.

  This adds three new functions to decode members of struct kevent:
  sysdecode_kevent_filter, sysdecode_kevent_flags, and
  sysdecode_kevent_fflags.

  kdump uses these helper functions to pretty-print kevent fields.

- Move structure definitions for freebsd11 and freebsd32 kevent
  structures to &lt;sys/event.h&gt; so that they can be shared with userland.
  The 32-bit structures are only exposed if _WANT_KEVENT32 is defined.
  The freebsd11 structures are only exposed if _WANT_FREEBSD11_KEVENT is
  defined.  The 32-bit freebsd11 structure requires both.

- Decode freebsd11 kevent structures in truss for the compat11.kevent()
  system call.

- Log 32-bit kevent structures via ktrace for 32-bit compat kevent()
  system calls.

- While here, constify the 'void *data' argument to ktrstruct().

Reviewed by:	kib (earlier version)
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D12470
</content>
</entry>
</feed>
