From 12f4f09e6ed288bdedc86e4ef22f3cc34f0e787a Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Sun, 9 Mar 2008 08:02:22 +0000 Subject: Add support for Linux per-process IO statistics, enabled with the --enable-taskstats flag, which requires a kernel compiled with taskstats support. Thanks to Tobias Oetiker! --- ProcessList.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ProcessList.h') diff --git a/ProcessList.h b/ProcessList.h index 34bdc46e..a13d3998 100644 --- a/ProcessList.h +++ b/ProcessList.h @@ -165,6 +165,10 @@ void ProcessList_sort(ProcessList* this); bool ProcessList_readStatusFile(ProcessList* this, Process* proc, char* dirname, char* name); +#ifdef HAVE_TASKSTATS +void ProcessList_readIoFile(ProcessList* this, Process* proc, char* dirname, char* name); +#endif + bool ProcessList_processEntries(ProcessList* this, char* dirname, Process* parent, float period); void ProcessList_scan(ProcessList* this); -- cgit v1.2.3