• Sebastian Andrzej Siewior's avatar
    perf tools: Fix building from 'make perf-*-src-pkg' tarballs · acb8fb04
    Sebastian Andrzej Siewior authored
    Thanks (mostly) to uapi the package created from perf-*-src-pkg FTBFS:
    
    |    CC perf.o
    |In file included from util/../perf.h:8:0,
    |                 from util/cache.h:7,
    |                 from perf.c:12:
    |arch/x86/include/asm/unistd.h:4:29: fatal error: uapi/asm/unistd.h: No such file or directory
    |
    |    CC perf.o
    |In file included from util/../perf.h:106:0,
    |                 from util/cache.h:7,
    |                 from perf.c:12:
    |include/linux/perf_event.h:17:35: fatal error: uapi/linux/perf_event.h: No such file or directory
    |
    |    CC perf.o
    |In file included from include/uapi/linux/perf_event.h:19:0,
    |                 from util/../perf.h:106,
    |                 from util/cache.h:7,
    |                 from perf.c:12:
    |util/include/asm/byteorder.h:2:49: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory
    |
    |    CC perf.o
    |In file included from util/include/../../../../include/linux/list.h:7:0,
    |                 from util/include/linux/list.h:4,
    |                 from util/parse-events.h:7,
    |                 from perf.c:15:
    |util/include/linux/const.h:1:50: fatal error: ../../../../include/uapi/linux/const.h: No such file or directory
    |
    |In file included from builtin-kvm.c:26:0:
    |arch/x86/include/asm/svm.h:4:26: fatal error: uapi/asm/svm.h: No such file or directory
    |
    |In file included from util/evsel.c:21:0:
    |include/linux/hw_breakpoint.h:5:38: fatal error: uapi/linux/hw_breakpoint.h: No such file or directory
    |
    |    CC util/evsel.o
    |In file included from util/perf_regs.h:5:0,
    |                 from util/evsel.c:23:
    |arch/x86/include/perf_regs.h:6:27: fatal error: asm/perf_regs.h: No such file or directory
    |
    |   CC util/rbtree.o
    |In file included from ../../lib/rbtree.c:24:0:
    |util/include/linux/rbtree_augmented.h:2:56: fatal error: ../../../../include/linux/rbtree_augmented.h: No such file or directory
    
    This patch adds the missing files.
    Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Link: http://lkml.kernel.org/r/1357654134-28538-1-git-send-email-bigeasy@linutronix.deSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    acb8fb04
MANIFEST 802 Bytes