On Fri, 2010-12-03 at 16:13 -0800, David Sharp wrote:> Ftrace event structures have a 12-byte struct trace_entry at the beginning.> If the structure is aligned, this means that if the first field is 64-bits,> there will be 4 bytes of padding. Ironically, due to the 4-byte ringbuffer> header, this will make 64-bit writes unaligned, if the ring buffer position> is currently 64-bit aligned:> 4(rb)+12(ftrace)+4(pad) = 20; 20%8 = 4