package/linux-tools: perf: add OpenCSD support

This commit adds the Arm CoreSight trace data Decoder support to perf.
See: https://docs.kernel.org/trace/coresight/coresight-perf.html

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Julien Olivain 2023-02-22 21:41:34 +01:00 committed by Thomas Petazzoni
parent f93a6c2830
commit d2a9a06092

View File

@ -120,6 +120,13 @@ else
PERF_MAKE_FLAGS += NO_LZMA=1
endif
ifeq ($(BR2_PACKAGE_OPENCSD),y)
PERF_DEPENDENCIES += opencsd
PERF_MAKE_FLAGS += CORESIGHT=1
# There is no "else CORESIGHT=0" case, because "perf" Makefile uses
# bare "ifdef CORESIGHT" constructs.
endif
# We really do not want to build the perf documentation, because it
# has stringent requirement on the documentation generation tools,
# like xmlto and asciidoc), which may be lagging behind on some