libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use /proc/<pid>/root for remote unwinding


From: Mikhail Durnev
Subject: Use /proc/<pid>/root for remote unwinding
Date: Wed, 15 Jul 2020 14:25:04 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Dear libunwind maintainers,

I will highly appreciate if you take a look into my patch on GitHub: https://github.com/libunwind/libunwind/pull/195

When we are backtracing processes running in a container, we cannot rely on ELF paths in /proc/[pid]/maps. Those paths are valid inside the container. We have to add /proc/[pid]/root to each path to access the ELF files from outside of the container.

Thanks,
Mikhail



reply via email to

[Prev in Thread] Current Thread [Next in Thread]