The problem with valgrind is the same as the general problem with gdb; init needs to be pid 1, and these processes then can't trace it/emulate it.<div><br></div><div>Scott</div><div><div><br><div class="gmail_quote">On Wed, Jun 8, 2011 at 12:19 PM, Evan Huus <span dir="ltr"><<a href="mailto:eapache@gmail.com">eapache@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">After the discussion recently around running static code analysis on<br>
upstart, my mind automatically went to the other analysis tool I use<br>
the most: valgrind.<br>
<br>
A quick google reveals [1], which suggests it doesn't work<br>
out-of-the-box, but I'm not familiar enough with valgrind's internals<br>
to know how fatal or fixable that problem actually is.<br>
<br>
If anyone else has tried this I'd love to know. If not then I might<br>
see if I can find the time to take a look.<br>
<br>
Cheers,<br>
Evan<br>
<br>
[1] <a href="http://stackoverflow.com/questions/3887723/upstart-init-is-leaking-memory-how-do-you-debug-it" target="_blank">http://stackoverflow.com/questions/3887723/upstart-init-is-leaking-memory-how-do-you-debug-it</a><br>
<font color="#888888"><br>
--<br>
upstart-devel mailing list<br>
<a href="mailto:upstart-devel@lists.ubuntu.com">upstart-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/upstart-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/upstart-devel</a><br>
</font></blockquote></div><br></div></div>