OK, thanks for your quick answer. I'll try to turn it into a
DISTRO_FEATURES and write a test for it then (I need to check how tests
running on the target work in poky. I'm not sure can test systemd-coredump
without target easily).

Etienne

On Thu, Nov 30, 2023 at 12:21 PM Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> Hi,
>
> I saw some of this discussion on the systemd-devel list so I'm happy to
> see patches to sort out the configuration on our side, thanks!
>
> On Thu, 2023-11-30 at 12:15 +0100, Etienne Cordonnier via
> lists.openembedded.org wrote:
> > Hi all, I sent this patch to start the conversation, but I guess
> > PACKAGE_MINIDEBUGINFO may have to be turned into a DISTRO_FEATURES
> > before this can be merged.
> > I tested this with core-image-sato after enabling systemd in
> > local.conf. I then started:
> > $ vi
> > In other terminal:
> > $ kill -SEGV $(pidof vi)
> > $ coredumpctl info
> >
> > Before the patch, I didn't get a call-stack with symbols. After the
> > patch, I get a call-stack including function names inside
> > busybox.nosuid ("read_key()").
> >
> > This is a very useful feature for debugging and/or bug reporting, so
> > I think it would make sense to make it easy to enable via a
> > DISTRO_FEATURES. I was just not sure why MINIDEBUGINFO was not a
> > DISTRO_FEATURES in the first place, and whether you would be willing
> > to enable systemd-coredump via the MINIDEBUGINFO DISTRO_FEATURES.
>
> I think we should make minidebuginfo a DISTRO_FEATURE and then key all
> the tweaks off that.
>
> I was looking at your patches and thinking we might want to enable
> minidebuginfo in poky or perhaps OE-Core by default too.
>
> A test to ensure this backtracing works and stays working would be
> really nice too! (whilst we have the context in our heads)
>
> Cheers,
>
> Richard
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#191499): 
https://lists.openembedded.org/g/openembedded-core/message/191499
Mute This Topic: https://lists.openembedded.org/mt/102891486/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to