On pe, 2014-05-02 at 08:30 +0000, Marcel Mulder wrote: > Hi Jukka, > > I did not know about valgrind. It looks like a very useful tool and I have to > possibility to put it on the target. So I will :-) > > Many Thanks for your suggestion and I will let you know if it was of any help.
By default valgrind reports also errors from various system libraries but you can suppress those using a suppression example file found in doc/valgrind.suppressions So one way to use valgrind is like this: $ cd <connman source directory> $ cp doc/valgrind.suppressions .valgrind.suppressions $ sudo sh -c "export CONNMAN_DHCP_DEBUG=1; valgrind --leak-check=full ./src/connmand -n -d 2>&1 | tee connman.log" Cheers, Jukka _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
