collectd/collectd — pull request #187 by ymettier (2012-11-16 15:42:02+00:00)
Title: Code cleanup, Bugfix for Solaris and new context switch for Linux

Hello,

Working with patch from icosmin/collectd and from perfwatcher/collectd-pw, I make a new patch on processes.c :

- code cleanup
- support for context switch statistics with Linux
- bugfix for Solaris (checks on malloc)
- factorization of code of Solaris/Linux (similar code : use "#ifdef"s)

Note : patch against release 5.1.1 is in perfwatcher/collectd-pw in branch patch-process/5.1.1 if you are also interested in it.

Regards,
Yves