]> granicus.if.org Git - sysstat/commitdiff
sadf: XML: Remove "per" attribute for memory activity
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 19 Apr 2020 06:45:19 +0000 (08:45 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 19 Apr 2020 06:45:19 +0000 (08:45 +0200)
All memory statistics are not "per second" values.
So remove this attribute from the XML output.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
xml_stats.c

index 9b81d3971fa2183652d18ce8e9417e7fa20e38db..2f6f74dfa75ce9cc875b2ab8a2916b8449f17197 100644 (file)
@@ -489,7 +489,7 @@ __print_funct_t xml_print_memory_stats(struct activity *a, int curr, int tab,
                *smc = (struct stats_memory *) a->buf[curr];
        unsigned long long nousedmem;
 
-       xprintf(tab, "<memory per=\"second\" unit=\"kB\">");
+       xprintf(tab, "<memory unit=\"kB\">");
 
        if (DISPLAY_MEMORY(a->opt_flags)) {