Re: [fpc-pascal] FPC 3.0.0 and gProf
On Wed, 19 Oct 2016 14:36:05 +0200 Jonas Maebe wrote: > On Linux, kcallgrind or oprofile, I guess (make sure to compile your > code with -gv for both). Thanks, will give them a try. R. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 3.0.0 and gProf
Reimar Grabowski wrote on Wed, 19 Oct 2016: What do people use to profile their programs? On Linux, kcallgrind or oprofile, I guess (make sure to compile your code with -gv for both). Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 3.0.0 and gProf
On Wed, 19 Oct 2016 07:39:30 +0200 Jonas Maebe wrote: > Reimar Grabowski wrote: > > are there any known problems with gprof? > > No, but on the other hand it's not something that many people use What do people use to profile their programs? > On which platform? Sorry, Ubuntu 16.04 64-bit R. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 3.0.0 and gProf
Reimar Grabowski wrote: > are there any known problems with gprof? No, but on the other hand it's not something that many people use. We have one simple test for it in the test suite, but it's only run for go32v2,linux,freebsd,darwin,haiku. > Mantis says no but when enabling gprof support in my Lazarus project I get a > segfault in gmon.c when running it. On which platform? > Any compiler switches I should check for that may interfere or other hints? No. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal