From b9aaa1abc564d588d705f879cd5f990a783e0aef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Wed, 21 Dec 2016 09:53:24 +0100 Subject: [PATCH] enable `perf data' support --- debian/changelog | 4 ++++ debian/rules.d/tools/perf/Makefile | 3 +++ debian/templates/control.source.in | 2 ++ 3 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index 783337b02..2ac464ff1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,10 @@ linux (4.9-1~exp1) UNRELEASED; urgency=medium [ Ben Hutchings ] * Set ABI to trunk + [ Uwe Kleine-König ] + * enable `perf data' support; patch by Sebastian Andrzej Siewior + (Closes: #846597) + -- Uwe Kleine-Koenig Sun, 18 Dec 2016 17:53:39 +0100 linux (4.9~rc8-1~exp1) experimental; urgency=medium diff --git a/debian/rules.d/tools/perf/Makefile b/debian/rules.d/tools/perf/Makefile index aa50e42ef..ec0c9e974 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 41956e0bb..34fc2dcfe 100644 --- a/debian/templates/control.source.in +++ b/debian/templates/control.source.in @@ -34,6 +34,8 @@ Build-Depends: flex (>= 2.6.1-1.1~) | flex:native , gcc-multilib [amd64 ppc64 s390x sparc64] , libaudit-dev , + libbabeltrace-dev (>= 1.5.0) , + libbabeltrace-ctf-dev (>= 1.5.0) , libdw-dev , libelf-dev , libiberty-dev ,