Package: linux-perf-4.16
Version: 4.16~rc6-1~exp1
Severity: wishlist
Tags: patch

In kernel 4.16 perf has support for libopencsd, which decodes arm
coresight trace packets.  This should be enabled in debian kernels so
that it 'just works' for users.  perf compilation picks up libopencsd
if it installed so enabling it is simply a matter of adding it to the
build-dependencies so that it is available at build time.

Attached is a patch that does this.

However note that, whilst libopencsd is now packaged for debian it has
not yet been uploaded to the archive (one build issue remains to be
fixed before it can be uploaded), and clearly this build-dep can't be
added until the library is actually available. So this bug is blocked
on #891955
diff -Nru linux-4.16~rc6/debian/changelog linux-4.16~rc6/debian/changelog
--- linux-4.16~rc6/debian/changelog     2018-03-20 13:52:03.000000000 +0000
+++ linux-4.16~rc6/debian/changelog     2018-04-06 21:12:15.000000000 +0000
@@ -1,3 +1,10 @@
+linux (4.16~rc6-1~exp2) experimental; urgency=medium
+  * Non-maintainer upload.
+  * add build-dep on libopencsd for perf on arm
+ -- Wookey <>  Fri, 06 Apr 2018 22:12:15 +0100
 linux (4.16~rc6-1~exp1) experimental; urgency=medium
   * New upstream release candidate
diff -Nru linux-4.16~rc6/debian/config.defines.dump 
diff -Nru linux-4.16~rc6/debian/control linux-4.16~rc6/debian/control
diff -Nru linux-4.16~rc6/debian/control.md5sum 
diff -Nru linux-4.16~rc6/debian/rules.gen linux-4.16~rc6/debian/rules.gen
diff -Nru linux-4.16~rc6/debian/templates/ 
--- linux-4.16~rc6/debian/templates/   2018-03-20 
13:46:09.000000000 +0000
+++ linux-4.16~rc6/debian/templates/   2018-04-06 
21:12:15.000000000 +0000
@@ -45,6 +45,7 @@
  libnuma-dev [amd64 arm64 hppa i386 mips mips64 mips64el mipsel mipsn32 
mipsn32el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el powerpc 
powerpcspe ppc64 ppc64el sparc x32] <!stage1 !pkg.linux.notools !nopython>,
  libperl-dev <!stage1 !pkg.linux.notools !nopython>,
  libunwind8-dev [amd64 armel armhf arm64 i386] <!stage1 !pkg.linux.notools 
+ libopencsd-dev <!stage1 !pkg.linux.notools !nopython>,
  python-dev <!stage1 !pkg.linux.notools !nopython>,
 # used by upstream to build usbip
  autoconf <!stage1 !pkg.linux.notools>,

Reply via email to