[DTrace-devel] [oracle/dtrace-utils] c337ff: test: ensure processes are ready for tracing in ts...
Kris Van Hees
noreply at github.com
Fri Mar 8 16:16:32 UTC 2024
Branch: refs/heads/devel
Home: https://github.com/oracle/dtrace-utils
Commit: c337ff9862d9a5daad4afac9f35f63011068be9e
https://github.com/oracle/dtrace-utils/commit/c337ff9862d9a5daad4afac9f35f63011068be9e
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M test/unittest/pid/tst.manypids.sh
Log Message:
-----------
test: ensure processes are ready for tracing in tst.manypids.tst
This test depends on preloading a lot of libraries which can cause the
task startup to be slower than expected. As a result, dtrace may fail
to enable probes. This is typically the case if the preload libraries
and executable are not in cache yet.
We explicitly invoke /usr/bin/sleep right before starting the tasks to
be traced to prime the cache.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
To unsubscribe from these emails, change your notification settings at https://github.com/oracle/dtrace-utils/settings/notifications
More information about the DTrace-devel
mailing list