"-pg" must also be added in VALA_LDFLAGS
On Sun, Aug 14, 2011 at 04:28:38PM +0200, oliver wrote: > Hi Andreas, > > I have not to add "-X -pg" in VALAFLAGS. > This does not really provide the "-pg" to the C-compiler. > > Instead it must be used the following: > "-pg" added to VALA_CFLAGS > > > Ciao, > Oliver > > On Sat, Aug 13, 2011 at 01:57:35PM +0200, Andreas Brauchli wrote: > > hi oliver > > > > what you want is probably not a debug version but a > > profilable version. btw, it looks like the debug flag (-g) is passed by > > default - at least if the packager didn't turn it off. > > > > for profiling you can use gprof to do the job by passing -X -pg to valac > > (VALAFLAGS in Makefile) > > > > however if you're not comfortable with c programming i would not advise > > you to do so.. not that you could break much but it could be > > frustrating ;) at least you'd need to read up on how to use gprof > > > > cheers and best of luck > > andreas > > > > On Sam, 2011-08-13 at 13:33 +0200, oliver wrote: > > > If it is possible to create a gdb-/debugging-version > > > of shotwell, and if this is easy by just adding > > > a switch to one makefile, I could try the same > > > procedure again, so that the bottleneck maybe > > > can be identified. > > > > > > Is there an easy way for this? > > > > > > How would I make a debugging version from shotwell? > > > > > > (Or are those issues already addressed by the shotwell team? > > > Or is being able to handle about 100k pics not in the focus > > > of the shotwell team?) > > > > > > > > > Ciao, > > > Oliver > > > _______________________________________________ > > > Shotwell mailing list > > > [email protected] > > > http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell > > > > > _______________________________________________ > Shotwell mailing list > [email protected] > http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell _______________________________________________ Shotwell mailing list [email protected] http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
