On Thu, Nov 30, 2023 at 3:21 AM 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.

is it dependent on systemd for coredumpctl or can be use some other tool as well
for inspection.

>
> 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 (#191515): 
https://lists.openembedded.org/g/openembedded-core/message/191515
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