search for: perftool

Displaying 20 results from an estimated 29 matches for "perftool".

Did you mean: perftools
2010 Jun 16
6
[LLVMdev] [patch] New feature: debug info in add2line format (--jit-emit-debug-addr2line)
This new option will allow to output function information in the same format as addr2line from binutils emits: ... 0xABCDEF01 T function_name_is_here ... This feature is useful to profile the code when it is run in JIT by external tools like valgrind and google-perftools. For example, google-perftools runs addr2line on executable and uses the resulting file to resolve memory addresses to function names. In case of LLVM JIT the resulting from --jit-emit-debug-addr2line option addr2line-formatted file can be just appended to the original addr2line file to allow...
2010 Jun 19
0
[LLVMdev] [patch] New feature: debug info for function memory ranges (-jit-emit-debug-function-range)
...-emit-debug-function-range) will allow to output function information for memory ranges that functions occupy in memory while they run in JIT. File format generated is like this: ... 0x5000000 0x5001000 function_name_is_here ... This feature is useful for external tools like valgrind and google-perftools to profile the code when it is run in JIT. Particularly google-perftools will have a special option (--external_symbols) that will be able to import this file. Note: to be useful this flag should be used with -disable-fp-elim to generate standard prologs. Thank you, Yuri -------------- next...
2010 Dec 19
0
[LLVMdev] Why google-perftools fails to detect stack of JITted code? (with option -disable-fp-elim set)
I have this problem: google-perftools fails to detect stack for the code run under JIT called through C++ api from my program. It shows in profile like all program is one block with the name _init. I clearly do set the option NoFramePointerElim and I do see how it makes a difference in stack frame under gdb. When running some code...
2011 Feb 10
3
how will CentOS handle the perftools 1.7 vs. 1.6 issue?
...ccess?contribId=8&sessionId=1&resId=1&materialId=slides&confId=106641 On Wed, Feb 9, 2011 at 12:41 PM, Chris Jones <christopher.rob.jones at cern.ch> wrote: > > I would say a bug in tcmalloc, not SL or RHEL. See for instance > > <http://code.google.com/p/google-perftools/issues/detail?id=305> > > The fix is to move to google perftools 1.7 </quote> Because of a problem with not running the current BIND release a couple of weeks ago, I would like to ask: a) is RedHat likely to choose to backport the fix to 1.6 or will it adopt 1.7 or leave as is un...
2010 Jun 18
2
[LLVMdev] Why google-perftools fails on the JITted code?
I am trying to run some code allocating a lot of memory and not releasing it in JIT under google-perftools. Just one function 'main' calling 'malloc'. google-perftools fails to correctly read stack when malloc is called from inside the JITted code, and as a result perftools report is wrong: address of 'main' procedure appears shifted 0x3946e1d0->0x3946e1ed and is not alig...
2010 Jun 19
2
[LLVMdev] [patch] New feature: debug info for function memory ranges (-jit-emit-debug-function-range)
Have you found http://llvm.org/docs/DebuggingJITedCode.html? The JIT already has support for something like this for gdb's benefit. Perftools and valgrind just don't know how to find it yet. On Sat, Jun 19, 2010 at 2:03 PM, Yuri <yuri at rawbw.com> wrote: > This new option (--jit-emit-debug-function-range) will allow to output > function information for memory ranges that functions occupy in memory while > they run i...
2010 Jun 18
3
[LLVMdev] Why google-perftools fails on the JITted code?
On Jun 18, 2010, at 3:29 AM, Yuri wrote: > Now I see that JITted code doesn't have standard prolog, on x86 each > procedure instead begins with 'sub $0x4,%esp'. > > Is there an option to make JIT generate regular prologs? Try turning off frame pointer elimination. On the llc command line, this is -disable-fp-elim -Chris > > Yuri >
2010 Jun 19
0
[LLVMdev] Why google-perftools fails on the JITted code?
On Sat, Jun 19, 2010 at 4:35 AM, Chris Lattner <clattner at apple.com> wrote: > > On Jun 18, 2010, at 3:29 AM, Yuri wrote: > >> Now I see that JITted code doesn't have standard prolog, on x86 each >> procedure instead begins with 'sub    $0x4,%esp'. >> >> Is there an option to make JIT generate regular prologs? > > Try turning off frame
2010 Jun 18
0
[LLVMdev] Why google-perftools fails on the JITted code?
Now I see that JITted code doesn't have standard prolog, on x86 each procedure instead begins with 'sub $0x4,%esp'. Is there an option to make JIT generate regular prologs? Yuri
2010 Jun 19
0
[LLVMdev] [patch] New feature: debug info for function memory ranges (-jit-emit-debug-function-range)
...ething like this for gdb's benefit Yes, I saw it and tried it. -jit-emit-debug generates ELF image in memory with debug info. Another option -jit-emit-debug-to-disk creates .o ELF files with debug info, one per function. If there are thousands of functions there will be thousands of files. perftools can't use the first option, since it only collects stack address information during the run. And it would be very difficult/impractical to list all (thousands) of the resulting .o files into pprof's command line. Same with valgrind and very slow to load them since pprof runs addr2line...
2011 Feb 11
2
Will Rogers: Kai Schaetzl may be ignorant about kill files (was: how will CentOS handle the perftools 1.7 vs. 1.6 issue?)
On Thu, Feb 10, 2011 at 11:31 AM, Kai Schaetzl <maillists at conactive.com> wrote: > > This wasn't the first instance. This guy has recently started a habit of > copying mails (that are not his own it seems) that trip him off right to > this list. That is bad practice. I do not want to get more of this. > > Kai Kai, as you may not already know, Will Rogers said
2010 Jun 22
2
[LLVMdev] [patch] New feature: debug info for function memory ranges (-jit-emit-debug-function-range)
...to output > function information for memory ranges that functions occupy in memory > while they run in JIT. File format generated is like this: > ... > 0x5000000 0x5001000 function_name_is_here > ... > > This feature is useful for external tools like valgrind and > google-perftools to profile the code when it is run in JIT. > Particularly google-perftools will have a special option > (--external_symbols) that will be able to import this file. > > Note: to be useful this flag should be used with -disable-fp-elim to > generate standard prologs. > > Than...
2009 Jun 28
2
sprof works on your Debian/Ubuntu ?
I'm asking here, rather than R-devel, because it seems to be a Linux specific question and because I'm using Ubuntu-9.04. I'm trying to profile an package, and got errors, so I decided to follow BDR's (http://tolstoy.newcastle.edu.au/R/devel/06/02/4254.html) example exactly, and got same problem. Can anyone replicate? $ sudo mkdir -p /var/tmp//usr/lib/R/library/stats/libs $
2011 Nov 11
2
[LLVMdev] google heap profile
Is anybody using the google heap profiler to analyze clang/llvm ?? http://google-perftools.googlecode.com/svn/trunk/doc/heapprofile.html If so, do you know how to modify the build scripts to enable that. Tia. Reed
2011 Nov 11
2
[LLVMdev] google heap profile
On 11/11/2011 11:39 AM, Chandler Carruth wrote: > On Fri, Nov 11, 2011 at 11:36 AM, reed kotler <rkotler at mips.com > <mailto:rkotler at mips.com>> wrote: > > Is anybody using the google heap profiler to analyze clang/llvm ?? > > http://google-perftools.googlecode.com/svn/trunk/doc/heapprofile.html > > If so, do you know how to modify the build scripts to enable that. > > Tia. > > > I have tried to use this in the past without terribly much success. > Instead, I usually use Valgrind to analyze the allocation patte...
2011 Oct 09
2
[LLVMdev] Comparison of optimizations
...nd after the optimizations, but the process has to be automatized so if there is no code that can do this now then I guess it will be too hard to come up with good heuristics for comparing the code with respect to execution performance. My current approach would be to use a profiler, such as google-perftools, but the information acquired suffers from some inaccuracy. However I would like to hear your take on it and maybe if I should implement the measurement mechanism in an interpreter (lli) that uses a high resolution timer for entering and exiting functions. But it depends on if the performance of t...
2020 Aug 24
2
MultiDatabase shard count limitations
...> Can prof report time for a function including things it calls? callgraph? Attached is a profile the output of "perf report -g" with callgraph info. I'm no perf expert, either, but slowly learning more as I go along... Btw, I tried google-pprof (from the Debian stable google-perftools 2.7-1 package) and couldn't figure it out... Even the example from the manpage: `google-pprof /bin/ls ls.prof` didn't seem to work. It tried to open an invalid URL with curl 'http://ls.prof/pprof/profile?seconds=30' ... *shrug*
2011 Nov 11
0
[LLVMdev] google heap profile
On Fri, Nov 11, 2011 at 11:36 AM, reed kotler <rkotler at mips.com> wrote: > Is anybody using the google heap profiler to analyze clang/llvm ?? > > http://google-perftools.googlecode.com/svn/trunk/doc/heapprofile.html > > If so, do you know how to modify the build scripts to enable that. > > Tia. I have tried to use this in the past without terribly much success. Instead, I usually use Valgrind to analyze the allocation patterns: http://valgrind.org/do...
2010 Jun 24
0
[LLVMdev] [patch] New feature: debug info for function memory ranges (-jit-emit-debug-function-range)
...rmation for memory ranges that functions occupy in memory >> while they run in JIT. File format generated is like this: >> ... >> 0x5000000 0x5001000 function_name_is_here >> ... >> >> This feature is useful for external tools like valgrind and >> google-perftools to profile the code when it is run in JIT. >> Particularly google-perftools will have a special option >> (--external_symbols) that will be able to import this file. >> >> Note: to be useful this flag should be used with -disable-fp-elim to >> generate standard pr...
2016 Nov 18
3
SCL devtoolset-3 or 4 without eclipse?
Is there a way to install devtoolset packages without the bloat of eclipse? I just want the new compiler and toolchain, not a big IDE. BTW devtoolset-3 dependencies are broken in yum with C6 yum install devtoolset-3 ... ---> Package devtoolset-3-perftools.x86_64 0:3.1-12.el6 will be installed --> Processing Dependency: devtoolset-3-dyninst for package: devtoolset-3-perftools-3.1-12.el6.x86_64 --> Finished Dependency Resolution Error: Package: 1:devtoolset-3-eclipse-platform-4.4.2-4.bootstrap2.el6.x86_64 (centos-sclo-rh) Requires: d...