similar to: [LLVMdev] Using gprof with clang

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Using gprof with clang"

2007 Jul 10
1
[LLVMdev] [PATCH] gprof needs symbols
I needed the following patch to be able to use gprof with profiled build. regards, Benoit --- a/Makefile.rules (revision 37946) +++ b/Makefile.rules (working copy) @@ -212,6 +212,7 @@ CXX.Flags := $(OPTIMIZE_OPTION) -pg -g C.Flags := $(OPTIMIZE_OPTION) -pg -g LD.Flags := $(OPTIMIZE_OPTION) -pg -g + KEEP_SYMBOLS := 1 else ifeq ($(ENABLE_OPTIMIZED),1) BuildMode := Release
2006 Oct 31
0
6273860 gcc and sgs/gprof don''t get along
Author: mike_s Repository: /hg/zfs-crypto/gate Revision: e144729d8b901f4092085ea17a31bf10d1089f79 Log message: 6273860 gcc and sgs/gprof don''t get along 6273866 gcc and sgs/prof don''t get along Files: update: usr/src/cmd/sgs/gprof/Makefile.com update: usr/src/cmd/sgs/gprof/common/arcs.c update: usr/src/cmd/sgs/gprof/common/dfn.c update: usr/src/cmd/sgs/gprof/common/gprof.c
2005 Feb 16
0
Profiling R code and C code (Rprof and gprof)
Hi, I have searched R mail list archive and couldn't find my answers. The R extension describes how to make use of Rprof to profile R code. gprof can be also used for the same purpose for the C codes when the C codes are written independently and provided with a main() function. I'm currently writing R codes meshed with C Codes, and use .Call as the interface between the two parts.
2013 Jul 24
0
[LLVMdev] Program compiled with Clang -pg and -O crashes with SEGFAULT
Hi Qiao, On 24/07/13 08:23, Qiao Yang wrote: > Hi, > > I am trying to compile a simple program with Clang 3.3 on Linux and used -pg and -O2 option. The program would crash with segfault. Interestingly if I compile it with -pg option only it works. Do you have any idea why it crashes? And any workaround? > > $ cat myprog.c > int main() { > return 0; > } > > $
2013 Jul 24
2
[LLVMdev] Program compiled with Clang -pg and -O crashes with SEGFAULT
Hi, I am trying to compile a simple program with Clang 3.3 on Linux and used -pg and -O2 option. The program would crash with segfault. Interestingly if I compile it with -pg option only it works. Do you have any idea why it crashes? And any workaround? $ cat myprog.c int main() { return 0; } $ clang -v -pg -O2 myprog.c clang version 3.3 (tags/RELEASE_33/final) Target:
2000 Dec 31
1
anyone have vorbis gprof output I can look at?
If anyone has some reasonably valid gprof output laying around (from a vorbis encoding run), could you email it to me? Thanks, --Mike --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No
2003 Feb 28
1
gprof / prof of shared library
I have inherited a legacy S-plus system with about 10,000 lines of S and 10,000 lines of Fortran. It's now running under R. However, I would like to profile the fortran code with gprof or prof for performance tuning. I've successfully linked the .so file into a simple C driver program and profiled, but I can't seem to get profiling to work when using dyn.load() to use it from R. Do
2009 Jun 26
3
beginner's guide to C++ programming with R packages?
Hello, again. I'm interested to learn how programmers develop & test C/C++ code with R packages in Linux. I've been reading R source and the manual on Writing R Extensions but there are just a couple of details I can't understand. I wish I could watch over a developer's shoulder to see how people actually do this. I've tested a bit. I am able to take package.tar.gz
2008 Jan 03
1
[RFC PATCH 01/11] Add basic support for gcc profiler instrumentation
[Added Chris Wright, Rusty and Virt list because they were involved with this issue before] On Thu, 3 Jan 2008, Ingo Molnar wrote: > > * Steven Rostedt <rostedt@goodmis.org> wrote: > > > +# function tracing might turn this off: > > +config REGPARM > > + bool > > + depends on !MCOUNT > > + default y > > are you sure -pg really needs this? Nope!
2008 Jan 03
1
[RFC PATCH 01/11] Add basic support for gcc profiler instrumentation
[Added Chris Wright, Rusty and Virt list because they were involved with this issue before] On Thu, 3 Jan 2008, Ingo Molnar wrote: > > * Steven Rostedt <rostedt@goodmis.org> wrote: > > > +# function tracing might turn this off: > > +config REGPARM > > + bool > > + depends on !MCOUNT > > + default y > > are you sure -pg really needs this? Nope!
2004 Sep 10
0
libFLAC internals
On Thu, Feb 20, 2003 at 05:46:50PM -0600, Brady Patterson wrote: > I'm working on Altivec versions of some of the libFLAC functions. I figured > the best candidates would be those that had MMX/SSE/3dnow versions, and I > picked FLAC__lpc_restore_signal() to do first, since it's relatively simple. > > In stepping through some runs, it appears that 'order' mod 4 is
2013 Sep 13
0
[LLVMdev] Fwd: Profile (-pg) segfault
Folks, I'm trying to profile a code compiled with Clang and I'm getting a segfault on mcount independently of the program I run: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7b1245b in mcount () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007ffff7b1245b in mcount () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff7dd6588 in ?? () from
2018 Feb 11
2
Hausman test
Hello, I have a problem with Hausman test. I am performing my analysis with these commands: > library(plm) > data<-read.csv2("paolo.csv",header=TRUE) > data< pdata.frame(data,index=c("FIRM","YEAR"),drop.index=TRUE,row.names=TRUE) > RECEIV~LSIZE+LAGE+LAGE2+CFLOW+STLEV+FCOST+PGROWTH+NGROWTH+TURN+GPROF+GPROF2 >
2018 Feb 11
0
Hausman test
Note the typo in your 3rd line: data < Don't know if this means anything... Bert On Feb 11, 2018 7:33 AM, "PAOLO PILI" <paolo.pili at student.unife.it> wrote: > Hello, > > I have a problem with Hausman test. I am performing my analysis with these > commands: > > > library(plm) > > data<-read.csv2("paolo.csv",header=TRUE) >
2013 Apr 19
1
[LLVMdev] GSoC pre-proposal (instrumentation pass)
Hi, I'd like to propose a GSoC project with the goal of implementing a library for profiling instrumentation of LLVM IR. Currently, my idea is make the library general enough to insert arbitrary code or a call to a void(*)(void) before or after reads/writes from a specified variable or in the prologue/epilogue of a specified function. I would like to build more than this on top of the
2018 Feb 11
1
Hausman test
you are right about the 3rd line but it doesn't help me for my problem. I remove the 3rd line but there is still the same problem: Error in solve.default (dvcov): the system is numerically unique: reciprocity condition value = 1.63418e-19 Paolo 2018-02-11 16:54 GMT+01:00 Bert Gunter <bgunter.4567 at gmail.com>: > Note the typo in your 3rd line: data < > > Don't
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 $
2007 Aug 27
0
proftools package now available from CRAN
PROFILE OUTPUT PROCESSING TOOLS FOR R ===================================== This package provides some simple tools for examining Rprof output and, in particular, extracting and viewing call graph information. Call graph information, including which direct calls where observed and how much time was spent in these calls, can be very useful in identifying performance bottlenecks.
2007 Aug 27
0
proftools package now available from CRAN
PROFILE OUTPUT PROCESSING TOOLS FOR R ===================================== This package provides some simple tools for examining Rprof output and, in particular, extracting and viewing call graph information. Call graph information, including which direct calls where observed and how much time was spent in these calls, can be very useful in identifying performance bottlenecks.
2004 Sep 10
6
libFLAC internals
Howdy. I'm working on Altivec versions of some of the libFLAC functions. I figured the best candidates would be those that had MMX/SSE/3dnow versions, and I picked FLAC__lpc_restore_signal() to do first, since it's relatively simple. In stepping through some runs, it appears that 'order' mod 4 is always 0. Is that guaranteed, either by the format or by higher functions in the