<html>Hi Simon,<br /><br />I updated my OS to Ubuntu 18.04.1, and now it works fine. I'm not sure what was the issue on Ubuntu 16.04.10<br /><br />Thanks,<br />Luka<br /><br />-------- Original Message --------<br />Subject: Re: [llvm-dev] llvm-exegesis<br />Date: Tuesday, August 14, 2018 21:19 CEST<br />From: Simon Pilgrim <llvm-dev@redking.me.uk><br />To: llvm-dev@lists.llvm.org<br />CC: Luka Ercegovcevic <Luka.Ercegovcevic@rt-rk.com>, Petar Jovanovic <Petar.Jovanovic@rt-rk.com><br />References: <3315-5b72f500-3-172feea0@222762487><br /><br /><br /> <blockquote type="cite" cite="ac75f620-f7b1-3776-0752-a61f4a29e963@redking.me.uk"> </blockquote><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><p>Hi Luka,</p><p>Which CPU and OS are you running? Most linux distros seem to have an old version of libpfm - I've had more luck (better CPU support) by using the trunk version from <a class="moz-txt-link-freetext" href="https://sourceforge.net/p/perfmon2/libpfm4/ci/master/tree/">https://sourceforge.net/p/perfmon2/libpfm4/ci/master/tree/</a></p><p>Also, are running the tool with sudo?</p>Simon.<br /> <div class="moz-cite-prefix">On 14/08/2018 16:28, Luka Ercegovcevic via llvm-dev wrote:</div><blockquote type="cite" cite="mid:3315-5b72f500-3-172feea0@222762487"><meta http-equiv="content-type" content="text/html; charset=utf-8">Hi everyone,<br /><br />Can someone help me with running llvm-exegesis tool on x86_64? I saw that I need libpfm library, but I'm still getting segmentation fault when I try to run the tool. Is there anything else I need to do (build llvm on some specific way) ?<br />This is how I tried to run this tool: llvm-exegesis -mode=latency -opcode-name=ADD64rr<br /><br />Thanks,<br />Luka<fieldset class="mimeAttachmentHeader"> </fieldset> <pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre></blockquote><br /> </html>