[3/6] rtla: Add kernel configs to enable tracers
Commit Message
rtla is entirely based upon usage of the following kernel tracers:
- timerlat
- osnoise
- hwnoise
which by default are not enabled in linux-yocto.
Add the .cfg file which enables them, and add that file to the sources,
so that rtla can work as intended.
Signed-off-by: Patrick Barsanti <patrick.barsanti@amarulasolutions.com>
---
meta/recipes-kernel/linux/files/rtla.cfg | 3 +++
meta/recipes-kernel/linux/linux-yocto_6.10.bb | 3 ++-
meta/recipes-kernel/linux/linux-yocto_6.6.bb | 3 ++-
3 files changed, 7 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-kernel/linux/files/rtla.cfg
new file mode 100644
@@ -0,0 +1,3 @@
+CONFIG_OSNOISE_TRACER=y
+CONFIG_HWLAT_TRACER=y
+CONFIG_TIMERLAT_TRACER=y
@@ -42,7 +42,8 @@ KBRANCH:class-devupstream = "v6.10/base"
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH};protocol=https \
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.10;destsuffix=${KMETA};protocol=https \
- file://${THISDIR}/files/0001-Revert-tools-rtla-Use-tools-build-makefiles-to-build.patch"
+ file://${THISDIR}/files/0001-Revert-tools-rtla-Use-tools-build-makefiles-to-build.patch \
+ file://${THISDIR}/files/rtla.cfg"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
LINUX_VERSION ?= "6.10.3"
@@ -41,7 +41,8 @@ PN:class-devupstream = "linux-yocto-upstream"
KBRANCH:class-devupstream = "v6.6/base"
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH};protocol=https \
- git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.6;destsuffix=${KMETA};protocol=https"
+ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.6;destsuffix=${KMETA};protocol=https \
+ file://${THISDIR}/files/rtla.cfg"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
LINUX_VERSION ?= "6.6.45"