<div dir="ltr">Hi Mark,<div><br></div><div>Thanks very much for digging in to this. I'm glad to hear that it's fixed in newer versions of LLVM.</div><div><br></div><div>Cheers,</div><div>Lang.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 25, 2015 at 8:57 PM, Mark Dewing via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div>  The issue is with a change in OProfile.  It used to be run with 'opcontrol', but now is run using 'operf'.</div><div>There is a check in lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp to see if OProfile is running.  Older versions check only for 'oprofiled'.  Newer versions also check for 'operf'.</div><div>One fix is the change the check to match the newer code.</div><div>Alternately, you could make a fake program called 'oprofiled' (it just needs to sleep), and make sure it is running when doing profiling.</div><div><br></div><div>Mark</div><div> </div><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">Hi llvm,<br>It is the second time I post this kind of message.<br><br>My llvm version is 3.3, can anyone tell me how to profile the JITed code using OProfile?</blockquote><div><br></div><div>(rest of message removed) </div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>