Package: src:linux Version: 4.9~rc5-1~exp1 Severity: normal Tags: patch Please enable `perf data' support for perf. This requires two extra dependencies which are already in debian in the required version. During the invocation of make (for perf) you libbabeltrace needs to be explicitly enabled. Upstream disabled it by default until more distros ship a libbabeltrace with the requested functions (and Debian is the first one).
All this can be found in the patch attached. Sebastian
From: Sebastian Andrzej Siewior <sebast...@breakpoint.cc> Date: Fri, 2 Dec 2016 13:09:45 +0000 Subject: [PATCH] perf: enable perf data support Signed-off-by: Sebastian Andrzej Siewior <sebast...@breakpoint.cc> --- debian/rules.d/tools/perf/Makefile | 3 +++ debian/templates/control.source.in | 2 ++ 2 files changed, 5 insertions(+) diff --git a/debian/rules.d/tools/perf/Makefile b/debian/rules.d/tools/perf/Makefile index aa50e42efc3a..ec0c9e97486d 100644 --- a/debian/rules.d/tools/perf/Makefile +++ b/debian/rules.d/tools/perf/Makefile @@ -48,6 +48,9 @@ MAKE_PERF += feature-libbfd=0 HAVE_CPLUS_DEMANGLE_SUPPORT=1 # an explicit exception. Override detection of libcrypto. MAKE_PERF += NO_LIBCRYPTO=1 +# Currently babeltrace support for `perf data' is not automatically detected. +MAKE_PERF += LIBBABELTRACE=1 + all: ifdef KERNEL_ARCH_PERF # perf changes some default directories depending on whether DESTDIR is diff --git a/debian/templates/control.source.in b/debian/templates/control.source.in index 08969a3da9d9..2a1fdf048823 100644 --- a/debian/templates/control.source.in +++ b/debian/templates/control.source.in @@ -41,6 +41,8 @@ Standards-Version: 3.9.8 libperl-dev <!stage1 !pkg.linux.notools !nopython>, libunwind8-dev [amd64 armel armhf arm64 i386] <!stage1 !pkg.linux.notools !nopython>, python-dev <!stage1 !pkg.linux.notools !nopython>, + libbabeltrace-dev <!stage1 !pkg.linux.notools !nopython>, + libbabeltrace-ctf-dev <!stage1 !pkg.linux.notools !nopython>, # used by upstream to build usbip autoconf <!stage1 !pkg.linux.notools>, automake <!stage1 !pkg.linux.notools>, -- 2.10.2