diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-11-11 22:15:35 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-11-14 15:51:26 +0100 |
commit | 18763051a2c5a5d3a39bfabc284b3d72b1f6fc9b (patch) | |
tree | 6674c47d7b011aca855ea72a0b94c7567bc28294 /linux/Platform.h | |
parent | 2d6da2e52066067e4c82a2e16f73438319e1db81 (diff) |
Split platform dependent parts for file locks screen
Diffstat (limited to 'linux/Platform.h')
-rw-r--r-- | linux/Platform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/Platform.h b/linux/Platform.h index b61a4db8..5a661a04 100644 --- a/linux/Platform.h +++ b/linux/Platform.h @@ -14,6 +14,7 @@ in the source distribution for its full text. #include "DiskIOMeter.h" #include "Meter.h" #include "Process.h" +#include "ProcessLocksScreen.h" #include "SignalsPanel.h" extern ProcessField Platform_defaultFields[]; @@ -45,8 +46,13 @@ void Platform_setZramValues(Meter* this); void Platform_setZfsArcValues(Meter* this); void Platform_setZfsCompressedArcValues(Meter* this); + char* Platform_getProcessEnv(pid_t pid); +char* Platform_getInodeFilename(pid_t pid, ino_t inode); + +FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid); + void Platform_getPressureStall(const char *file, bool some, double* ten, double* sixty, double* threehundred); bool Platform_getDiskIO(DiskIOData* data); |