Re: when is populate_rootfs called?
Hubert CHAUMETTE <[email protected]> Tue, 06 Apr 2021 10:06:15 +0200
| Newsgroups | org.kernel.vger.linux-newbie |
|---|---|
| Message-ID | <[email protected]> |
Le 04/04/2021 16:11, Jiahao XU a écrit : > I am still totally confused at when is `populate_rootfs` called. Hi Jiahao, Have you tried enabling tracing (ftrace IIRC) in the kernel to figure that out? Another possibility is to use Doxygen's call graphs, make sure you restrict the analysis to minimum set of files you need (just remove all irrelevant architecures and driver directories from doxygen's input, or extract them from your kernel image. I did some experiments on the topic some time ago, it might prove useful: https://bitbucket.org/hchaumette/linux_doxygen/src/master/. Anyone interested can ask for access.) Hubert