+++ /dev/null
-#ifndef __ASM_PERFC_H__
-#define __ASM_PERFC_H__
-
-static inline void arch_perfc_reset(void)
-{
-}
-
-static inline void arch_perfc_gather(void)
-{
-}
-
-#endif
-
-/*
- * Local variables:
- * mode: C
- * c-file-style: "BSD"
- * c-basic-offset: 4
- * indent-tabs-mode: nil
- * End:
- */
#include <xen/mm.h>
#include <xen/guest_access.h>
#include <public/sysctl.h>
-#include <asm/perfc.h>
#define PERFCOUNTER( var, name ) { name, TYPE_SINGLE, 0 },
#define PERFCOUNTER_ARRAY( var, name, size ) { name, TYPE_ARRAY, size },
break;
}
}
-
- arch_perfc_reset();
}
static struct xen_sysctl_perfc_desc perfc_d[NR_PERFCTRS];
if ( perfc_vals == NULL )
return -ENOMEM;
- /* Architecture may fill counters from hardware. */
- arch_perfc_gather();
-
/* We gather the counts together every time. */
for ( i = j = v = 0; i < NR_PERFCTRS; i++ )
{