#include <glibtop_private.h>.
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
#include <assert.h>
|
||||
#include <sys/processor.h>
|
||||
|
||||
#include <glibtop_private.h>
|
||||
|
||||
static const unsigned long _glibtop_sysdeps_cpu =
|
||||
(1L << GLIBTOP_CPU_TOTAL) + (1L << GLIBTOP_CPU_USER) +
|
||||
(1L << GLIBTOP_CPU_SYS) + (1L << GLIBTOP_CPU_IDLE) +
|
||||
|
@@ -27,6 +27,8 @@
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glibtop_private.h>
|
||||
|
||||
static const unsigned long _glibtop_sysdeps_mem_os_sysconf =
|
||||
(1L << GLIBTOP_MEM_TOTAL);
|
||||
static const unsigned long _glibtop_sysdeps_mem_os_kstat =
|
||||
|
@@ -27,6 +27,8 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/processor.h>
|
||||
|
||||
#include <glibtop_private.h>
|
||||
|
||||
/* We need to call this when kstat_chain_update() returns new KID.
|
||||
* In that case all kstat pointers and data are invalid, so we
|
||||
* need to reread everything. The condition shouldn't happen very
|
||||
|
@@ -24,6 +24,8 @@
|
||||
#include <glibtop.h>
|
||||
#include <glibtop/procsignal.h>
|
||||
|
||||
#include <glibtop_private.h>
|
||||
|
||||
static const unsigned long _glibtop_sysdeps_proc_signal =
|
||||
(1L << GLIBTOP_PROC_SIGNAL_SIGNAL) + (1L << GLIBTOP_PROC_SIGNAL_BLOCKED);
|
||||
|
||||
|
@@ -28,6 +28,8 @@
|
||||
#include <assert.h>
|
||||
#include <sys/sysinfo.h>
|
||||
|
||||
#include <glibtop_private.h>
|
||||
|
||||
static const unsigned long _glibtop_sysdeps_swap =
|
||||
(1L << GLIBTOP_SWAP_TOTAL) + (1L << GLIBTOP_SWAP_USED) +
|
||||
(1L << GLIBTOP_SWAP_FREE);
|
||||
|
Reference in New Issue
Block a user