mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.1236.1.17 (421e4879kSyHWNvied24BDzGi-OmgA)
Struct rename. Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
6a329a59de
commit
69a3e16aa2
2 files changed
+3
-4
No files matched your search
+1
-1
@@ -31,7 +31,7 @@ static struct {
|
||||
|
||||
#define NR_PERFCTRS (sizeof(perfc_info) / sizeof(perfc_info[0]))
|
||||
|
||||
struct perfcounter_t perfcounters;
|
||||
struct perfcounter perfcounters;
|
||||
|
||||
void perfc_printall(unsigned char key)
|
||||
{
|
||||
|
||||
@@ -46,12 +46,11 @@
|
||||
#define PERFSTATUS_ARRAY( var, name, size ) \
|
||||
atomic_t var[size];
|
||||
|
||||
struct perfcounter_t
|
||||
{
|
||||
struct perfcounter {
|
||||
#include <xen/perfc_defn.h>
|
||||
};
|
||||
|
||||
extern struct perfcounter_t perfcounters;
|
||||
extern struct perfcounter perfcounters;
|
||||
|
||||
#define perfc_value(x) atomic_read(&perfcounters.x[0])
|
||||
#define perfc_valuec(x) atomic_read(&perfcounters.x[smp_processor_id()])
|
||||
|
||||