[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] x86/hvm: fix extra size passed to __trace_var()
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 <jbeulich@xxxxxxxxxx> --- 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) Attachment:
x86-hvm-trace-extra-size.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |