linux-yocto/6.6: perf cs-etm: fix a compilation issue in cs_etm_decoder__set_tid()
PATCH 1/1 linux-yocto/6.6: perf cs-etm: fix a compilation issue in cs_etm_decoder__set_tid()
From: Bruce Ashfield <[email protected]>
Integrating the following commit(s) to linux-yocto/6.6:
1/1 [
Author: Valentin Caron
Email: [email protected]
Subject: perf cs-etm: fix a compilation issue in cs_etm_decoder__set_tid()
Date: Mon, 9 Nov 2026 18:14:57 +0100
When compiling coresight tool with the command:
make -C tools/perf CORESIGHT=1 all
The following build issue occurs:
util/cs-etm-decoder/cs-etm-decoder.c:551:15: error: too many arguments to function 'cs_etm_decoder__buffer_packet'
551 | ret = cs_etm_decoder__buffer_packet(etmq, packet_queue,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fix this by removing the parameter "etmq" from function call to match its declaration:
cs_etm_decoder__buffer_packet(struct cs_etm_packet_queue *packet_queue,
const u8 trace_chan_id,
enum cs_etm_sample_type sample_type)
]
---
The upstream -stable broke perf on arm64 when coresight is' enabled.
This patch fixes the problem, I'll resolve any conflicts when I do the next 6.6-stable, but this gets us going while we wait for that.
Bruce
.../linux/linux-yocto-rt_6.6.bb | 2 +- .../linux/linux-yocto-tiny_6.6.bb | 2 +- meta/recipes-kernel/linux/linux-yocto_6.6.bb | 22 +++++++++---------- 3 files changed, 13 insertions(+), 13 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb +1 -1
@@ -14,7 +14,7 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "7593447608d70ada4e27630e9047fdf459b3fd6f" +SRCREV_machine ?= "259b95b0821202a0da8c3f8f5d571619e5f13b11" SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \
meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb +1 -1
@@ -17,7 +17,7 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "33978ed066431901d7e235059590916deb73fa28" +SRCREV_machine ?= "ad54989725c77d1d5312143337fa27111fc552b1" SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa" PV = "${LINUX_VERSION}+git"
meta/recipes-kernel/linux/linux-yocto_6.6.bb +11 -11
@@ -18,17 +18,17 @@ KBRANCH:qemux86-64 ?= "v6.6/standard/base" KBRANCH:qemuloongarch64 ?= "v6.6/standard/base" KBRANCH:qemumips64 ?= "v6.6/standard/mti-malta64" -SRCREV_machine:qemuarm ?= "7fba77c3443f7ffb974bca08c44cd741ae422baf" -SRCREV_machine:qemuarm64 ?= "b98967f55ff0be50f7ad0dbcc5938c76278d96b5" -SRCREV_machine:qemuloongarch64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" -SRCREV_machine:qemumips ?= "6a6d5067d6dac276c4c0d0829a0483d47b67c7de" -SRCREV_machine:qemuppc ?= "da6b28016510be8a0c0ecdf864f48d2a1851ab71" -SRCREV_machine:qemuriscv64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" -SRCREV_machine:qemuriscv32 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" -SRCREV_machine:qemux86 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" -SRCREV_machine:qemux86-64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" -SRCREV_machine:qemumips64 ?= "a1afaf058fb596aa7e7750378ccb3f9b77297256" -SRCREV_machine ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" +SRCREV_machine:qemuarm ?= "998bdbd96cbad13521429c68b3563c11e3a467bf" +SRCREV_machine:qemuarm64 ?= "cd681556b87360f7c06f363e014ae9b45c7cdaa6" +SRCREV_machine:qemuloongarch64 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" +SRCREV_machine:qemumips ?= "3bd41d59cf64bbf5148da6494cda59b9699e6552" +SRCREV_machine:qemuppc ?= "2044f334db4be041f163eeeb1823d250910b7c34" +SRCREV_machine:qemuriscv64 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" +SRCREV_machine:qemuriscv32 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" +SRCREV_machine:qemux86 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" +SRCREV_machine:qemux86-64 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" +SRCREV_machine:qemumips64 ?= "de116283909c1f4a20cafc24d9aaca1b2cd0f002" +SRCREV_machine ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa" # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll
Signature · 1 line
2.43.0