Enable creation of static userspace probes in incremental builds.To define USDT probes, dtrace -G makes use of relocations for undefinedsymbols: the target address is overwritten with NOPs and the
Enable creation of static userspace probes in incremental builds.To define USDT probes, dtrace -G makes use of relocations for undefinedsymbols: the target address is overwritten with NOPs and the location isrecorded in the DOF section of the output object file. To avoid linkerrors, the original relocation is destroyed. However, this means thatthe same input object file cannot be processed multiple times, ashappens during incremental rebuilds. Instead, only set the relocationtype to NONE, so that all information required to reconstruct USDTprobes is preserved.Reported by: bdreweryMFC after: 3 weeksSponsored by: The FreeBSD Foundation
show more ...
dtrace tests: Support globbing for excludesDownstream this makes skipping tests like common/ip/tst.*sctp*.ksh simpler.Reviewed by: vangyzen, cem, markjSponsored by: Dell EMCDifferential Revisio
dtrace tests: Support globbing for excludesDownstream this makes skipping tests like common/ip/tst.*sctp*.ksh simpler.Reviewed by: vangyzen, cem, markjSponsored by: Dell EMCDifferential Revision: https://reviews.freebsd.org/D24608
DTrace: create an amd64 test suitCreate two tests checking if we can read urgs registers and if therax register returns a correct number.Reviewed by: markjDiscussed with: lwhsuMFC after: 2 wee
DTrace: create an amd64 test suitCreate two tests checking if we can read urgs registers and if therax register returns a correct number.Reviewed by: markjDiscussed with: lwhsuMFC after: 2 weeksDifferential Revision: https://reviews.freebsd.org/D20364
Make it possible to generate makefiles for arch-dependent DTrace tests.MFC after: 1 weekEvent: Waterloo Hackathon 2019
Add support for send, receive and state-change DTrace providers forSCTP. They are based on what is specified in the Solaris DTrace manualfor Solaris 11.4.Reviewed by: 0mp, dteske, markjRelnotes
Add support for send, receive and state-change DTrace providers forSCTP. They are based on what is specified in the Solaris DTrace manualfor Solaris 11.4.Reviewed by: 0mp, dteske, markjRelnotes: yesDifferential Revision: https://reviews.freebsd.org/D16839
Add a dtrace provider for UDP-Lite.The dtrace provider for UDP-Lite is modeled after the UDP provider.This fixes the bug that UDP-Lite packets were triggering the UDPprovider.Thanks to dteske@ f
Add a dtrace provider for UDP-Lite.The dtrace provider for UDP-Lite is modeled after the UDP provider.This fixes the bug that UDP-Lite packets were triggering the UDPprovider.Thanks to dteske@ for providing the dwatch module.Reviewed by: dteske@, markj@, rrs@Relnotes: yesDifferential Revision: https://reviews.freebsd.org/D16377
Improve TCP related tests for dtrace.Ensure that the TCP connections are terminated gracefully as expectedby the test. Use appropriate numbers for sent/received packets.In addition, enable tst.lo
Improve TCP related tests for dtrace.Ensure that the TCP connections are terminated gracefully as expectedby the test. Use appropriate numbers for sent/received packets.In addition, enable tst.localtcpstate.ksh, which should pass, butdoesn't until https://reviews.freebsd.org/D16369 is committed.Reviewed by: markj@Sponsored by: Netflix, Inc.Differential Revision: https://reviews.freebsd.org/D16288
Fix the UDP tests for dtrace.The code imported from opensolaris was depending on ping supportingUDP for sending probes. Since this is not supported by ping on FreeBSDuse a perl script instead.Th
Fix the UDP tests for dtrace.The code imported from opensolaris was depending on ping supportingUDP for sending probes. Since this is not supported by ping on FreeBSDuse a perl script instead.The remote test requires the usage of ksh93, so state that in thesheband.Enable the local test, but keep the remote test disabled, since itrequires a remote machine on the LAN.Reviewed by: markj@, gnn@Sponsored by: Netflix, Inc.Differential Revision: https://reviews.freebsd.org/D16268
Remove tst.zonename.d from the list of expected failures.X-MFC with: r327888
Mark uctf/err.user64mode.ksh as EXFAIL for now.MFC after: 1 week
Revert r326181 for now.We can't link an executable using -m32 until the lib32 phase of abuildworld, though the build works fine when executing make fromcddl/usr.sbin/dtrace/tests. Some other solu
Revert r326181 for now.We can't link an executable using -m32 until the lib32 phase of abuildworld, though the build works fine when executing make fromcddl/usr.sbin/dtrace/tests. Some other solution will need to be found.
Compile one of the uctf test programs with -m32.The err.user64mode.ksh test expects it to run as a 32-bit process.MFC after: 1 week
Annotate pragma/err.invalidlibdep.ksh as EXFAIL.The test creates a D library with a "depends_on library" pragmareferencing a non-existent library, and expects compilation to fail.However, as far
Annotate pragma/err.invalidlibdep.ksh as EXFAIL.The test creates a D library with a "depends_on library" pragmareferencing a non-existent library, and expects compilation to fail.However, as far as I can tell, libdtrace is supposed simply abortcompilation of the library in this case, and continue. This behaviouris desirable when adding libraries which depend on optional KLDs, forexample.MFC after: 1 week
Annotate usdt/tst.eliminate.ksh as EXFAIL.It appears to depend on some behaviour specific to the Sun link editor.MFC after: 1 week
The test case common.funcs.t_dtrace_contrib.tst_basename_d generates averifying script which needs being run to complete the test.While here, add missing shebang.Reviewed by: gnn, markj, ngieDi
The test case common.funcs.t_dtrace_contrib.tst_basename_d generates averifying script which needs being run to complete the test.While here, add missing shebang.Reviewed by: gnn, markj, ngieDifferential Revision: https://reviews.freebsd.org/D11716
Override the locale so that file lists get a consistent sort order.Reported by: avgMFC after: 1 week
Remove the EXFAIL annotation for tests which pass as of r309596.Reported by: bdrewerySponsored by: Dell EMC Isilon
Skip a ustack test that triggers an assertion on INVARIANTS kernels.Reported by: ngieSponsored by: Dell EMC IsilonX-MFC-With: r309698
err.D_PROC_CREATEFAIL.many.d passes, so remove the EFAIL annotation.MFC after: 1 weekSponsored by: Dell EMC Isilon
Run DTrace test scripts with "tst" set to the test script file name.MFC after: 1 weekSponsored by: Dell EMC Isilon
tst.kpriv.ksh fails because DTrace privilege levels are unimplemented.MFC after: 1 week
dtraceUtil/tst.DataModel32.d.ksh passes on amd64.
Highball memory requirement (4GB) with common/{raise,safety}Both test suites require more memory than my amd64 VM usingGENERIC-NODEBUG can provide and reliably panic it with OOM issues indtrace(4
Highball memory requirement (4GB) with common/{raise,safety}Both test suites require more memory than my amd64 VM usingGENERIC-NODEBUG can provide and reliably panic it with OOM issues indtrace(4).Some of the testcases fail, but this at least bypasses the panic behavioron platforms that don't have enough resourcesMFC after: 2 weeksDiscussed with: markjSponsored by: EMC / Isilon Storage Division
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedafter r298107Summary of changes:- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that na
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedafter r298107Summary of changes:- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed- Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc- Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously.- Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk- Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk.- Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo- Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)Document the proposed changes in share/examples/tests/tests/... via examplesso it's clear that ${PACKAGES}FILES is the suggested way forward in terms ofreplacing FILES. share/mk/bsd.README didn't seem like the appropriate methodof communicating that info.MFC after: never probablyX-MFC with: r298107PR: 209114Relnotes: yesTested with: buildworld, installworld, checkworld; buildworld, packageworldSponsored by: EMC / Isilon Storage Division
Fix LDADD/DPADD that should be LIBADD.Sponsored by: EMC / Isilon Storage Division
12