-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This soups up test/unittest/usdt/tst.manyprocs.sh to test dtprobed's cleaning up the wreckage of dead processes, by having every other process kill itself rather than dying peacefully (and sending a DTRACEHIOC_REMOVE). When doing in-tree testing (something we can detect via $dtrace), we can also check the DOF stash itself to see whether the wreckage has been cleaned up. (This isn't practical when doing systemwide testing because we don't know how much DOF the dtprobed might legitimately be hanging on to.) tst.multitrace.sh gains the ability to test DOF reparsing on upgrade, waiting until the first probe-containing process has started and then intentionally overwriting some of the parsed DOF with junk (in lieu of actually changing struct dof_parsed on the fly :) ) and forcing a reparse via a kill -USR2 (in lieu of communicating the complete argument list of dtprobed down to this test just so it can be killed and restarted). Signed-off-by: Nick Alcock <nick.alcock@oracle.com> Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
- Loading branch information
1 parent
5dd0001
commit 4f528b1
Showing
4 changed files
with
50 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters