#
a2f733ab |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
lib: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
cf553718 |
|
12-May-2020 |
Mark Johnston <markj@FreeBSD.org> |
Re-enable proc_test:symbol_lookup after r360979. PR: 244732 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
0fc06121 |
|
10-Mar-2020 |
Li-Wen Hsu <lwhsu@FreeBSD.org> |
Temporarily skip 2 failing tests after llvm10 import PR: 244732 Sponsored by: The FreeBSD Foundation
|
#
520c80f1 |
|
27-Jul-2018 |
Mark Johnston <markj@FreeBSD.org> |
Detach from the child process before completing the test. Otherwise the child will receive SIGTRAP if the parent exits first.
|
#
5577b8a7 |
|
03-Dec-2017 |
Mark Johnston <markj@FreeBSD.org> |
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 <ed@FreeBSD.org> |
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 <markj@FreeBSD.org> |
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.
|
#
d42df2a4 |
|
05-Dec-2016 |
Mark Johnston <markj@FreeBSD.org> |
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.
|
#
9b68037f |
|
31-Aug-2015 |
Ed Maste <emaste@FreeBSD.org> |
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 <emaste@FreeBSD.org> |
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
|
#
cd9c9939 |
|
24-Jan-2015 |
Mark Johnston <markj@FreeBSD.org> |
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
|
#
41da933c |
|
03-Oct-2014 |
Mark Johnston <markj@FreeBSD.org> |
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
|
#
9351ac6d |
|
21-Sep-2014 |
Mark Johnston <markj@FreeBSD.org> |
Add some ATF tests for libproc. Differential Revision: D710 Reviewed by: jmmv, ngie, rpaulo
|