[DTrace-devel] [PATCH] test: increase child process runtime
Nick Alcock
nick.alcock at oracle.com
Fri Mar 8 21:11:33 UTC 2024
On 7 Mar 2024, Kris Van Hees uttered the following:
> On Wed, Mar 06, 2024 at 11:07:24PM +0000, Nick Alcock wrote:
>> On 6 Mar 2024, Kris Van Hees via DTrace-devel verbalised:
>>
>> > Withdrawn - Eugene pointed out correctly that this cannot be the correct
>> > fix because the test already run with a timeout of 41s.
>> >
>> > Looking at another possiblity, which is that one of the child processes is
>> > not fully started by the time we try to put a probe on it, causing the probe
>> > not to be found. That would mean we may need a delay between starting the
>> > child processes and starting dtrace.
>>
>> Isn't this just what evaltime's default value of 'main' is supposed to
>> solve, without our having to do anything?
>
> Hm, but is that actually being honoured here? How could it be, since we do
> not actually pass pids to dtrace as processes to monitor/trace? All we do is
> specify pid probes - and that you can do with processes no matter where they
> are in their execution cycle.
True! I was mistakenly assuming we were running things with -c, but of
course we're not, so evaltime is irrelevant.
--
NULL && (void)
More information about the DTrace-devel
mailing list