<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/cddl, branch upstream/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-04-18T16:39:00Z</updated>
<entry>
<title>libctf: Fix recursive descent into anonymous SOU fields</title>
<updated>2022-04-18T16:39:00Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-04-12T19:24:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5f649725da97c05329f8e37eb0fd4fba0f289b43'/>
<id>urn:sha1:5f649725da97c05329f8e37eb0fd4fba0f289b43</id>
<content type='text'>
Approved by:	re (gjb)
PR:		262412
Tested by:	dhw, gallatin
Fixes:		a6fb86917362 ("libctf: Handle CTFv3 containers")
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 6e563a1b608438504d963c2d7c70e50d2e75af46)
(cherry picked from commit 8b01c3026b78152d9e0ca6f3758ea226f32e48b9)
</content>
</entry>
<entry>
<title>ctf: Avoid passing a caddr_t to roundup2()</title>
<updated>2022-04-18T16:38:54Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-03-07T16:18:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6955dbde7ad6eb0d6674bf461882f20143c24e8a'/>
<id>urn:sha1:6955dbde7ad6eb0d6674bf461882f20143c24e8a</id>
<content type='text'>
For some reason I can't reproduce this locally, but Jenkins complains.

Approved by:	re (gjb)
Reported by:	Jenkins
Fixes:		bdf290cd3e1a ("ctf: Add v3 support to CTF tools, ctf{convert,dump,merge}")

(cherry picked from commit 3fe1f21fb364e38f2bf7e7100dad59b067b27080)
(cherry picked from commit fb89cf93a5c79f60e8eb38db77294f8c713c4081)
</content>
</entry>
<entry>
<title>ctf: Fix a -Wunused-but-set-variable warning</title>
<updated>2022-04-18T16:38:50Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-03-07T15:34:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e3d976742cd7c65553ead400452d2e3c9c2cbd1d'/>
<id>urn:sha1:e3d976742cd7c65553ead400452d2e3c9c2cbd1d</id>
<content type='text'>
Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit cb6f7225629301d3179f6e9f6d3be4d80f57a31f)
(cherry picked from commit d80faf878a4473c6136f06b774d9176ec9449479)
</content>
</entry>
<entry>
<title>ctf: Add v3 support to CTF tools, ctf{convert,dump,merge}</title>
<updated>2022-04-18T16:38:45Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-03-07T13:54:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=105d1ae9041ff139c6db2f00eb4dd7441d47305f'/>
<id>urn:sha1:105d1ae9041ff139c6db2f00eb4dd7441d47305f</id>
<content type='text'>
ctfdump handles v2 and v3.  ctfconvert now emits only CTFv3, whereas
ctfmerge can merge v2 and v3 containers into v3 containers.

Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit bdf290cd3e1a69d41c2f8bb60bd415cfa78adba2)
(cherry picked from commit e5b54808f735f1a74716f1320916b8a961ddf92d)
</content>
</entry>
<entry>
<title>libctf: Handle CTFv3 containers</title>
<updated>2022-04-18T16:38:39Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-03-07T13:53:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dc543c8786a5345b24bbbf9f8e6725fed2a90b39'/>
<id>urn:sha1:dc543c8786a5345b24bbbf9f8e6725fed2a90b39</id>
<content type='text'>
In general, the patch adds indirection to minimize the amount of code
that needs to know about differences between v2 and v3.  Specifically,
some new ctf_get_ctt_* functions are added, and new LCTF_* macros are
added to use the underlying container's version to do the right thing.

CTF containers can have parent/child relationships, wherein a type ID in
one container refers to a type in the parent.  It is permitted for the
parent and child to have different versions.

Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit a6fb86917362e3f6d24e95e940e80845c2cfde8a)
(cherry picked from commit a49aa9da7835742aa455c7eec4493f0034b4e197)
</content>
</entry>
<entry>
<title>ctf: Add definitions for CTFv3</title>
<updated>2022-04-18T16:38:22Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-03-07T13:44:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6e6983ee2b722a4d931bc1829870a22e5853951d'/>
<id>urn:sha1:6e6983ee2b722a4d931bc1829870a22e5853951d</id>
<content type='text'>
These are based on definitions added to binutils' libctf.  Specifically:
- Type IDs are now encoded in 32 bits rather than 16, changing the
  layout of ctf_type_t, ctf_array_t, ctf_member_t and ctf_lmember_t.
