alistair23-linux/tools/perf/arch
Sukadev Bhattiprolu 379649cfea perf tools: Fix build break on powerpc
Commit 531d241063 ("perf tools: Do not include stringify.h from the
kernel sources") seems to have accidentially removed the inclusion of
"util/header.h" from "arch/powerpc/util/header.c".

"util/header.h" provides the prototype for get_cpuid() and is needed to
build perf on Powerpc:

	arch/powerpc/util/header.c:17:1: error: no previous prototype for 'get_cpuid' [-Werror=missing-prototypes]

Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 531d241063 ("perf tools: Do not include stringify.h from the kernel sources")
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
[ Included "util.h" too, to get the scnprintf() prototype ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-03-28 17:46:20 -03:00
..
alpha perf tools: Add empty Build files for architectures lacking them 2015-08-06 16:24:15 -03:00
arm perf jitdump: Build only on supported archs 2016-03-10 16:33:19 -03:00
arm64 perf jitdump: Build only on supported archs 2016-03-10 16:33:19 -03:00
mips perf tools: Add empty Build files for architectures lacking them 2015-08-06 16:24:15 -03:00
parisc perf tools: Add empty Build files for architectures lacking them 2015-08-06 16:24:15 -03:00
powerpc perf tools: Fix build break on powerpc 2016-03-28 17:46:20 -03:00
s390 perf kvm/{x86,s390}: Remove const from kvm_events_tp 2016-01-29 17:49:53 -03:00
sh perf dwarf: Fix potential array out of bounds access 2015-09-01 11:33:48 -03:00
sparc perf dwarf: Fix potential array out of bounds access 2015-09-01 11:33:48 -03:00
x86 perf jitdump: Build only on supported archs 2016-03-10 16:33:19 -03:00
xtensa perf tools xtensa: Add DWARF register names 2015-08-06 16:45:05 -03:00
Build perf build: Add arch x86 objects building 2015-02-12 13:12:01 -03:00
common.c perf env: Rename some leftovers from rename to perf_env 2015-09-14 12:50:20 -03:00
common.h perf env: Rename some leftovers from rename to perf_env 2015-09-14 12:50:20 -03:00