diff options
| author | Sukadev Bhattiprolu <[email protected]> | 2016-03-28 12:31:41 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-03-28 20:46:20 +0000 |
| commit | 379649cfeafef29b77d29860741f4d1c5870b65f (patch) | |
| tree | 9aa6ee1d648e7394d5231350d75892798fec65cb /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf/x86: Move events_sysfs_show() outside CPU_SUP_INTEL (diff) | |
| download | kernel-379649cfeafef29b77d29860741f4d1c5870b65f.tar.gz kernel-379649cfeafef29b77d29860741f4d1c5870b65f.zip | |
perf tools: Fix build break on powerpc
Commit 531d2410635c ("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 <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Fixes: 531d2410635c ("perf tools: Do not include stringify.h from the kernel sources")
Signed-off-by: Sukadev Bhattiprolu <[email protected]>
[ Included "util.h" too, to get the scnprintf() prototype ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
