<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/cddl/usr.sbin/dtrace, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-11-24T15:47:10Z</updated>
<entry>
<title>Use ZFSTOP more broadly</title>
<updated>2025-11-24T15:47:10Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-11-24T15:47:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e928afc531e68b7a142ee49d8f7e5c8426d54033'/>
<id>urn:sha1:e928afc531e68b7a142ee49d8f7e5c8426d54033</id>
<content type='text'>
Reviewed by:	brooks
Obtained from:	CheriBSD
Differential Revision:	https://reviews.freebsd.org/D53791
</content>
</entry>
<entry>
<title>zfs: fix build after openzfs/zfs@e63d026b9</title>
<updated>2025-11-17T16:11:56Z</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2025-11-16T11:15:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4303bde4297a3d19cabdb08ce1550f682578d2ba'/>
<id>urn:sha1:4303bde4297a3d19cabdb08ce1550f682578d2ba</id>
<content type='text'>
Fix Makefiles
Update zfs_config.h and zfs_gitrev.h
</content>
</entry>
<entry>
<title>libdtrace: Permit taking the address of an identifier without type info</title>
<updated>2025-07-21T14:57:58Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-07-21T13:34:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dabde7d97680cac7e0ead56693d424f4e5631019'/>
<id>urn:sha1:dabde7d97680cac7e0ead56693d424f4e5631019</id>
<content type='text'>
Symbols defined using assembler directives lack type info, but in this
case one ought to be able to cast a pointer to the symbol and
dereference the pointer to get a value.  Without this change, D
disallows this trick since it requires all identifiers to have a type.

Relax the rules slightly and allow an identifier to have type "void" if
we know we're just taking its address.

As a result, the following dtrace invocation works:

  dtrace -n 'tick-1s {printf("%d", *(int *)&amp;`ticks);}'

In particular, since commit b2b974f7ef4c ("clock: Simplify subr_ticks
and rename"), "ticks" does not have any type info associated with it, so
its value couldn't be printed.  This trick provides a workaround and is
probably generally useful.

Add a regression test which exercises this functionality.

PR:		287752
Reviewed by:	avg
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D51417
</content>
</entry>
<entry>
<title>dtrace tests: Fix the ATF config variable name</title>
<updated>2025-01-23T19:09:56Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-01-23T19:09:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fed08c59b7bf2cb4d05bacadadde2dcef4dc6c46'/>
<id>urn:sha1:fed08c59b7bf2cb4d05bacadadde2dcef4dc6c46</id>
<content type='text'>
Fixes:		6e6a67e98652 ("dtrace tests: Avoid hard-coding paths to required programs")
Sponsored by:	Innovate UK
</content>
</entry>
<entry>
<title>dtrace tests: Avoid hard-coding paths to required programs</title>
<updated>2025-01-22T14:20:33Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-01-22T14:20:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6e6a67e98652e1477973d031b27ce085d7f200c2'/>
<id>urn:sha1:6e6a67e98652e1477973d031b27ce085d7f200c2</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Innovate UK
</content>
</entry>
<entry>
<title>dtrace tests: Add a test case which validates FBT probe arguments</title>
<updated>2024-09-19T09:22:03Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-09-19T09:22:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d439598dd0d341b0c0b77151ba904e09c42f8421'/>
<id>urn:sha1:d439598dd0d341b0c0b77151ba904e09c42f8421</id>
<content type='text'>
Reviewed by:	avg
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D46674
</content>
</entry>
<entry>
<title>Remove residual blank line at start of Makefile</title>
<updated>2024-07-15T22:43:39Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-07-15T04:46:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e9ac41698b2f322d55ccf9da50a3596edb2c1800'/>
<id>urn:sha1:e9ac41698b2f322d55ccf9da50a3596edb2c1800</id>
<content type='text'>
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
</content>
</entry>
<entry>
<title>dtrace tests: Regenerate makefiles after commit d0b2dbfa0ecf</title>
<updated>2024-06-01T15:16:39Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-06-01T15:16:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=397e83df75e0fcd0d3fcb95ae4d794cb7600fc89'/>
<id>urn:sha1:397e83df75e0fcd0d3fcb95ae4d794cb7600fc89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dtrace tests: Fix loading of the test kernel module</title>
<updated>2024-06-01T15:16:33Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-06-01T15:16:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cb6b5e8ab9cfe3938855826fa3de0f58dacd364e'/>
<id>urn:sha1:cb6b5e8ab9cfe3938855826fa3de0f58dacd364e</id>
<content type='text'>
The old way is racy and can cause two instances, running in parallel, to
attempt to load dtrace_test, and only one will succeed.  This caused
errors when running dtrace tests in parallel.

MFC after:	1 week
</content>
</entry>
<entry>
<title>dtrace tests: Diff expected and actual output upon a miscompare</title>
<updated>2024-01-10T23:19:36Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-01-10T21:38:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a61d2c7fbd3c87126db93dfe83b9f96fea3156f8'/>
<id>urn:sha1:a61d2c7fbd3c87126db93dfe83b9f96fea3156f8</id>
<content type='text'>
This makes quick diagnosis of test failures easier.

MFC after:	1 week
</content>
</entry>
</feed>
