History log of /freebsd-14.2/lib/libproc/tests/proc_test.c (Results 1 – 13 of 13)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# 1d386b48 16-Aug-2023 Warner Losh <[email protected]>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0
# cf553718 12-May-2020 Mark Johnston <[email protected]>

Re-enable proc_test:symbol_lookup after r360979.

PR: 244732
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# 0fc06121 11-Mar-2020 Li-Wen Hsu <[email protected]>

Temporarily skip 2 failing tests after llvm10 import

PR: 244732
Sponsored by: The FreeBSD Foundation


Revision tags: release/12.1.0, release/11.3.0, release/12.0.0
# 520c80f1 27-Jul-2018 Mark Johnston <[email protected]>

Detach from the child process before completing the test.

Otherwise the child will receive SIGTRAP if the parent exits first.


Revision tags: release/11.2.0
# 5577b8a7 03-Dec-2017 Mark Johnston <[email protected]>

Add an envp argument to proc_create().

This is needed to support dtrace's -x setenv option.

MFC after: 2 weeks


# 1bf4012c 01-Dec-2017 Ed Schouten <[email protected]>

Eliminate the last user of basename_r() in the base system.

In this case it's fairly easy to make use of basename().


# 1bdc41d2 21-Nov-2017 Mark Johnston <[email protected]>

Refine symtab sorting in libproc.

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

Refine symtab sorting in libproc.

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.

show more ...


Revision tags: release/10.4.0, release/11.1.0
# d42df2a4 06-Dec-2016 Mark Johnston <[email protected]>

libproc: Match prefixes when looking up mapped object by name.

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

libproc: Match prefixes when looking up mapped object by name.

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.

show more ...


Revision tags: release/11.0.1, release/11.0.0, release/10.3.0
# 9b68037f 31-Aug-2015 Ed Maste <[email protected]>

Enable libproc symbol_lookup tests on arm64

This reverts part of r286863, as the kernel support required by these
tests was added in r287105.

PR: 202305
Sponsored by: The FreeBSD Foundation


# 5e3cac3e 17-Aug-2015 Ed Maste <[email protected]>

On arm64 disable three tests that hang or panic

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,

On arm64 disable three tests that hang or panic

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

show more ...


Revision tags: release/10.2.0
# cd9c9939 25-Jan-2015 Mark Johnston <[email protected]>

Ensure that we don't try to demangle a symbol name if we failed to look
up the symbol. Add a test to exercise this code path.

Reviewed by: adrian


Revision tags: release/10.1.0
# 41da933c 03-Oct-2014 Mark Johnston <[email protected]>

Hook up support for userland CTF support in DTrace. This required some
modifications to libproc to support fetching the CTF info for a given file.

With this change, dtrace(1) is able to resolve type

Hook up support for userland CTF support in DTrace. This required some
modifications to libproc to support fetching the CTF info for a given file.

With this change, dtrace(1) is able to resolve type info for function and
USDT probe arguments, and function return values. In particular, the args[n]
syntax should now work for referencing arguments of userland probes,
provided that the requisite CTF info is available.

The uctf tests pass if the test programs are compiled with CTF info. The
current infrastructure around the DTrace test suite doesn't support this
yet.

Differential Revision: https://reviews.freebsd.org/D891
MFC after: 1 month
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division

show more ...


# 9351ac6d 21-Sep-2014 Mark Johnston <[email protected]>

Add some ATF tests for libproc.

Differential Revision: D710
Reviewed by: jmmv, ngie, rpaulo