test case bin3 failed in my x86_64 box

Frank Ch. Eigler fche@redhat.com
Thu Apr 27 20:53:00 GMT 2006


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



More information about the Systemtap mailing list