Mercurial > archived > louis > perso > liblxcstats
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6ce4443e7545 |
---|---|
1 #ifndef _LXC_STATS_PROBES_H_ | |
2 # define _LXC_STATS_PROBES_H_ | |
3 | |
4 struct lxcst; | |
5 | |
6 struct _lxcst_probe { | |
7 int (*fn)(struct lxcst *); | |
8 const char *name; | |
9 }; | |
10 | |
11 extern const struct _lxcst_probe _lxcst_probes[]; | |
12 | |
13 int _lxcst_probe_cpuacct(struct lxcst *c); | |
14 | |
15 #endif |