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
- From: "Stone, Joshua I" <joshua dot i dot stone at intel dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: <systemtap at sources dot redhat dot com>
- Date: Thu, 27 Apr 2006 13:43:08 -0700
- Subject: 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