diff probes/probes.h @ 0:6ce4443e7545

Add the draft of an API to collect statistics on LXC
author Louis Opter <kalessin@kalessin.fr>
date Wed, 29 Dec 2010 23:28:14 +0100
parents
children 6f2e13f5fcfd
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/probes/probes.h	Wed Dec 29 23:28:14 2010 +0100
@@ -0,0 +1,15 @@
+#ifndef _LXC_STATS_PROBES_H_
+# define _LXC_STATS_PROBES_H_
+
+struct  lxcst;
+
+struct  _lxcst_probe {
+    int         (*fn)(struct lxcst *);
+    const char  *name;
+};
+
+extern const struct _lxcst_probe _lxcst_probes[];
+
+int _lxcst_probe_cpuacct(struct lxcst *c);
+
+#endif