Bring OpenBSD closer to FreeBSD to help checking what is missing/different. Also we make sure to use and build mountlist and fsusage from the sysdeps/openbsd directory instead of the common one. https://bugzilla.gnome.org/show_bug.cgi?id=723521
27 lines
437 B
C
27 lines
437 B
C
/*
|
|
* TODO (procaffinity stub)
|
|
*/
|
|
|
|
#include <config.h>
|
|
#include <glibtop/procaffinity.h>
|
|
#include <glibtop/error.h>
|
|
|
|
|
|
void
|
|
_glibtop_init_proc_affinity_s(glibtop *server)
|
|
{
|
|
server->sysdeps.proc_affinity =
|
|
(1 << GLIBTOP_PROC_AFFINITY_NUMBER) |
|
|
(1 << GLIBTOP_PROC_AFFINITY_ALL);
|
|
|
|
}
|
|
|
|
|
|
guint16 *
|
|
glibtop_get_proc_affinity_s(glibtop *server, glibtop_proc_affinity *buf, pid_t pid)
|
|
{
|
|
memset(buf, 0, sizeof *buf);
|
|
|
|
return NULL;
|
|
}
|