This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: test case bin3 failed in my x86_64 box
Hi -
> There is definitely a race condition if the script calls set_endian to
> change endianness from probe that may be concurrent with another print.
> This is not a safety issue though, just data correctness.
More than that: set_endian being an ordinary function call, one can
imagine separately authored tapset probes to fight over it.
> [...] A compile-time flag doesn't allow this changing usage model
> either - it just disables it completely.
I would look ati t more positively: it would give the user a one-time
opportunity to set the default, not subject to the whims of script
code.
- FChE