Lubuntu

perf/coresight support

0 379
Edited by coresight at Jan 23, 2019 08:03

The kernel is not compiled to have coresight enabled which would allow for very good program tracing with very little overhead.

Its basically these settings in the kernel .config:

CONFIG_CORESIGHT=yCONFIG_CORESIGHT_LINKS_AND_SINKS=yCONFIG_CORESIGHT_LINK_AND_SINK_TMC=yCONFIG_CORESIGHT_SINK_TPIU=yCONFIG_CORESIGHT_SINK_ETBV10=yCONFIG_CORESIGHT_SOURCE_ETM4X=yCONFIG_CORESIGHT_QCOM_REPLICATOR=y

Also the perf tool is in the Ubuntu repository, because of the custom kernel, perf does not have the necessary linux-tools-4.9.78-xxxx packages.

So could you please:

  1. compile the kernel with coresight
  2. make linux-tools-.... packages for that kernel available
and/or
  3. make the hikey970 kernel available so I can make changes of my own and compile + install them. (e.g. via https://github.com/LeMaker ). As the kernel is GPL - dont you have to make the source available anyway?

Thanks!

EDIT: also supporting the "config" loadable module (or compiling it hard) would be nice!


You have to log in before you can reply Login | Sign Up

Points Rules