search for: llvm_use_perf

Displaying 6 results from an estimated 6 matches for "llvm_use_perf".

2018 Mar 26
0
Interest in integrating a linux perf JITEventListener?
...it a/CMakeLists.txt b/CMakeLists.txt > index 5cb24ea7d78..6ce14799725 100644 > --- a/CMakeLists.txt > +++ b/CMakeLists.txt > @@ -445,6 +445,16 @@ if( LLVM_USE_OPROFILE ) > endif( NOT CMAKE_SYSTEM_NAME MATCHES "Linux" ) > endif( LLVM_USE_OPROFILE ) > > +option(LLVM_USE_PERF > + "Use perf JIT interface to inform perf about JIT code" OFF) > + > +# If enabled, verify we are on a platform that supports perf. > +if( LLVM_USE_PERF ) > + if( NOT CMAKE_SYSTEM_NAME MATCHES "Linux" ) > + message(FATAL_ERROR "perf support is availa...
2016 Dec 29
1
Interest in integrating a linux perf JITEventListener?
Having something like this available in tree would definitely be useful. For simplicity, why don't we start with support for the second style? This is the long term useful one and would be a good starting point for getting the code in tree. Can you give a pointer to the patch so that I can assess the rough complexity? If it's simple enough, I'd be happy to help get it reviewed
2017 Feb 02
0
Interest in integrating a linux perf JITEventListener?
Hi, On 2016-12-29 13:17:50 -0800, Philip Reames wrote: > Having something like this available in tree would definitely be > useful. Cool. > For simplicity, why don't we start with support for the second style? This > is the long term useful one and would be a good starting point for getting > the code in tree. Works for me. > Can you give a pointer to the patch so that
2020 Mar 31
2
ORC JIT Weekly #7 -- JITEventListener support and Swift Immediate Mode Migration
...e. And so does gdb. One can set pending breakpoints on the to be generated function and execution stops when calling the function which shows that the jit integration in gdb works. I have not played around with debug information. For the perf support, it's a bit of a pain to remember to enable LLVM_USE_PERF when building LLVM. Why not enable it by default? Best regards, Frank
2018 Jul 24
3
profiling JIT compiled code with perf
Hi, On 2018-07-19 14:57:42 +0200, Frank Tetzel via llvm-dev wrote: > > Have you seen https://reviews.llvm.org/D44892? we are using it in > > Julia to use perf on jitted code. > > No, I did not see this patch before. Thanks a lot for the pointer. > > It seems to be doing exactly what I want. Let's see if I get it working. FWIW, I just merged this. Did you have any
2020 Mar 16
2
ORC JIT Weekly #7 -- JITEventListener support and Swift Immediate Mode Migration
Hi, On 2020-03-09 21:20:44 +0100, Frank Tetzel via llvm-dev wrote: > I think, debugging and profiling support is very important for a JIT > engine. I could never get it to work with older LLVM versions. Is there > example code somewhere available? Since I added the perf listener I probably can help you with that. What exactly was the problem you were hitting? I don't have isolated