test case bin3 failed in my x86_64 box

Stone, Joshua I joshua.i.stone@intel.com
Thu Apr 27 20:43:00 GMT 2006


On Thursday, April 27, 2006 1:17 PM, Frank Ch. Eigler wrote:
> OTOH, this may be the first run-time changeable state variable that
> affects the operation of the runtime.  I wonder if another
> compile-time parameter setting like -DENDIAN={BIG,LITTLE} would
> do the job as well, without having to contemplate the possibility
> of unexpected set_endian() calls during runtime.

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.

Again, I don't expect that anyone would want to have a change endian
forms for different parts of a script, so I think this is an ignorable
corner case.  A compile-time flag doesn't allow this changing usage
model either - it just disables it completely.

Josh



More information about the Systemtap mailing list