OpenCloudOS-Kernel/tools/perf/util/include/linux
Sukadev Bhattiprolu 15268138e3 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 <sukadev@linux.vnet.ibm.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Anton Blanchard <anton@au1.ibm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@ozlabs.org
Link: http://lkml.kernel.org/r/20130117172814.GA18882@us.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-01-24 16:40:47 -03:00
..
bitmap.h perf tools: Add bitmap_or function into bitmap object 2012-02-13 23:28:10 -02:00
bitops.h perf tools: Fix PMU format parsing test failure 2013-01-24 16:40:47 -03:00
compiler.h perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
const.h perf: Fix UAPI fallout 2012-10-14 12:22:52 -07:00
ctype.h perf tools: Bring linear set of section headers for features 2009-11-11 07:30:19 +01:00
export.h perf tools: Switch module.h into export.h 2012-03-26 17:19:57 +02:00
hash.h perf: Add util/include/linuxhash.h to include hash.h of kernel 2010-01-31 08:27:53 +01:00
kernel.h perf tools: fix ALIGN redefinition in system headers 2012-09-11 11:48:30 -03:00
linkage.h perf bench: Add feature that measures the performance of the arch/x86/lib/memcpy_64.S memcpy routines via 'perf bench mem' 2010-11-26 08:15:57 +01:00
list.h Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2011-05-23 09:25:52 -07:00
magic.h perf tools: include wrapper for magic.h 2012-09-11 11:38:10 -03:00
poison.h perf_counter tools: Share list.h with the kernel 2009-07-01 22:37:23 +02:00
prefetch.h perf_counter tools: Share list.h with the kernel 2009-07-01 22:37:23 +02:00
rbtree.h perf: fix duplicate header inclusion 2012-10-11 08:50:17 +09:00
rbtree_augmented.h perf: Handle new rbtree implementation 2012-10-13 10:12:09 +09:00
string.h perf tools: Add memdup function 2012-09-11 12:04:41 -03:00
types.h perf tools: Update types definitions for Android 2012-09-11 11:46:09 -03:00