<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libsysdecode/sysdecode.3, branch release/14.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-16T17:55:10Z</updated>
<entry>
<title>Remove $FreeBSD$: two-line nroff pattern</title>
<updated>2023-08-16T17:55:10Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa9896e082a1046ff4fbc75fcba4d18d1f2efc19'/>
<id>urn:sha1:fa9896e082a1046ff4fbc75fcba4d18d1f2efc19</id>
<content type='text'>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>sysdecode: Add aarch64</title>
<updated>2023-04-12T04:14:17Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-04-12T04:11:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7968a06a69344cbaaa88c475b0fe7aa8c2833039'/>
<id>urn:sha1:7968a06a69344cbaaa88c475b0fe7aa8c2833039</id>
<content type='text'>
FREEBSD32 API is also supported on aarch64. Refer to aarch64 instead of
arm64 because it's about the architecture (powerpc64), not the kernel
interface...

Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>libsysdecode: Include required headers in sysdecode.h</title>
<updated>2022-04-15T14:22:29Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-04-15T14:22:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=354efc4c94078c3c83ea45d467c6377f3f92926e'/>
<id>urn:sha1:354efc4c94078c3c83ea45d467c6377f3f92926e</id>
<content type='text'>
Make sysdecode.h self-contained rather than forcing all consumers to
include dependencies.  No functional change intended.

Reviewed by:	pauamma_gundo.com, jhb, emaste
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34899
</content>
</entry>
<entry>
<title>sysdecode.3: Remove documentation of CloudABI ABIs.</title>
<updated>2021-09-23T00:02:17Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2021-09-23T00:02:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b5f90655ea37dc01e48002f83f85c6e3fc7565d8'/>
<id>urn:sha1:b5f90655ea37dc01e48002f83f85c6e3fc7565d8</id>
<content type='text'>
Fixes:		cf0ee8738e31 Drop cloudabi
</content>
</entry>
<entry>
<title>Drop "All rights reserved" from my copyright statements.</title>
<updated>2019-03-06T22:11:45Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2019-03-06T22:11:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2e43efd0bb1e9cd780f02fa5b888f9264e66e37b'/>
<id>urn:sha1:2e43efd0bb1e9cd780f02fa5b888f9264e66e37b</id>
<content type='text'>
Reviewed by:	rgrimes
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D19485
</content>
</entry>
<entry>
<title>libsysdecode: support errno and syscalls for arm64 Linux</title>
<updated>2018-04-26T18:54:00Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-04-26T18:54:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a16bd169e8c40dcdaf5b38eecdd925706e57d4b'/>
<id>urn:sha1:9a16bd169e8c40dcdaf5b38eecdd925706e57d4b</id>
<content type='text'>
Sponsored by:	Turing Robotic Industries 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/commit/?id=a826eb5a413324c5136f5094650cb15c8331c93f'/>
<id>urn:sha1:a826eb5a413324c5136f5094650cb15c8331c93f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a function is decode the sinfo_flags of struct sctp_sndrcvinfo.</title>
<updated>2018-01-14T14:27:42Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2018-01-14T14:27:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1e6455d87088ac9723523093cbec92d12c0146de'/>
<id>urn:sha1:1e6455d87088ac9723523093cbec92d12c0146de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libsysdecode: Add a new ABI type, SYSDECODE_ABI_CLOUDABI32.</title>
<updated>2017-12-16T19:37:55Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2017-12-16T19:37:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=87f69beea3fd1e4bf1f5002de1af811bc56c327f'/>
<id>urn:sha1:87f69beea3fd1e4bf1f5002de1af811bc56c327f</id>
<content type='text'>
In order to let truss(8) support tracing of 32-bit CloudABI
applications, we need to add a new ABI type to libsysdecode. We can
reuse the existing errno mapping table. Also link in the cloudabi32
system call table to translate system call names.

While there, remove all of the architecture ifdefs. There are not
needed, as the CloudABI data types and system call tables build fine on
any architecture. Building this unconditionally will make it easier to
do tracing for different compat modes, emulation, etc.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D13516
</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/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>
