<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Luka,<br>
    </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?<br>
    </p>
    Simon.<br>
    <br>
    <div class="moz-cite-prefix">On 14/08/2018 16:28, Luka Ercegovcevic
      via llvm-dev wrote:<br>
    </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
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
  </body>
</html>