projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
connectivity notifications
[collectd.git]
/
src
/
contextswitch.c
diff --git
a/src/contextswitch.c
b/src/contextswitch.c
index
35ac5a3
..
cf3d3da
100644
(file)
--- a/
src/contextswitch.c
+++ b/
src/contextswitch.c
@@
-23,8
+23,8
@@
#include "collectd.h"
#include "collectd.h"
-#include "common.h"
#include "plugin.h"
#include "plugin.h"
+#include "utils/common/common.h"
#ifdef HAVE_SYS_SYSCTL_H
#include <sys/sysctl.h>
#ifdef HAVE_SYS_SYSCTL_H
#include <sys/sysctl.h>
@@
-73,7
+73,7
@@
static int cs_read(void) {
}
cs_submit(value);
}
cs_submit(value);
-/* #endif HAVE_SYSCTLBYNAME */
+
/* #endif HAVE_SYSCTLBYNAME */
#elif KERNEL_LINUX
FILE *fh;
#elif KERNEL_LINUX
FILE *fh;
@@
-116,7
+116,7
@@
static int cs_read(void) {
if (status == -2)
ERROR("contextswitch plugin: Unable to find context switch value.");
if (status == -2)
ERROR("contextswitch plugin: Unable to find context switch value.");
-/* #endif KERNEL_LINUX */
+
/* #endif KERNEL_LINUX */
#elif HAVE_PERFSTAT
int status = 0;
#elif HAVE_PERFSTAT
int status = 0;