[PATCH 1/2] libdwfl: specify optional sysroot to search for shared libraries and binaries
Frank Ch. Eigler
fche@redhat.com
Tue Jul 2 11:54:34 GMT 2024
Hi -
> > > [...] For example, we might be looking at a core file from an ARM
> > > system using elfutils running on an x86 host. [...]
> >
> > Makes sense. By the way, to what extent would debuginfod (serving
> > files from that sysroot) work for this same use case?
> [...]
> Frankly I don't know. I am not that interested in this cross-arch use case
> so I didn't even test it myself. I am interested in being able to generate
> stack traces from containerized applications. Since containers and host
> share the kernel they have to be the same arch and debuginfod would
> work without any issue in that case.
OK. (Note that debuginfod works just fine cross-architecture and
cross-containers too, and therefore so does "eu-stack -v -p $PID" for
a containerized running pid, or a core dump.)
- FChE
More information about the Elfutils-devel
mailing list