[PATCH] dtrace: Use deterministic temp file creation for all temp files
Florian Weimer
fweimer@redhat.com
Mon Feb 27 16:47:26 GMT 2023
* Gioele Barabucci:
>> It might be more robust to use a dedicated temporary directory and a
>> predictable file name under that directory.
>
> Doesn't this suffer from the same issue? If dtrace finds that
> predictable dir/file path it will exit (impeding a second run). Or am
> I missing something?
The idea is to use a predictable file name in a temporary directory with
an unpredictable name (created using mkdtemp or one of the higher-level
facilities).
Thanks,
Florian
More information about the Systemtap
mailing list