- Type info is encoded in 32 bits rather than 16.  The type "kind" is
  extended from 5 bits to 6, and the type "vlen" is extended from 10
  bits to 25.

The main upside is that we remove the current limit, imposed by CTFv2,
of 2^{15} distinct types in the main kernel executable.  Other limits,
such as that on the number of elements in an enum, imposed by the vlen
limit, are also raised.

This change adds v2 and v3 flavours of macros and type definitions which
differ between the two versions.  Compatibility is preserved for now by
having generic names refer to the v2 definitions, so, e.g., ctf_type_t
is still a v2 type.

No functional change intended.

Approved by:	re (gjb)
Reviewed by:	Domagoj Stolfa
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 994297b01b98816bea1abf45ae4bac1bc69ee7a0)
(cherry picked from commit 9818e5ebf3376ee5dbd01afe24e9972d9201633e)
</content>
</entry>
<entry>
<title>ctf: Import ctf.h from OpenBSD</title>
<updated>2022-04-18T16:37:53Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-03-07T13:42:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6edd55f882b32bf5e74c9892920c0e40ba697d1f'/>
<id>urn:sha1:6edd55f882b32bf5e74c9892920c0e40ba697d1f</id>
<content type='text'>
Use it instead of the existing ctf.h from OpenSolaris.  This makes it
easier to use CTF in the core kernel, and to extend the CTF format to
support wider type IDs.

The imported ctf.h is modified to depend only on _types.h, and also to
provide macros which use the "parent" bit of a type ID to refer to types
in a parent CTF container.

No functional change intended.

Approved by:	re (gjb)
Reviewed by:	Domagoj Stolfa, emaste
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 2d5d2a986ce1a93b8567dbdf3f80bc2b545d6998)
(cherry picked from commit 3681c4f065f1028ff84b654cfbfb238f2723b78c)
</content>
</entry>
<entry>
<title>dtrace tests: Fix expected outout for tst.system.d</title>
<updated>2022-03-09T03:42:23Z</updated>
<author>
<name>Li-Wen Hsu</name>
<email>lwhsu@FreeBSD.org</email>
</author>
<published>2022-03-09T03:39:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=937d08454b3c5dea35f6ddc9692825a328e6c0c3'/>
<id>urn:sha1:937d08454b3c5dea35f6ddc9692825a328e6c0c3</id>
<content type='text'>
This is follow up of d500a85e640d1cd270747c12e17c511b53864436

PR:		262415
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 16e02ae401ebd9aa7d47f46dc4905f4f8add70a8)
</content>
</entry>
<entry>
<title>libctf: Use const ctf_file_t references in string lookup routines</title>
<updated>2022-03-02T13:59:25Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-02-23T23:37:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2d30593c2428417d007ae0abd995909d3413192c'/>
<id>urn:sha1:2d30593c2428417d007ae0abd995909d3413192c</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 45c23c2608ec3e34b5c7ce18eca91a46419e363c)
</content>
</entry>
<entry>
<title>libctf: Remove checks for CTFv1</title>
<updated>2022-03-02T13:58:59Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-02-23T14:57:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=78fb81dec2f843b8b1732aecf7306a077461fc49'/>
<id>urn:sha1:78fb81dec2f843b8b1732aecf7306a077461fc49</id>
<content type='text'>
Per commit 7db423d69273 ("libctf: Rip out CTFv1 support") this support
is obsolete.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 565518046c9e721ea6ff608d44f1e89d344e5e02)
</content>
</entry>
</feed>
