summaryrefslogtreecommitdiff
path: root/src/bootchart/store.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootchart/store.h')
-rw-r--r--src/bootchart/store.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/bootchart/store.h b/src/bootchart/store.h
index f211b6f53b..bbb4796efd 100644
--- a/src/bootchart/store.h
+++ b/src/bootchart/store.h
@@ -27,9 +27,11 @@
#include <dirent.h>
#include "bootchart.h"
-extern DIR *proc;
-extern int procfd;
-
double gettime_ns(void);
void log_uptime(void);
-void 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);