2007-11-14 11:58:36 +00:00
|
|
|
/*
|
|
|
|
* Linux block and network stats.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2007 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* See COPYING.LIB for the License of this software
|
|
|
|
*
|
|
|
|
* Richard W.M. Jones <rjones@redhat.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __STATS_LINUX_H__
|
|
|
|
#define __STATS_LINUX_H__
|
|
|
|
|
|
|
|
#ifdef __linux__
|
|
|
|
|
|
|
|
#include "xen_unified.h"
|
|
|
|
|
|
|
|
extern int xenLinuxDomainBlockStats (xenUnifiedPrivatePtr priv,
|
2008-04-10 16:54:54 +00:00
|
|
|
virDomainPtr dom, const char *path,
|
|
|
|
struct _virDomainBlockStats *stats);
|
2007-11-14 11:58:36 +00:00
|
|
|
extern int linuxDomainInterfaceStats (virConnectPtr conn, const char *path,
|
2008-04-10 16:54:54 +00:00
|
|
|
struct _virDomainInterfaceStats *stats);
|
2007-11-14 11:58:36 +00:00
|
|
|
|
2008-01-29 18:36:00 +00:00
|
|
|
extern int xenLinuxDomainDeviceID(virConnectPtr conn, int domid, const char *dev);
|
|
|
|
|
2007-11-14 11:58:36 +00:00
|
|
|
#endif /* __linux__ */
|
|
|
|
|
|
|
|
#endif /* __STATS_LINUX_H__ */
|