<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>