mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 08:35:22 +00:00
nodeinfo: Formatting changes
This commit is contained in:
parent
75f6f54546
commit
aa6c3fee86
@ -552,7 +552,8 @@ virNodeParseNode(const char *sysfs_prefix,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int linuxNodeInfoCPUPopulate(const char *sysfs_prefix,
|
int
|
||||||
|
linuxNodeInfoCPUPopulate(const char *sysfs_prefix,
|
||||||
FILE *cpuinfo,
|
FILE *cpuinfo,
|
||||||
virArch arch,
|
virArch arch,
|
||||||
virNodeInfoPtr nodeinfo)
|
virNodeInfoPtr nodeinfo)
|
||||||
@ -1046,7 +1047,8 @@ virNodeGetSiblingsList(const char *dir, int cpu_id)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int nodeGetInfo(const char *sysfs_prefix ATTRIBUTE_UNUSED,
|
int
|
||||||
|
nodeGetInfo(const char *sysfs_prefix ATTRIBUTE_UNUSED,
|
||||||
virNodeInfoPtr nodeinfo)
|
virNodeInfoPtr nodeinfo)
|
||||||
{
|
{
|
||||||
virArch hostarch = virArchFromHost();
|
virArch hostarch = virArchFromHost();
|
||||||
@ -1123,7 +1125,8 @@ int nodeGetInfo(const char *sysfs_prefix ATTRIBUTE_UNUSED,
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int nodeGetCPUStats(int cpuNum ATTRIBUTE_UNUSED,
|
int
|
||||||
|
nodeGetCPUStats(int cpuNum ATTRIBUTE_UNUSED,
|
||||||
virNodeCPUStatsPtr params ATTRIBUTE_UNUSED,
|
virNodeCPUStatsPtr params ATTRIBUTE_UNUSED,
|
||||||
int *nparams ATTRIBUTE_UNUSED,
|
int *nparams ATTRIBUTE_UNUSED,
|
||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
@ -1153,7 +1156,8 @@ int nodeGetCPUStats(int cpuNum ATTRIBUTE_UNUSED,
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int nodeGetMemoryStats(const char *sysfs_prefix ATTRIBUTE_UNUSED,
|
int
|
||||||
|
nodeGetMemoryStats(const char *sysfs_prefix ATTRIBUTE_UNUSED,
|
||||||
int cellNum ATTRIBUTE_UNUSED,
|
int cellNum ATTRIBUTE_UNUSED,
|
||||||
virNodeMemoryStatsPtr params ATTRIBUTE_UNUSED,
|
virNodeMemoryStatsPtr params ATTRIBUTE_UNUSED,
|
||||||
int *nparams ATTRIBUTE_UNUSED,
|
int *nparams ATTRIBUTE_UNUSED,
|
||||||
|
Loading…
Reference in New Issue
Block a user