On Thu, Sep 13, 2018 at 09:33:14AM +0200, Anders Selhammer wrote:
> This series adds the support for the implemented data sets in ptp4l
> described in PTPBASE-MIB.
> The snmp4lptp is used as a subagent to netsnamp master agent. The
> infrmation is collected directly from ptp4l program using the uds
> port.

Running snmp4lptp under valgrind, before this series I get:

==16768== HEAP SUMMARY:
==16768==     in use at exit: 2,525 bytes in 63 blocks
==16768==   total heap usage: 1,304 allocs, 1,241 frees, 287,393 bytes allocated

and with this series:

==17317== HEAP SUMMARY:
==17317==     in use at exit: 47,767 bytes in 266 blocks
==17317==   total heap usage: 1,578 allocs, 1,312 frees, 693,932 bytes allocated

May I ask you to please take care of that?

(It will help identify *real* memory leaks later on, as the program grows.)

Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to