From: Trevor Woerner <twoerner@gmail.com>
To: yocto-patches@lists.yoctoproject.org
Subject: Re: [yocto-patches] [meta-rockchip][PATCH] add kprobes for 32-bit kernels
Date: Thu, 26 Mar 2026 19:35:53 -0400 [thread overview]
Message-ID: <acXC2URDoReamW1S@localhost.localdomain> (raw)
In-Reply-To: <CADkTA4OA8=8WU8uNWBt0cQoXH6qrKfJ_XGTszgG3BoqZ6jq=yw@mail.gmail.com>
On Thu 2026-03-26 @ 04:08:16 PM, Bruce Ashfield via lists.yoctoproject.org wrote:
> On Thu, Mar 26, 2026 at 10:08 AM Quentin Schulz via lists.yoctoproject.org
> <quentin.schulz=cherry.de@lists.yoctoproject.org> wrote:
>
> > Hi Trevor,
> >
> > On 3/26/26 2:06 PM, Trevor Woerner via lists.yoctoproject.org wrote:
> > > While building the modules for linux-yocto for 32-bit machines, the
> > > following error occurs:
> > >
> > > | probes/Kbuild:236: CONFIG_KALLSYMS_ALL is disabled, therefore
> > probe "writeback" is disabled. Rebuild your kernel with this configuration
> > option enabled in order to trace this subsystem.
> > > | wrapper/kallsyms.c:20:3: error: #error "LTTng-modules requires
> > CONFIG_KPROBES on kernels >= 5.7.0"
> > > | 20 | # error "LTTng-modules requires CONFIG_KPROBES on
> > kernels >= 5.7.0"
> > >
> > > Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> > > ---
> > > recipes-kernel/linux/linux-rockchip.inc | 5 ++++-
> > > 1 file changed, 4 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/recipes-kernel/linux/linux-rockchip.inc
> > b/recipes-kernel/linux/linux-rockchip.inc
> > > index 6c62e849834c..4e67ff14f6e6 100644
> > > --- a/recipes-kernel/linux/linux-rockchip.inc
> > > +++ b/recipes-kernel/linux/linux-rockchip.inc
> > > @@ -34,5 +34,8 @@ COMPATIBLE_MACHINE:soquartz = "soquartz"
> > > SRC_URI:append:rockchip = "
> > file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
> > > SRC_URI:append:nanopi-r4s = " file://realtek-r8169.cfg"
> > >
> > > -KERNEL_FEATURES:append:rockchip:arm = "
> > bsp/rockchip/remove-non-rockchip-arch-arm.scc"
> > > +KERNEL_FEATURES:append:rockchip:arm = " \
> > > + bsp/rockchip/remove-non-rockchip-arch-arm.scc \
> > > + features/kprobes/kprobes.scc \
> >
> > This is coming from the yocto-kernel-cache as far as I could tell. It's
> > only available if the recipe actually points to it and only linux-yocto
> > recipes do that. linux-mainline and linux-stable from
> > meta-linux-mainline which you've said in the past you're using sometimes
> > do not support that from a cursory look.
> >
> > What happens if there's a KERNEL_FEATURES that isn't found?
> >
> > Maybe we should have this in some linux-yocto bbappend instead? Or
> > import this fragment into meta-rockchip (the downside being we need to
> > maintain this on our own then, but it's been updated only once, 8.5y ago
> > so not too much risk for this one I guess.
> >
>
> or just do what meta-virtualization does. See the yocto-cfg-fragments
> recipe.
> It makes the fragments available to anything using linux-yocto
> infrastructure,
> but for whatever reason doesn't have meta on it's SRC_URI
I get the feeling this isn't a rockchip-specific issue necessarily. Are
linux-yocto kernel builds for other 32-bit (probably Arm) machines
seeing the same thing? Is this something I should be looking to solve
more broadly?
>
> Bruce
>
>
>
> >
> > Cheers,
> > Quentin
> >
> >
> >
> >
> >
> >
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await thee
> at its end
> - "Use the force Harry" - Gandalf, Star Trek II
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#3560): https://lists.yoctoproject.org/g/yocto-patches/message/3560
> Mute This Topic: https://lists.yoctoproject.org/mt/118517725/900817
> Group Owner: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13168745/900817/63955952/xyzzy [twoerner@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
next prev parent reply other threads:[~2026-03-26 23:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-26 13:06 [meta-rockchip][PATCH] add kprobes for 32-bit kernels Trevor Woerner
2026-03-26 14:08 ` [yocto-patches] " Quentin Schulz
2026-03-26 20:08 ` Bruce Ashfield
2026-03-26 23:35 ` Trevor Woerner [this message]
2026-03-27 17:06 ` Bruce Ashfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=acXC2URDoReamW1S@localhost.localdomain \
--to=twoerner@gmail.com \
--cc=yocto-patches@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.