Mercurial > archived > louis > perso > liblxcstats
view probes/probes.h @ 9:6f2e13f5fcfd
Add the memory probe
author | Louis Opter <louis@dotcloud.com> |
---|---|
date | Sun, 02 Jan 2011 01:50:27 +0100 |
parents | 6ce4443e7545 |
children | 3a1977ecccc7 |
line wrap: on
line source
#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); int _lxcst_probe_memory(struct lxcst *c); #endif