Messages in this thread | | | Date | Mon, 31 Jan 2022 17:16:14 -0800 | Subject | Re: [PATCH 0/3] Handle chroot tasks properly (v1) | From | Andi Kleen <> |
| |
On 1/28/2022 12:39 PM, Namhyung Kim wrote: > Hello, > > I found that perf tools don't work well with tasks in a chroot. The > filenames in MMAP record are from the root directory of the task so > it's different than what it sees from outside.
While that's a real problem, and for chroot it can be fixed, it's much more complicated for the more complex container namespace case with custom mounts, including loop back, etc.
It seems it really need some kind of agent to handle all cases. For example the agent could understand container metadata formats and then do the right thing.
-Andi
| |