Skip to contentSkip to conversation

perf: add PACKAGECONFIG for CoreSight support

PATCH New Ross Burton 1 participant 1 message Jul 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: add PACKAGECONFIG for CoreSight support

From: Ross Burton <[email protected]>

meta-arm has a recipe for OpenCSD, the CoreSight Trace Decoder library, so add a PACKAGECONFIG so that users can enable the use of CoreSight in perf builds.

---
 meta/recipes-kernel/perf/perf.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-kernel/perf/perf.bb +2 -0
index c4b7b77e99..cf95df710f 100644
@@ -26,6 +26,8 @@ PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"
 PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"
 PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native"
 PACKAGECONFIG[cap] = ",,libcap"
+# Arm CoreSight
+PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd"
 
 # libunwind is not yet ported for some architectures
 PACKAGECONFIG_remove_arc = "libunwind"
Signature · 1 line
2.26.2