[DTrace-devel] [PATCH v2 19/19] test: Add another USDT open/close test
Eugene Loh
eugene.loh at oracle.com
Thu Oct 24 17:51:37 UTC 2024
On 10/24/24 13:43, Kris Van Hees wrote:
> On Thu, Oct 24, 2024 at 01:21:43PM -0400, eugene.loh--- via DTrace-devel wrote:
>> From: Eugene Loh <eugene.loh at oracle.com>
>>
>> There is already a test to check that "dtrace -l" sees USDT
>> probes come and go as an executable loads and unloads a shared
>> library with USDT probes. (See dlclose1.sh.) But it could
>> also fail if DTrace does not immediately notice USDT probes
>> coming or going.
>>
>> Introduce a test that allows a grace period before DTrace
>> notices a USDT probe come or go.
>>
>> There is a deadlib.so here. It is not needed for the test.
>> It simply mimics other, similar tests. The real thing to do
>> might be to put these shared libraries, common to multiple
>> tests, in test/triggers.
> It seems like you removed deadlib, so why paragraph should go also.
Oops. Right. I thought about that... and then forgot to remove it.
> With that removed...
>
> Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
More information about the DTrace-devel
mailing list