From: Sukadev Bhattiprolu Date: Thu, 17 Jan 2013 17:11:30 +0000 (-0800) Subject: perf tools: Fix PMU format parsing test failure X-Git-Tag: v3.9-rc1~173^2~13^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15268138e334bd0362f8395edac4822351714a22;p=pandora-kernel.git perf tools: Fix PMU format parsing test failure On POWER, the 'perf format parsing' test always fails. Looks like it is because memset() is being passed number of longs rather than number of bytes. It is interesting that the test always passes on my x86 box. With this patch, the test passes on POWER and continues to pass on x86. Signed-off-by: Sukadev Bhattiprolu Acked-by: Jiri Olsa Cc: Anton Blanchard Cc: Jiri Olsa Cc: Paul Mackerras Cc: linuxppc-dev@ozlabs.org Link: http://lkml.kernel.org/r/20130117172814.GA18882@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed