Re: profiling

From: Daniel Black <daniel.subs_at_internode.on.net>
Date: Wed, 1 Sep 2010 10:25:46 +1000

On Wednesday 01 September 2010 08:41:59 Murray S. Kucherawy wrote:
> On Wed, 1 Sep 2010, Daniel Black wrote:
> > libopendkim/tests/Makefile.am && libopendkim/tests/gcov-helper.sh
> >
> > .gcov-files: check-TESTS
> >
> > for i in $(PROF_SRCS); do \
> >
> > x=`echo $$i | sed 's/\..*//g'`; \
> > if test -f ../libopendkim_la-$$x.gcno -a \
> >
> > -f ../libopendkim_la-$$x.gcda; then \
> > mv ../libopendkim_la-$$x.gcno ../$$x.gcno; \
> > mv ../libopendkim_la-$$x.gcda ../$$x.gcda; \
> > gcov -o .. $$i; \
> >
> > fi; \
> > if test -f ../libopendkim_la-$$x.bb -a \
> >
> > -f ../libopendkim_la-$$x.bbg -a \
> > -f ../libopendkim_la-$$x.da; then \
> > mv ../libopendkim_la-$$x.bb ../$$x.bb; \
> > mv ../libopendkim_la-$$x.bbg ../$$x.bbg; \
> > mv ../libopendkim_la-$$x.da ../$$x.da; \
> > gcov -o .. $$i; \
> >
> > fi; \
> >
> > done
> > touch $_at_
>
> During testing I found that gcov demanded these files have specific names,
> unfortunately.

ok I've done some work on the coverage. Due to its high compulation time
here's a snapshot.
http://dev.gentoo.org/~dragonheart/lcov/libopendkim/index.html

Work still in progress to manage gcov compatibility.

1/2 way through graphing for opendkim....
>
> > libar/tests directory and content haven't been commited so the build is
> > currently broken.
>
> http://opendkim.cvs.sourceforge.net/viewvc/opendkim/libar/tests/
>
> They're definitely there.
yes. odd. don't show up in a cvs up. I'll look into it.
Received on Wed Sep 01 2010 - 00:25:02 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:32:53 PST