I have a memory leak during the initialization process of Upstart (pid 1), what parameters do I have when debugging?
EDIT: Offer me some real tools for this by manually printing printfs or calculating the memory allocation manually, this will not reduce it. Also resetting the initialization kernel and gouging around this is not really an option.
UPD1: valgrind does not work. Replacing / sbin / init on the kernel command line with the correct magic valgrind + init does not seem to be such an option, because it tries to access / proc for self for smaps, but they are not available until init starts.
UPD2: dmalloc also does not work (does not compile on ARM).
linux memory-leaks embedded init upstart
Tuminoid
source share