chiark / gitweb /
sd-device: initialize variable
[elogind.git] / src / bootchart / store.h
index 8cb319275ccf795b34599364d8ed3a0ade9d3389..bbb4796efdd628a139c7fd15df3b205bf7dd6a0c 100644 (file)
 #include <dirent.h>
 #include "bootchart.h"
 
-extern DIR *proc;
-extern int procfd;
-
 double gettime_ns(void);
 void log_uptime(void);
-int log_sample(int sample, struct list_sample_data **ptr);
+int log_sample(DIR *proc,
+               int sample,
+               struct ps_struct *ps_first,
+               struct list_sample_data **ptr,
+               int *pscount,
+               int *cpus);