/**
* collectd - src/processes.c
* Copyright (C) 2005 Lyonel Vincent
+ * Copyright (C) 2006 Florian Forster (Mach code)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
#define MODULE_NAME "processes"
-#if HAVE_THREAD_INFO || defined(KERNEL_LINUX)
+#if HAVE_THREAD_INFO || KERNEL_LINUX
# define PROCESSES_HAVE_READ 1
#else
# define PROCESSES_HAVE_READ 0
mach_error_string (status));
}
} /* for (pset_list) */
+
+ ps_submit (running, sleeping, zombies, stopped, -1, blocked);
/* #endif HAVE_THREAD_INFO */
#elif KERNEL_LINUX