<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libproc/tests/proc_test.c, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r360980:</title>
<updated>2020-05-26T14:06:07+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2020-05-26T14:06:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c166d3a61707471bade45acaeea5f6543bca4b5c'/>
<id>c166d3a61707471bade45acaeea5f6543bca4b5c</id>
<content type='text'>
Re-enable proc_test:symbol_lookup after r360979.

PR:	244732
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Re-enable proc_test:symbol_lookup after r360979.

PR:	244732
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r358887:</title>
<updated>2020-05-07T20:27:32+00:00</updated>
<author>
<name>Li-Wen Hsu</name>
<email>lwhsu@FreeBSD.org</email>
</author>
<published>2020-05-07T20:27:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=79bd4c87c19d454d52dfccce927cd934320fbf5b'/>
<id>79bd4c87c19d454d52dfccce927cd934320fbf5b</id>
<content type='text'>
Temporarily skip 2 failing tests after llvm10 import

PR:		244732
Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Temporarily skip 2 failing tests after llvm10 import

PR:		244732
Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>Detach from the child process before completing the test.</title>
<updated>2018-07-27T20:34:15+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2018-07-27T20:34:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=520c80f1b26d74f0d8b06b9818e36b8438fc6f7d'/>
<id>520c80f1b26d74f0d8b06b9818e36b8438fc6f7d</id>
<content type='text'>
Otherwise the child will receive SIGTRAP if the parent exits first.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the child will receive SIGTRAP if the parent exits first.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add an envp argument to proc_create().</title>
<updated>2017-12-03T16:50:16+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-12-03T16:50:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5577b8a709c072fedc73dde9b3ad730699438bf7'/>
<id>5577b8a709c072fedc73dde9b3ad730699438bf7</id>
<content type='text'>
This is needed to support dtrace's -x setenv option.

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is needed to support dtrace's -x setenv option.

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Eliminate the last user of basename_r() in the base system.</title>
<updated>2017-12-01T10:25:52+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2017-12-01T10:25:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1bf4012c84ed79bb4c1a8ed5af35d64beb713a24'/>
<id>1bf4012c84ed79bb4c1a8ed5af35d64beb713a24</id>
<content type='text'>
In this case it's fairly easy to make use of basename().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In this case it's fairly easy to make use of basename().
</pre>
</div>
</content>
</entry>
<entry>
<title>Refine symtab sorting in libproc.</title>
<updated>2017-11-21T16:03:21+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-11-21T16:03:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1bdc41d25293032c4cba3940e17875d42e2cf797'/>
<id>1bdc41d25293032c4cba3940e17875d42e2cf797</id>
<content type='text'>
Add some rules to more closely match what illumos does when an address
resolves to multiple symbols:
- prefer non-local symbols
- prefer symbols with fewer leading underscores and no leading '$'

Add some regression tests to verify these rules.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add some rules to more closely match what illumos does when an address
resolves to multiple symbols:
- prefer non-local symbols
- prefer symbols with fewer leading underscores and no leading '$'

Add some regression tests to verify these rules.
</pre>
</div>
</content>
</entry>
<entry>
<title>libproc: Match prefixes when looking up mapped object by name.</title>
<updated>2016-12-06T04:20:32+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2016-12-06T04:20:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d42df2a44793413692a006e46faad87ec7b9e34f'/>
<id>d42df2a44793413692a006e46faad87ec7b9e34f</id>
<content type='text'>
When looking up an object by name, allow prefix matches if no direct match
is found. This allows one to, for example, match libc entry probes with:

 # dtrace -n 'pid$target:libc.so::entry' -c ./foo

instead of requiring "libc.so.7" or a glob.

Also remove proc_obj2map() as it currently just duplicates the
functionality of proc_name2map(). It's supposed to take a Solaris
link-map ID as a paramter, but support for this isn't implemented and
isn't required to support DTrace's pid provider.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When looking up an object by name, allow prefix matches if no direct match
is found. This allows one to, for example, match libc entry probes with:

 # dtrace -n 'pid$target:libc.so::entry' -c ./foo

instead of requiring "libc.so.7" or a glob.

Also remove proc_obj2map() as it currently just duplicates the
functionality of proc_name2map(). It's supposed to take a Solaris
link-map ID as a paramter, but support for this isn't implemented and
isn't required to support DTrace's pid provider.
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable libproc symbol_lookup tests on arm64</title>
<updated>2015-08-31T20:30:06+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2015-08-31T20:30:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9b68037fd04caee3f3053aa713a138772da06893'/>
<id>9b68037fd04caee3f3053aa713a138772da06893</id>
<content type='text'>
This reverts part of r286863, as the kernel support required by these
tests was added in r287105.

PR:		202305
Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts part of r286863, as the kernel support required by these
tests was added in r287105.

PR:		202305
Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>On arm64 disable three tests that hang or panic</title>
<updated>2015-08-17T23:19:36+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2015-08-17T23:19:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5e3cac3e573c998e9ee1e40b65023e6efe91eac8'/>
<id>5e3cac3e573c998e9ee1e40b65023e6efe91eac8</id>
<content type='text'>
Each issue has a PR open to track. This workaround allows us to run the
tests to investigate the failures and avoid any new regressions.

PR:		202304, 202305, 202307
Reviewed by:	ngie
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D3378
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Each issue has a PR open to track. This workaround allows us to run the
tests to investigate the failures and avoid any new regressions.

PR:		202304, 202305, 202307
Reviewed by:	ngie
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D3378
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure that we don't try to demangle a symbol name if we failed to look</title>
<updated>2015-01-25T00:34:43+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2015-01-25T00:34:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cd9c9939501f157bda77d9d3d8c7c7a37b23776a'/>
<id>cd9c9939501f157bda77d9d3d8c7c7a37b23776a</id>
<content type='text'>
up the symbol. Add a test to exercise this code path.

Reviewed by:	adrian
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
up the symbol. Add a test to exercise this code path.

Reviewed by:	adrian
</pre>
</div>
</content>
</entry>
</feed>
