Hi everyone, 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) ? This is how I tried to run this tool: llvm-exegesis -mode=latency -opcode-name=ADD64rr Thanks, Luka -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180814/81ec44bd/attachment.html>
Hi Luka, 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 https://sourceforge.net/p/perfmon2/libpfm4/ci/master/tree/ Also, are running the tool with sudo? Simon. On 14/08/2018 16:28, Luka Ercegovcevic via llvm-dev wrote:> Hi everyone, > > 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) ? > This is how I tried to run this tool: llvm-exegesis -mode=latency > -opcode-name=ADD64rr > > Thanks, > Luka > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180814/736a8901/attachment.html>
Luka Ercegovcevic via llvm-dev
2018-Aug-15 17:10 UTC
[llvm-dev] ?==?utf-8?q? llvm-exegesis
Hi Simon, 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 Thanks, Luka -------- Original Message -------- Subject: Re: [llvm-dev] llvm-exegesis Date: Tuesday, August 14, 2018 21:19 CEST From: Simon Pilgrim <llvm-dev at redking.me.uk> To: llvm-dev at lists.llvm.org CC: Luka Ercegovcevic <Luka.Ercegovcevic at rt-rk.com>, Petar Jovanovic <Petar.Jovanovic at rt-rk.com> References: <3315-5b72f500-3-172feea0 at 222762487> Hi Luka, 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 https://sourceforge.net/p/perfmon2/libpfm4/ci/master/tree/ Also, are running the tool with sudo?Simon. On 14/08/2018 16:28, Luka Ercegovcevic via llvm-dev wrote:Hi everyone, 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) ? This is how I tried to run this tool: llvm-exegesis -mode=latency -opcode-name=ADD64rr Thanks, Luka _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180815/219011a1/attachment.html>
Hi Luka, some distributions require you to allow perf event access (see https://reviews.llvm.org/D47572), have you done that ? On Tue, Aug 14, 2018 at 5:28 PM, Luka Ercegovcevic < Luka.Ercegovcevic at rt-rk.com> wrote:> Hi everyone, > > 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) ? > This is how I tried to run this tool: llvm-exegesis -mode=latency > -opcode-name=ADD64rr > > Thanks, > Luka-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180829/705a4c50/attachment.html>
Hi Clement, I updated my OS from Ubuntu 16.04.10 to Ubuntu 18.04.1, and now it works fine. -------- Original Message -------- Subject: Re: llvm-exegesis Date: Wednesday, August 29, 2018 21:24 CEST From: Clement Courbet <courbet at google.com> To: Luka Ercegovcevic <Luka.Ercegovcevic at rt-rk.com> CC: llvm-dev <llvm-dev at lists.llvm.org>, Petar Jovanovic <Petar.Jovanovic at rt-rk.com>, clément courbet <clement.courbet at gmail.com> References: <3315-5b72f500-3-172feea0 at 222762487> Hi Luka, some distributions require you to allow perf event access (see https://reviews.llvm.org/D47572), have you done that ? On Tue, Aug 14, 2018 at 5:28 PM, Luka Ercegovcevic <Luka.Ercegovcevic at rt-rk.com> wrote:Hi everyone, 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) ? This is how I tried to run this tool: llvm-exegesis -mode=latency -opcode-name=ADD64rr Thanks, Luka -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180830/ccc0ad10/attachment.html>
Possibly Parallel Threads
- [RFC] llvm-exegesis: Automatic Measurement of Instruction Latency/Uops
- [RFC] llvm-exegesis: Automatic Measurement of Instruction Latency/Uops
- [RFC] llvm-exegesis: Automatic Measurement of Instruction Latency/Uops
- [RFC] llvm-exegesis: Automatic Measurement of Instruction Latency/Uops
- [RFC] llvm-exegesis: Automatic Measurement of Instruction Latency/Uops