similar to: [LLVMdev] How to use profiling runtime for program profiling?

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] How to use profiling runtime for program profiling?"

2008 Jan 30
0
[LLVMdev] How to use profiling runtime for program profiling?
Hi Haifeng > I have a question about how to profile program with LLVM. When I tried > to compile the instrumented version of program after using "-insert- > block-profiling", I got > error complaining " undefined reference to > `llvm_start_block_profiling'. > > I found that there is a "runtime"directory in llvm source directory > but in the
2009 Jul 22
4
[LLVMdev] Profiling in LLVM Patch Followup 1
Hi Daniel! Daniel Dunbar wrote: > I merged in my changes to your patch, which results in the attached > patch. There may be some missed merge errors. The main problem I have > with the rest of this patch is that it causes a regression in > llvm-prof's behavior. I tried running edge profiling on the > MultiSource/Applications/aha benchmark in the llvm test-suite, and >
2009 Jul 23
0
[LLVMdev] Profiling in LLVM Patch Followup 1
Good Morning. On 22.07.09 14:47), Andreas Neustifter wrote: > Daniel Dunbar wrote: >> I merged in my changes to your patch, which results in the attached >> patch. There may be some missed merge errors. The main problem I have >> with the rest of this patch is that it causes a regression in >> llvm-prof's behavior. I tried running edge profiling on the >>
2011 Apr 22
2
[LLVMdev] Problem with compiling the runtime libary
Hi All Thanks for all replies regarding to my GCC problem. I am trying to do profiling now and need to generate "profile_rt.so" file. I compiled the runtime library using MAKE and tried on both Windows and Mac, but the compiling can not be done properly. I got the following error message: ------------------------------ make: Entering directory `C:/llvm/runtime'
2009 Jul 23
1
[LLVMdev] Profiling in LLVM Patch Followup 1
Sorry, forgot attachment. On 23.07.09 07:40), Andreas Neustifter wrote: > Good Morning. > > On 22.07.09 14:47), Andreas Neustifter wrote: >> Daniel Dunbar wrote: >>> I merged in my changes to your patch, which results in the attached >>> patch. There may be some missed merge errors. The main problem I have >>> with the rest of this patch is that it
2007 Nov 28
20
Page tables in Xen
Hi, I have a question about memory page tables in Xen. As far as I understood, every modification to page table will go through Xen(hypervisor). Is it so that all page tables are actually allocated in Xen(hypervisor) instead of guest OS(domain)? Also, is it the case that Xen(hypervisor) needs to maintain a page table for each process running in every domain? Thanks Haifeng
2011 Apr 05
0
[LLVMdev] instrument a byte code with llvm
On 4/5/11 11:36 AM, Nabila ABDESSAIED wrote: > > > 2011/4/5 John Criswell <criswell at illinois.edu > <mailto:criswell at illinois.edu>> > > On 4/5/11 11:22 AM, Nabila ABDESSAIED wrote: >> hi, >> I'm newer in llvm >> i would like to instrument a byte code with a pass and as a >> result i would like to get an
2006 Nov 17
1
[LLVMdev] dump profiling data
Hi, On Nov 1, 2006, at 7:31 PM, Chris Lattner wrote: > On Wed, 1 Nov 2006, Nico Moser wrote: >> sorry but I can't found where the profiling data (llvmprof.out[?]) is >> generated. Perhaps soembody has a hint for me? > > Take a look at how the llvm/utils/profile.pl script works. In this script the lli command get the load-argument "somewhere/ profile_rt.so".
2011 Apr 05
4
[LLVMdev] instrument a byte code with llvm
hi, I'm newer in llvm i would like to instrument a byte code with a pass and as a result i would like to get an instrumented byte code. i would like that a pass add a method (which calculate the number of instructions) in the end of each block. the instrumented code should contain in each block a method that calculate the number of instructions Please Help me thank you -- Nabila ABDESSAIED
2007 Aug 31
2
[LLVMdev] Compile Linux Kernel with LLVM gcc frontend
I can say that it does not for me,running x86_64, I have been generating errors for submission by testing on a number of gnu utilities starting with binutils. Patrick On Aug 31, 2007, at 6:11 PM, "Haifeng He" <hehaifeng2nd at gmail.com> wrote: Hi, I am curious about if the current LLVM implementation can handle Linux kernel (or any particular version of Linux kernel). The
2007 Sep 10
2
[LLVMdev] profiling with llvm-gcc4?
How can I do function profiling and BB profiling with current llvm and llvm-gcc4? runtime/libprofile is disabled when using llvm-gcc4, but... is there any alternative to linking with libprofile_rt.so? How can I use llvm-prof? is utils/profile.pl obsolete? Thanks in advance, josem
2008 Nov 25
2
[LLVMdev] LLVM profiling
Hello, My name is Rantao Chen and i am a student at the University of Maryland. I am currently doing some research for a professor to do Basic Block profiling using LLVM. I have set up the environment correctly and built the profile_rt.so shared library, but i am having some problems using the LLVM profiling tools. I run "opt -insert-function-profiling -insert-block-profiling input.bc
2006 Nov 01
2
[LLVMdev] dump profiling data
Hi, sorry but I can't found where the profiling data (llvmprof.out[?]) is generated. Perhaps soembody has a hint for me? Thank you very much Nico
2011 Apr 22
0
[LLVMdev] Problem with compiling the runtime libary
yafan zhao wrote: > Hi All > Thanks for all replies regarding to my GCC problem. > I am trying to do profiling now and need to generate "profile_rt.so" > file. I compiled the runtime library using MAKE and tried on both > Windows and Mac, but the compiling can not be done properly. I got the > following error message: > ------------------------------ > make:
2006 Nov 01
0
[LLVMdev] dump profiling data
On Wed, 1 Nov 2006, Nico Moser wrote: > sorry but I can't found where the profiling data (llvmprof.out[?]) is > generated. Perhaps soembody has a hint for me? Take a look at how the llvm/utils/profile.pl script works. -Chris -- http://nondot.org/sabre/ http://llvm.org/
2007 Sep 14
3
[LLVMdev] Problem of running data structure analysis (DSA) on Linux kernel
Hi, I ran into a problem when running DSA on Linux kernel (the Kernel version I used is 2.4.31). The analysis was aborted when it tried to do DSNode::mergeTypeInfo on some data structure in the kernel. I have filed a bug report at http://llvm.org/bugs/show_bug.cgi?id=1656. My question is what version of Linux kernel LLVM has been tested on successfully? To run DSA analysis, should I use the
2007 Sep 10
0
[LLVMdev] profiling with llvm-gcc4?
On Mon, 10 Sep 2007, Jose M. Moya wrote: > How can I do function profiling and BB profiling with current llvm and > llvm-gcc4? > > runtime/libprofile is disabled when using llvm-gcc4, but... is there any > alternative to linking with libprofile_rt.so? > > How can I use llvm-prof? is utils/profile.pl obsolete? The profiling support in LLVM hasn't been used for quite a
2007 Sep 07
0
[LLVMdev] Compile Linux Kernel with LLVM gcc frontend
On Fri, 31 Aug 2007, Patrick Flannery wrote: > I can say that it does not for me,running x86_64, I have been generating > errors for submission by testing on a number of gnu utilities starting > with binutils. If you run into problems, please file bugs. -Chris > On Aug 31, 2007, at 6:11 PM, "Haifeng He" <hehaifeng2nd at gmail.com> wrote: > > Hi, > > I
2011 Apr 27
3
[LLVMdev] Problem with compiling the runtime libary
Hi, Zhao > I have checked out llvm 2.9. There is only one CMakeLists file in Release or svn? I believe Nick has committed those CMake files into svn. You can apply my patch to LVM 2.9 Release. > "\llvm-2.9". and no CMakeLists file in folder either > "\llvm-2.9\runtime\libprofile" or "\llvm-2.9\runtime". Where did you get it? As Nick said, libprofile
2011 Sep 23
3
[LLVMdev] Instrumenting C/C++ programs
I just read that LLVM project could be used to do static analysis on C/C++ codes using the analyzer Clang which the front end of LLVM. I wanted to know if it is possible to extract all the accesses to memory(variables, local as well as global) in the source code using LLVM. Is there any inbuilt library present in LLVM which I could use to extract this information. If not please suggest me how to