linux/tools/perf/util/include/asm
Francesco Fusco 6a02652df5 perf tools: Fix include for non x86 architectures
Commit 71ae8aac ("lib: introduce arch optimized hash library") added an
include to <linux/hash.h> for setting up an architecture specific fast
hash.

Since perf includes directly the non-uapi kernel header, it cannot find
<asm/hash.h> on non-x86 and thus prevents perf to be compiled on every
architecture other than x86.

The problem is the inclusion of <asm/hash.h> in hash.h that results in
the following error originating from util/evlist.c:

  fatal error: asm/hash.h: No such file or directory

This commit simply adds an empty <asm/hash.h> stub/file to fix the
compile issue on non-x86 architectures.

As perf does not use any of these new functions, it fixes the
compilation and therefore seems to be the most appropriate solution to
go with.

Signed-off-by: Francesco Fusco <ffusco@redhat.com>
Link: http://lkml.kernel.org/r/2cf8143aad65a6aa6fe30325ef8a65847141afa2.1390829373.git.ffusco@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2014-01-31 17:21:42 -03:00
..
alternative-asm.h perf bench, x86: Add alternatives-asm.h wrapper 2011-05-18 21:00:44 +02:00
asm-offsets.h perf tools: Use DECLARE_BITMAP instead of an open-coded array 2009-10-19 09:26:35 +02:00
byteorder.h perf: Fix UAPI fallout 2012-10-14 12:22:52 -07:00
cpufeature.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
dwarf2.h perf bench: Also allow measuring memset() 2012-01-24 20:25:32 -02:00
hash.h perf tools: Fix include for non x86 architectures 2014-01-31 17:21:42 -03:00
hweight.h perf tools: Don't use code surrounded by __KERNEL__ 2010-05-02 12:00:44 -03:00
swab.h perf tools: Use kernel bitmap library 2009-10-19 09:26:34 +02:00
system.h
uaccess.h perf tools: Use kernel bitmap library 2009-10-19 09:26:34 +02:00
unistd_32.h perf tools, x86: Build perf on older user-space as well 2012-03-14 12:42:34 -03:00
unistd_64.h perf tools, x86: Build perf on older user-space as well 2012-03-14 12:42:34 -03:00