While removing the casts on the last arguments to __trace_var() I noticed the bogus addition of 1 here. This patch will only apply on top of said earlier one. Signed-off-by: Jan Beulich --- 2010-08-12.orig/xen/include/asm-x86/hvm/trace.h 2010-09-10 18:01:59.000000000 +0200 +++ 2010-08-12/xen/include/asm-x86/hvm/trace.h 2010-09-10 18:08:27.000000000 +0200 @@ -72,7 +72,7 @@ _d.d[4]=(d5); \ _d.d[5]=(d6); \ __trace_var(TRC_HVM_ ## evt, cycles, \ - sizeof(u32)*count+1, &_d); \ + sizeof(*_d.d) * count, &_d); \ } \ } while(0)