[DTrace-devel] [PATCH v2 4/4] probe: make it possible to destroy probes in more cases

Nick Alcock nick.alcock at oracle.com
Fri Nov 15 22:55:07 UTC 2024


On 15 Nov 2024, Nick Alcock outgrape:

> On 15 Nov 2024, Kris Van Hees said:
>
>> This patch is not needed.  I do not see any failures related to the changes
>> in this patch and the test case passes even without these code changes as
>> far as I can see.
>
> It didn't when I ran it. Try under valgrind.

... and now it doesn't for me either! I guess 3/4 when done right (as
you suggested, not as I originally did it) obviates the need for 4/4.
Still don't entirely understand *why*, but maybe the probes vanish
before the parser terminates, so they're not left lingering for a late
deletion.

-- 
NULL && (void)



More information about the DTrace-devel mailing list