mirror of https://github.com/xzeldon/htop.git
platform-dependent files included relative to main source directory
This commit is contained in:
parent
1b74dfe187
commit
3f86a011e6
1
Header.h
1
Header.h
|
@ -12,6 +12,7 @@ in the source distribution for its full text.
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
#include "Vector.h"
|
#include "Vector.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct Header_ {
|
typedef struct Header_ {
|
||||||
Vector** columns;
|
Vector** columns;
|
||||||
Settings* settings;
|
Settings* settings;
|
||||||
|
|
|
@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "DarwinProcess.h"
|
#include "darwin/DarwinProcess.h"
|
||||||
|
|
||||||
#include <libproc.h>
|
#include <libproc.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -14,8 +14,8 @@ in the source distribution for its full text.
|
||||||
#include <mach/mach.h>
|
#include <mach/mach.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Platform.h"
|
|
||||||
#include "Process.h"
|
#include "Process.h"
|
||||||
|
#include "darwin/Platform.h"
|
||||||
|
|
||||||
|
|
||||||
const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
|
const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
|
||||||
|
|
|
@ -9,9 +9,8 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
|
|
||||||
#include "DarwinProcessList.h"
|
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
#include "darwin/DarwinProcessList.h"
|
||||||
|
|
||||||
typedef struct DarwinProcess_ {
|
typedef struct DarwinProcess_ {
|
||||||
Process super;
|
Process super;
|
||||||
|
|
|
@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "DarwinProcessList.h"
|
#include "darwin/DarwinProcessList.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <libproc.h>
|
#include <libproc.h>
|
||||||
|
@ -19,9 +19,9 @@ in the source distribution for its full text.
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "DarwinProcess.h"
|
|
||||||
#include "Platform.h"
|
|
||||||
#include "ProcessList.h"
|
#include "ProcessList.h"
|
||||||
|
#include "darwin/DarwinProcess.h"
|
||||||
|
#include "darwin/Platform.h"
|
||||||
#include "generic/openzfs_sysctl.h"
|
#include "generic/openzfs_sysctl.h"
|
||||||
#include "zfs/ZfsArcStats.h"
|
#include "zfs/ZfsArcStats.h"
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "Platform.h"
|
#include "darwin/Platform.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -22,7 +22,6 @@ in the source distribution for its full text.
|
||||||
#include "ClockMeter.h"
|
#include "ClockMeter.h"
|
||||||
#include "CPUMeter.h"
|
#include "CPUMeter.h"
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "DarwinProcessList.h"
|
|
||||||
#include "DateMeter.h"
|
#include "DateMeter.h"
|
||||||
#include "DateTimeMeter.h"
|
#include "DateTimeMeter.h"
|
||||||
#include "HostnameMeter.h"
|
#include "HostnameMeter.h"
|
||||||
|
@ -34,6 +33,7 @@ in the source distribution for its full text.
|
||||||
#include "SysArchMeter.h"
|
#include "SysArchMeter.h"
|
||||||
#include "TasksMeter.h"
|
#include "TasksMeter.h"
|
||||||
#include "UptimeMeter.h"
|
#include "UptimeMeter.h"
|
||||||
|
#include "darwin/DarwinProcessList.h"
|
||||||
#include "zfs/ZfsArcMeter.h"
|
#include "zfs/ZfsArcMeter.h"
|
||||||
#include "zfs/ZfsCompressedArcMeter.h"
|
#include "zfs/ZfsCompressedArcMeter.h"
|
||||||
|
|
||||||
|
|
|
@ -14,11 +14,11 @@ in the source distribution for its full text.
|
||||||
#include "Action.h"
|
#include "Action.h"
|
||||||
#include "BatteryMeter.h"
|
#include "BatteryMeter.h"
|
||||||
#include "CPUMeter.h"
|
#include "CPUMeter.h"
|
||||||
#include "DarwinProcess.h"
|
|
||||||
#include "DiskIOMeter.h"
|
#include "DiskIOMeter.h"
|
||||||
#include "NetworkIOMeter.h"
|
#include "NetworkIOMeter.h"
|
||||||
#include "ProcessLocksScreen.h"
|
#include "ProcessLocksScreen.h"
|
||||||
#include "SignalsPanel.h"
|
#include "SignalsPanel.h"
|
||||||
|
#include "darwin/DarwinProcess.h"
|
||||||
#include "generic/gettime.h"
|
#include "generic/gettime.h"
|
||||||
#include "generic/hostname.h"
|
#include "generic/hostname.h"
|
||||||
#include "generic/uname.h"
|
#include "generic/uname.h"
|
||||||
|
|
|
@ -6,17 +6,17 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Process.h"
|
#include "dragonflybsd/DragonFlyBSDProcess.h"
|
||||||
#include "ProcessList.h"
|
|
||||||
#include "DragonFlyBSDProcess.h"
|
|
||||||
#include "Platform.h"
|
|
||||||
#include "CRT.h"
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/syscall.h>
|
#include <sys/syscall.h>
|
||||||
|
|
||||||
|
#include "Process.h"
|
||||||
|
#include "ProcessList.h"
|
||||||
|
#include "dragonflybsd/Platform.h"
|
||||||
|
#include "CRT.h"
|
||||||
|
|
||||||
const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
|
const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
|
||||||
[0] = { .name = "", .title = NULL, .description = NULL, .flags = 0, },
|
[0] = { .name = "", .title = NULL, .description = NULL, .flags = 0, },
|
||||||
|
|
|
@ -6,9 +6,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ProcessList.h"
|
#include "dragonflybsd/DragonFlyBSDProcessList.h"
|
||||||
#include "DragonFlyBSDProcessList.h"
|
|
||||||
#include "DragonFlyBSDProcess.h"
|
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -22,6 +20,8 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
|
#include "ProcessList.h"
|
||||||
|
#include "dragonflybsd/DragonFlyBSDProcess.h"
|
||||||
|
|
||||||
|
|
||||||
static int MIB_hw_physmem[2];
|
static int MIB_hw_physmem[2];
|
||||||
|
|
|
@ -15,7 +15,8 @@ in the source distribution for its full text.
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
#include "Hashtable.h"
|
#include "Hashtable.h"
|
||||||
#include "DragonFlyBSDProcess.h"
|
|
||||||
|
#include "dragonflybsd/DragonFlyBSDProcess.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct CPUData_ {
|
typedef struct CPUData_ {
|
||||||
|
|
|
@ -6,30 +6,31 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Platform.h"
|
#include "dragonflybsd/Platform.h"
|
||||||
#include "Macros.h"
|
|
||||||
#include "Meter.h"
|
#include <math.h>
|
||||||
#include "CPUMeter.h"
|
#include <time.h>
|
||||||
#include "MemoryMeter.h"
|
#include <sys/resource.h>
|
||||||
#include "SwapMeter.h"
|
#include <sys/sysctl.h>
|
||||||
#include "TasksMeter.h"
|
#include <sys/time.h>
|
||||||
#include "LoadAverageMeter.h"
|
#include <sys/types.h>
|
||||||
#include "UptimeMeter.h"
|
#include <vm/vm_param.h>
|
||||||
|
|
||||||
#include "ClockMeter.h"
|
#include "ClockMeter.h"
|
||||||
|
#include "CPUMeter.h"
|
||||||
#include "DateMeter.h"
|
#include "DateMeter.h"
|
||||||
#include "DateTimeMeter.h"
|
#include "DateTimeMeter.h"
|
||||||
#include "HostnameMeter.h"
|
#include "HostnameMeter.h"
|
||||||
|
#include "LoadAverageMeter.h"
|
||||||
|
#include "Macros.h"
|
||||||
|
#include "MemoryMeter.h"
|
||||||
|
#include "Meter.h"
|
||||||
|
#include "SwapMeter.h"
|
||||||
#include "SysArchMeter.h"
|
#include "SysArchMeter.h"
|
||||||
#include "DragonFlyBSDProcess.h"
|
#include "TasksMeter.h"
|
||||||
#include "DragonFlyBSDProcessList.h"
|
#include "UptimeMeter.h"
|
||||||
|
#include "dragonflybsd/DragonFlyBSDProcess.h"
|
||||||
#include <sys/types.h>
|
#include "dragonflybsd/DragonFlyBSDProcessList.h"
|
||||||
#include <sys/sysctl.h>
|
|
||||||
#include <sys/time.h>
|
|
||||||
#include <sys/resource.h>
|
|
||||||
#include <vm/vm_param.h>
|
|
||||||
#include <time.h>
|
|
||||||
#include <math.h>
|
|
||||||
|
|
||||||
|
|
||||||
const ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 };
|
const ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 };
|
||||||
|
|
|
@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "FreeBSDProcess.h"
|
#include "freebsd/FreeBSDProcess.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "FreeBSDProcessList.h"
|
#include "freebsd/FreeBSDProcessList.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "Platform.h"
|
#include "freebsd/Platform.h"
|
||||||
|
|
||||||
#include <devstat.h>
|
#include <devstat.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -31,8 +31,6 @@ in the source distribution for its full text.
|
||||||
#include "DateMeter.h"
|
#include "DateMeter.h"
|
||||||
#include "DateTimeMeter.h"
|
#include "DateTimeMeter.h"
|
||||||
#include "DiskIOMeter.h"
|
#include "DiskIOMeter.h"
|
||||||
#include "FreeBSDProcess.h"
|
|
||||||
#include "FreeBSDProcessList.h"
|
|
||||||
#include "HostnameMeter.h"
|
#include "HostnameMeter.h"
|
||||||
#include "LoadAverageMeter.h"
|
#include "LoadAverageMeter.h"
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
|
@ -46,6 +44,8 @@ in the source distribution for its full text.
|
||||||
#include "TasksMeter.h"
|
#include "TasksMeter.h"
|
||||||
#include "UptimeMeter.h"
|
#include "UptimeMeter.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
#include "freebsd/FreeBSDProcess.h"
|
||||||
|
#include "freebsd/FreeBSDProcessList.h"
|
||||||
#include "zfs/ZfsArcMeter.h"
|
#include "zfs/ZfsArcMeter.h"
|
||||||
#include "zfs/ZfsCompressedArcMeter.h"
|
#include "zfs/ZfsCompressedArcMeter.h"
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,11 @@ in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include "generic/gettime.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "generic/gettime.h"
|
|
||||||
|
|
||||||
|
|
||||||
void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec) {
|
void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec) {
|
||||||
|
|
||||||
|
|
|
@ -6,13 +6,14 @@ in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include "generic/uname.h"
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
#include "generic/uname.h"
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_UTSNAME_H
|
#ifdef HAVE_SYS_UTSNAME_H
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
|
|
|
@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "HugePageMeter.h"
|
#include "linux/HugePageMeter.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
@ -13,11 +13,11 @@ in the source distribution for its full text.
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "LinuxProcessList.h"
|
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "ProcessList.h"
|
#include "ProcessList.h"
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
|
#include "linux/LinuxProcessList.h"
|
||||||
|
|
||||||
|
|
||||||
static const char *HugePageMeter_active_labels[4] = { NULL, NULL, NULL, NULL };
|
static const char *HugePageMeter_active_labels[4] = { NULL, NULL, NULL, NULL };
|
||||||
|
|
|
@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "IOPriorityPanel.h"
|
#include "linux/IOPriorityPanel.h"
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
@ -14,6 +14,7 @@ in the source distribution for its full text.
|
||||||
#include "ListItem.h"
|
#include "ListItem.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
#include "IOPriority.h"
|
||||||
|
|
||||||
|
|
||||||
Panel* IOPriorityPanel_new(IOPriority currPrio) {
|
Panel* IOPriorityPanel_new(IOPriority currPrio) {
|
||||||
|
|
|
@ -8,7 +8,7 @@ in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Panel.h"
|
#include "Panel.h"
|
||||||
#include "IOPriority.h"
|
#include "linux/IOPriority.h"
|
||||||
|
|
||||||
Panel* IOPriorityPanel_new(IOPriority currPrio);
|
Panel* IOPriorityPanel_new(IOPriority currPrio);
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "LibSensors.h"
|
#include "linux/LibSensors.h"
|
||||||
|
|
||||||
#ifdef HAVE_SENSORS_SENSORS_H
|
#ifdef HAVE_SENSORS_SENSORS_H
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "LinuxProcessList.h"
|
#include "linux/LinuxProcessList.h"
|
||||||
|
|
||||||
|
|
||||||
int LibSensors_init(FILE* input);
|
int LibSensors_init(FILE* input);
|
||||||
|
|
|
@ -6,7 +6,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "LinuxProcess.h"
|
#include "linux/LinuxProcess.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -22,6 +22,7 @@ in the source distribution for its full text.
|
||||||
#include "ProvideCurses.h"
|
#include "ProvideCurses.h"
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
#include "linux/IOPriority.h"
|
||||||
|
|
||||||
|
|
||||||
/* semi-global */
|
/* semi-global */
|
||||||
|
|
|
@ -12,7 +12,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "IOPriority.h"
|
#include "linux/IOPriority.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Process.h"
|
#include "Process.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
|
|
@ -7,7 +7,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "LinuxProcessList.h"
|
#include "linux/LinuxProcessList.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
@ -41,13 +41,13 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "Compat.h"
|
#include "Compat.h"
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "LinuxProcess.h"
|
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "Platform.h" // needed for GNU/hurd to get PATH_MAX
|
|
||||||
#include "Process.h"
|
#include "Process.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
#include "linux/LinuxProcess.h"
|
||||||
|
#include "linux/Platform.h" // needed for GNU/hurd to get PATH_MAX
|
||||||
|
|
||||||
#if defined(MAJOR_IN_MKDEV)
|
#if defined(MAJOR_IN_MKDEV)
|
||||||
#include <sys/mkdev.h>
|
#include <sys/mkdev.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "Platform.h"
|
#include "linux/Platform.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
@ -31,10 +31,6 @@ in the source distribution for its full text.
|
||||||
#include "DiskIOMeter.h"
|
#include "DiskIOMeter.h"
|
||||||
#include "HostnameMeter.h"
|
#include "HostnameMeter.h"
|
||||||
#include "HugePageMeter.h"
|
#include "HugePageMeter.h"
|
||||||
#include "IOPriority.h"
|
|
||||||
#include "IOPriorityPanel.h"
|
|
||||||
#include "LinuxProcess.h"
|
|
||||||
#include "LinuxProcessList.h"
|
|
||||||
#include "LoadAverageMeter.h"
|
#include "LoadAverageMeter.h"
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "MainPanel.h"
|
#include "MainPanel.h"
|
||||||
|
@ -46,17 +42,20 @@ in the source distribution for its full text.
|
||||||
#include "PressureStallMeter.h"
|
#include "PressureStallMeter.h"
|
||||||
#include "ProcessList.h"
|
#include "ProcessList.h"
|
||||||
#include "ProvideCurses.h"
|
#include "ProvideCurses.h"
|
||||||
#include "SELinuxMeter.h"
|
#include "linux/SELinuxMeter.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
#include "SwapMeter.h"
|
#include "SwapMeter.h"
|
||||||
#include "SysArchMeter.h"
|
#include "SysArchMeter.h"
|
||||||
#include "SystemdMeter.h"
|
|
||||||
#include "TasksMeter.h"
|
#include "TasksMeter.h"
|
||||||
#include "UptimeMeter.h"
|
#include "UptimeMeter.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
#include "ZramMeter.h"
|
#include "linux/IOPriority.h"
|
||||||
#include "ZramStats.h"
|
#include "linux/IOPriorityPanel.h"
|
||||||
|
#include "linux/LinuxProcess.h"
|
||||||
|
#include "linux/LinuxProcessList.h"
|
||||||
|
#include "linux/SystemdMeter.h"
|
||||||
|
#include "linux/ZramMeter.h"
|
||||||
|
#include "linux/ZramStats.h"
|
||||||
#include "zfs/ZfsArcMeter.h"
|
#include "zfs/ZfsArcMeter.h"
|
||||||
#include "zfs/ZfsArcStats.h"
|
#include "zfs/ZfsArcStats.h"
|
||||||
#include "zfs/ZfsCompressedArcMeter.h"
|
#include "zfs/ZfsCompressedArcMeter.h"
|
||||||
|
|
|
@ -6,7 +6,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "PressureStallMeter.h"
|
#include "linux/PressureStallMeter.h"
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "SELinuxMeter.h"
|
#include "linux/SELinuxMeter.h"
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "SystemdMeter.h"
|
#include "linux/SystemdMeter.h"
|
||||||
|
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "ZramMeter.h"
|
#include "linux/ZramMeter.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "OpenBSDProcess.h"
|
#include "openbsd/OpenBSDProcess.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "OpenBSDProcessList.h"
|
#include "openbsd/OpenBSDProcessList.h"
|
||||||
|
|
||||||
#include <kvm.h>
|
#include <kvm.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
@ -25,11 +25,11 @@ in the source distribution for its full text.
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "Object.h"
|
#include "Object.h"
|
||||||
#include "OpenBSDProcess.h"
|
|
||||||
#include "Process.h"
|
#include "Process.h"
|
||||||
#include "ProcessList.h"
|
#include "ProcessList.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
#include "openbsd/OpenBSDProcess.h"
|
||||||
|
|
||||||
|
|
||||||
static long fscale;
|
static long fscale;
|
||||||
|
|
|
@ -6,7 +6,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Platform.h"
|
#include "openbsd/Platform.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <kvm.h>
|
#include <kvm.h>
|
||||||
|
@ -33,8 +33,6 @@ in the source distribution for its full text.
|
||||||
#include "Macros.h"
|
#include "Macros.h"
|
||||||
#include "MemoryMeter.h"
|
#include "MemoryMeter.h"
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
#include "OpenBSDProcess.h"
|
|
||||||
#include "OpenBSDProcessList.h"
|
|
||||||
#include "ProcessList.h"
|
#include "ProcessList.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
#include "SignalsPanel.h"
|
#include "SignalsPanel.h"
|
||||||
|
@ -43,6 +41,8 @@ in the source distribution for its full text.
|
||||||
#include "TasksMeter.h"
|
#include "TasksMeter.h"
|
||||||
#include "UptimeMeter.h"
|
#include "UptimeMeter.h"
|
||||||
#include "XUtils.h"
|
#include "XUtils.h"
|
||||||
|
#include "openbsd/OpenBSDProcess.h"
|
||||||
|
#include "openbsd/OpenBSDProcessList.h"
|
||||||
|
|
||||||
|
|
||||||
const ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 };
|
const ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 };
|
||||||
|
|
|
@ -25,7 +25,6 @@ in the source distribution for its full text.
|
||||||
#include "NetworkIOMeter.h"
|
#include "NetworkIOMeter.h"
|
||||||
#include "ProcessLocksScreen.h"
|
#include "ProcessLocksScreen.h"
|
||||||
#include "SignalsPanel.h"
|
#include "SignalsPanel.h"
|
||||||
|
|
||||||
#include "generic/gettime.h"
|
#include "generic/gettime.h"
|
||||||
#include "generic/hostname.h"
|
#include "generic/hostname.h"
|
||||||
#include "generic/uname.h"
|
#include "generic/uname.h"
|
||||||
|
|
|
@ -6,9 +6,8 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ProcessList.h"
|
|
||||||
#include "SolarisProcess.h"
|
#include "solaris/SolarisProcessList.h"
|
||||||
#include "SolarisProcessList.h"
|
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -23,6 +22,8 @@ in the source distribution for its full text.
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
|
#include "solaris/ProcessList.h"
|
||||||
|
#include "solaris/SolarisProcess.h"
|
||||||
|
|
||||||
|
|
||||||
#define MAXCMDLINE 255
|
#define MAXCMDLINE 255
|
||||||
|
|
|
@ -13,8 +13,6 @@ in the source distribution for its full text.
|
||||||
#define GZONE "global "
|
#define GZONE "global "
|
||||||
#define UZONE "unknown "
|
#define UZONE "unknown "
|
||||||
|
|
||||||
#include "zfs/ZfsArcStats.h"
|
|
||||||
|
|
||||||
#include <kstat.h>
|
#include <kstat.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
|
@ -23,6 +21,9 @@ in the source distribution for its full text.
|
||||||
#include <sys/sysinfo.h>
|
#include <sys/sysinfo.h>
|
||||||
#include <sys/swap.h>
|
#include <sys/swap.h>
|
||||||
|
|
||||||
|
#include "zfs/ZfsArcStats.h"
|
||||||
|
|
||||||
|
|
||||||
#define ZONE_ERRMSGLEN 1024
|
#define ZONE_ERRMSGLEN 1024
|
||||||
extern char zone_errmsg[ZONE_ERRMSGLEN];
|
extern char zone_errmsg[ZONE_ERRMSGLEN];
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "Platform.h"
|
#include "unsupported/Platform.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@ in the source distribution for its full text.
|
||||||
#include "NetworkIOMeter.h"
|
#include "NetworkIOMeter.h"
|
||||||
#include "ProcessLocksScreen.h"
|
#include "ProcessLocksScreen.h"
|
||||||
#include "SignalsPanel.h"
|
#include "SignalsPanel.h"
|
||||||
#include "UnsupportedProcess.h"
|
|
||||||
#include "generic/gettime.h"
|
#include "generic/gettime.h"
|
||||||
|
#include "unsupported/UnsupportedProcess.h"
|
||||||
|
|
||||||
|
|
||||||
extern const SignalItem Platform_signals[];
|
extern const SignalItem Platform_signals[];
|
||||||
|
|
|
@ -7,7 +7,7 @@ in the source distribution for its full text.
|
||||||
|
|
||||||
#include "config.h" // IWYU pragma: keep
|
#include "config.h" // IWYU pragma: keep
|
||||||
|
|
||||||
#include "UnsupportedProcess.h"
|
#include "unsupported/UnsupportedProcess.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ZfsArcMeter.h"
|
#include "zfs/ZfsArcMeter.h"
|
||||||
#include "ZfsArcStats.h"
|
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
@ -15,6 +14,8 @@ in the source distribution for its full text.
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
#include "RichString.h"
|
#include "RichString.h"
|
||||||
|
|
||||||
|
#include "zfs/ZfsArcStats.h"
|
||||||
|
|
||||||
|
|
||||||
static const int ZfsArcMeter_attributes[] = {
|
static const int ZfsArcMeter_attributes[] = {
|
||||||
ZFS_MFU, ZFS_MRU, ZFS_ANON, ZFS_HEADER, ZFS_OTHER
|
ZFS_MFU, ZFS_MRU, ZFS_ANON, ZFS_HEADER, ZFS_OTHER
|
||||||
|
|
|
@ -7,7 +7,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ZfsArcStats.h"
|
#include "zfs/ZfsArcStats.h"
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ZfsCompressedArcMeter.h"
|
#include "zfs/ZfsCompressedArcMeter.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ Released under the GNU GPLv2, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ZfsArcStats.h"
|
#include "zfs/ZfsArcStats.h"
|
||||||
|
|
||||||
#include "Meter.h"
|
#include "Meter.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue