]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
perf: enable coresight if enabled in MACHINE_FEATURES
authorRoss Burton <ross.burton@arm.com>
Wed, 3 Sep 2025 16:24:11 +0000 (17:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Sep 2025 17:02:37 +0000 (18:02 +0100)
commitc455bd039104466b26a959a6495dbb5a642b4533
tree6901c9b3b046985e283d164ca146cb5fc37623cf
parentbf4227f982a845039acecedb78e20f109aa467d8
perf: enable coresight if enabled in MACHINE_FEATURES

Enable the CoreSight[1] functionality in perf[2] if 'coresight' is in the
MACHINE_FEATURES.

Note that enabling this will mean a dependency on the opencsd recipe,
which is currently part of meta-arm[3]. I don't think this is a problem
as this recipe is Arm-specific, and as this is a new feature the
behaviour is opt-in so shouldn't break any existing machines.

[1] https://docs.kernel.org/trace/coresight/coresight.html
[2] https://docs.kernel.org/trace/coresight/coresight-perf.html
[3] https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-devtools/opencsd

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/perf/perf.bb