LWN: Comments on "Poke-a-hole and friends" https://lwn.net/Articles/335942/ This is a special feed containing comments posted to the individual LWN article titled "Poke-a-hole and friends". en-us Thu, 18 Sep 2025 10:20:05 +0000 Thu, 18 Sep 2025 10:20:05 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Poke-a-hole and friends https://lwn.net/Articles/338113/ https://lwn.net/Articles/338113/ acme <div class="FormattedComment"> Most of the time it was used in C codebases, but it support most C++ constructs.<br> <p> The most recent activity is in fact related to C++: holes are being miscalculated after ancestor classes due to the way this info is being encoded by gcc: base classes sometimes are just forward declared in the debug section for an object file, so one can't find its size.<br> <p> See the current discussion in the dwarves mailing list at:<br> <p> <a href="http://article.gmane.org/gmane.comp.debugging.dwarves/109">http://article.gmane.org/gmane.comp.debugging.dwarves/109</a><br> <p> Please feel free to submit problems, I seldom write C++ code so C++ support in the dwarves comes from interacting with people trying to use it, like in past interactions with developers from KDE, CERN, Mozilla, etc.<br> </div> Mon, 22 Jun 2009 19:33:41 +0000 Poke-a-hole and friends https://lwn.net/Articles/338061/ https://lwn.net/Articles/338061/ johill <div class="FormattedComment"> <font class="QuotedText">&gt; pfunct --cc_inlined shows functions which are declared inline but have been uninlined by the compiler. Such functions are good candidates for a second look, or for removing the inline declaration altogether. Fortunately, pfunct --cc_uninlined on vmlinux (only) did not list any functions.</font><br> <p> I think that should be 'pfunct --cc_unlinined' in both instances, rather than just the second.<br> </div> Sun, 21 Jun 2009 11:27:20 +0000 Poke-a-hole and friends https://lwn.net/Articles/338060/ https://lwn.net/Articles/338060/ tdz <div class="FormattedComment"> I use pahole for some of my programs and really like it. Thanks to Arnaldo Carvalho de Melo for making this little gem available.<br> <p> Regards, Thomas<br> <p> </div> Sun, 21 Jun 2009 09:22:28 +0000 Poke-a-hole and friends https://lwn.net/Articles/338024/ https://lwn.net/Articles/338024/ sigra <div class="FormattedComment"> Is this mature enough yet to be let loose on a whole application, to find <br> things that could easily be optimized? Something that could be run along <br> with cppcheck, krazy2 and other tools that a project may have integrated. <br> Does it have 0 false positives? Does it work for C++?<br> </div> Sat, 20 Jun 2009 11:08:11 +0000