On 2019-03-15 11:09 -0600, Mathieu Poirier wrote: > Package: libopencsd0 > Severity: normal > > Dear Maintainer, > > Starting with the 5.1 Linux kernel cycle it is mandatory to add the command > line > option "CORESIGHT=1" to enable CoreSight support when compiling the perf > tools. > > Before kernel 5.1: > > $ make -C tools/perf > > For kernel 5.1 and after: > > $ make -C tools/perf CORESIGHT=1
OK. It took a while to get kernel 5.3.7 building aginst libopencsd0.12, but it is now, so I could test this. The debian kernel package does indeed now need a small patch to enable coresight in perf. Attached. (and this bug re-assigned to the kernel). Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
--- debian/rules.d/tools/perf/Makefile~ 2019-09-10 11:36:37.000000000 +0000 +++ debian/rules.d/tools/perf/Makefile 2019-10-24 15:54:13.659470790 +0000 @@ -22,6 +22,9 @@ # an explicit exception. Override detection of libcrypto. MAKE_PERF += NO_LIBCRYPTO=1 +# perf only links against libopencsd (coresight) if specifically enabled +MAKE_PERF += CORESIGHT=1 + # Currently babeltrace support for `perf data' is not automatically detected. MAKE_PERF += LIBBABELTRACE=1
signature.asc
Description: PGP signature