[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'
Florian Forster
octo at verplant.org
Wed May 19 11:31:10 CEST 2010
configure.in | 49 +++++++++++++++++++++++++++++++
src/swap.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++----------
2 files changed, 123 insertions(+), 16 deletions(-)
New commits:
commit 96c7236a210a3e85116c053ac79fe10c38a3a9d4
Author: Florian Forster <octo at huhu.verplant.org>
Date: Wed May 19 11:30:42 2010 +0200
swap plugin: Add a missing "free" in an error case.
Also fixes a minor format string problem.
commit 1f57476bee2e0311d39f30fa50c3da4d74f654ba
Author: Aurélien Reynaud <collectd at wattapower.net>
Date: Tue May 4 15:05:13 2010 +0200
Add support for Solaris/HP-UX versions of swapctl in swap plugin
This patch adds support for the Solaris/HP-UX version of swapctl(),
which takes two arguments instead of three in the BSD version.
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
commit 34eb0428ed2d9f8e9433cc71e43da6761d174e1a
Author: Aurélien Reynaud <collectd at wattapower.net>
Date: Tue May 4 15:05:12 2010 +0200
Check for different versions of swapctl() in configure.in
The swapctl() function comes in two flavors. Depending on the OS,
it can take two or three arguments with the following prototypes:
swapctl (int cmd, void *arg, int misc); (BSD version)
or
swapctl (int cmd, void *arg); (HP-UX or Solaris version)
This patch adds support for detecting the right version of swapctl()
at configure time.
In addition to HAVE_SWAPCTL, HAVE_SWAPCTL_TWO_ARGS and/or
HAVE_SWAPCTL_THREE_ARGS are defined to reflect the result of the
check.
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
More information about the collectd-changes
mailing list