This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: test case bin3 failed in my x86_64 box


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]