<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/cddl/lib/libdtrace/psinfo.d, branch releng/13.5</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.5</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.5'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:21Z</updated>
<entry>
<title>Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-23T17:43:21Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17da660ad5b3b9cd90e164dd4dbb9beaa7203054'/>
<id>urn:sha1:17da660ad5b3b9cd90e164dd4dbb9beaa7203054</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/

Similar commit in main:
(cherry picked from commit b3e7694832e8)
</content>
</entry>
<entry>
<title>Use tabs in io.d, fix alignment issues, remove extraneous newlines</title>
<updated>2018-02-12T23:53:38Z</updated>
<author>
<name>Devin Teske</name>
<email>dteske@FreeBSD.org</email>
</author>
<published>2018-02-12T23:53:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=980b68eaa2c5f9523fad5d39e2014fa7595bc8f2'/>
<id>urn:sha1:980b68eaa2c5f9523fad5d39e2014fa7595bc8f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unlike Solaris, in FreeBSD p_args can be 0 so check for that</title>
<updated>2016-08-25T23:24:57Z</updated>
<author>
<name>George V. Neville-Neil</name>
<email>gnn@FreeBSD.org</email>
</author>
<published>2016-08-25T23:24:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=11e72c3b25737e984f4e4f4a21ef6a15f7f4ae39'/>
<id>urn:sha1:11e72c3b25737e984f4e4f4a21ef6a15f7f4ae39</id>
<content type='text'>
instead of walking down to ar_args blindly.

Reported by:	Amanda Strnad
Reviewed by:	markj, jhb
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
</content>
</entry>
<entry>
<title>- Use an explicit "depends_on module kernel" guard in DTrace libraries that</title>
<updated>2015-08-07T19:56:22Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2015-08-07T19:56:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7e518a6648cd25343982e9ae18cf638ca8712d49'/>
<id>urn:sha1:7e518a6648cd25343982e9ae18cf638ca8712d49</id>
<content type='text'>
  reference types defined in the kernel. Otherwise dtrace(1) expects to find
  CTF definitions for all referenced types, which is not very reasonable
  when it is being used in a build environment. This was previously worked
  around by adding "-x nolibs" to dtrace -h or -G invocations, but as of
  r283025, dtrace(1) actually handles dependencies properly, so this is no
  longer necessary.
- Remove "pragma ident" directives from DTrace libraries, as they're being
  phased out upstream as well.

Submitted by:	Krister Johansen &lt;Krister.Johansen@isilon.com&gt; [1]
MFC after:	1 week
Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Add a function, memstr, which can be used to convert a buffer of</title>
<updated>2013-10-16T01:39:26Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2013-10-16T01:39:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e572bc11ec1af832d659b51d3e74ed1ad7ed946a'/>
<id>urn:sha1:e572bc11ec1af832d659b51d3e74ed1ad7ed946a</id>
<content type='text'>
null-separated strings to a single string. This can be used to print the
full arguments of a process using execsnoop (from the DTrace toolkit) or
with the following one-liner:

dtrace -n 'syscall::execve:return {trace(curpsinfo-&gt;pr_psargs);}'

Note that this relies on the process arguments being cached via the struct
proc, which means that it will not work for argvs longer than
kern.ps_arg_cache_limit. However, the following rather non-portable
script can be used to extract any argv at exec time:

fbt::kern_execve:entry
{
    printf("%s", memstr(args[1]-&gt;begin_argv, ' ',
        args[1]-&gt;begin_envv - args[1]-&gt;begin_argv));
}

The debug.dtrace.memstr_max sysctl limits the maximum argument size to
memstr(). Thanks to Brendan Gregg for helpful comments on freebsd-dtrace.

Tested by:	Fabian Keil (earlier version)
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Finish porting execsnoop to FreeBSD. This includes replacing the zonename</title>
<updated>2012-09-01T08:14:21Z</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2012-09-01T08:14:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e04dfc407c6cba522902a5e180d70d297a8378d5'/>
<id>urn:sha1:e04dfc407c6cba522902a5e180d70d297a8378d5</id>
<content type='text'>
with a jail ID and removing the project ID from the list of options.
</content>
</entry>
<entry>
<title>Add the DTrace libraries and D library scripts.</title>
<updated>2008-05-22T04:26:42Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>2008-05-22T04:26:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ebe86aacbec3ee6283865bae78f6a78fe683e165'/>
<id>urn:sha1:ebe86aacbec3ee6283865bae78f6a78fe683e165</id>
<content type='text'>
</content>
</entry>
</feed>
