]> granicus.if.org Git - sysstat/commit
Fixed XML output displayed by sadf (hugepages statistics were
authorSebastien Godard <sysstat@orange.fr>
Sat, 28 May 2011 14:03:55 +0000 (16:03 +0200)
committerSebastien Godard <sysstat@orange.fr>
Sat, 28 May 2011 14:03:55 +0000 (16:03 +0200)
commitd6af435006ff13b6067351a31713abd37a8a47fa
tree2baaef6bfe86a3781dcfc83fa98c39c924a37058
parent627f6b2db08300d2b424b40e6f5a40688843748d
Fixed XML output displayed by sadf (hugepages statistics were
included in power management ones).

When displaying stats with sar, hugepages utilization statistics
were displayed between voltage inputs statistics and CPU clock
ones. This was not really smart but still OK.
Yet, when displaying XML output with sadf -x, hugepages statistics
were included in the <power-management> section, which is quite bad
in this case. So move hugepage structure just after memory utilization
one in activity.c:act[] array.
activity.c