[ltt-dev] [UST PATCH v2] armv5 archs require write alignment

Jason Wessel jason.wessel at windriver.com
Wed May 4 15:08:45 EDT 2011


On 05/04/2011 02:06 PM, Mathieu Desnoyers wrote:
> * Jason Wessel (jason.wessel at windriver.com) wrote:
>> Reads and writes to unsigned int 32 bit numbers must be address
>> aligned or the l2 cache can return junk in the high order 16 bits on
>> reads.
>>
>> This patch activates the original work done for alignment in ltt for
>> the UST code.  The config.ac changes will isolate the use of alignment
>> to the known arch type with the problem.
>>
>> Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
>> ---
>>  configure.ac        |   28 +++++++++++++++++++++++++++-
>>  include/Makefile.am |    1 +
>>  include/ust/core.h  |    7 ++++---
> I think include/ust/config.h.in is missing ?

Thanks for trying this out, as it also pointed out a problem URCU.  I sent a new version of this patch as well as a fix to URCU which correctly adds the ARM definitions to the local config.h for URCU.

Thanks,
Jason.




More information about the lttng-dev mailing list