<div dir="ltr">Hi Timothy,<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 2, 2014 at 11:58 AM, gettimothy <span dir="ltr">&lt;<a href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> <br><u></u><div><div style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif">
<div>Hi All,<br></div><div><br></div><div>I am not going to bother with the QVMProfileMacSupportPlugin that Pharo has and Squeak does not for the following reasons.<br></div><div><br></div><div>1. On pharo while the plugin exists in Smalltalk class, the only CMakeGenerator that uses it is broken.</div>
<div>2. There is no source code for this plugin in the pharo source tree.</div><div>3. In <a href="http://source.squeak.org" target="_blank">source.squeak.org</a> VMMaker.oscog there is Qwaq-VMProfiling-eem.66 --which is not a plugin, but has both an uppercase  &#39;Q&#39; and a lowercase &#39;q&#39;--so that tells me its robust (:</div>
<div>    actually, its category is CogTools-VMProfiler which implies it does the job.</div><div><br></div><div><br></div><div><br></div><div>The  pharo QVMProfileMacSupprtPlugin has one method: primitiveExecutableModulesAndOffsets  and its class comment reads as such:</div>
<div><br></div><div><br><blockquote style="border:1px solid rgb(204,204,204);padding:7px;background-color:rgb(245,245,245)"><div>This class provides support for the VMProfiler on MacOS X.  This support is for reading symbols from the executable.  We can use the OS&#39;s nm command to list symbols in the VM executable and loaded libraries.  To do this we need to know what libraries are loaded, not simply which libraries are linked against, since some libraries are loaded dynamically, and for each loaded library what the vm address relocation, if any, is for the loaded library.  The primitive primitiveExecutableModulesAndOffsets returns these as an array of pairs, module name to relocation.</div>
</blockquote> <br></div><div>If somebody &quot;really really&quot; wants the thing, I will continue digging, but my impression is that the Cog work has bypassed the QVMProfileMacSupportPlugin.</div></div></div></blockquote>
<div><br></div><div>The Q versions are old (when the code was from Qwaq).<br></div><div><br></div><div>The plugins are</div><div><br></div><div>    VMProfileLinuxSupportPlugin</div><div>    VMProfileMacSupportPlugin </div>
<div><br></div><div>They are important and should be included if at all possible.  They certainly work on Linux and Mac OS X respectively.  hey enable the VMProfiler, which is a really handy piece of kit.</div><div><br></div>
</div>-- <br>best,<div>Eliot</div>
</div></div>