]> granicus.if.org Git - sysstat/commitdiff
SVG: Put queue and load average metrics back in order
authorSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 8 Jan 2018 16:54:19 +0000 (17:54 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 8 Jan 2018 16:54:19 +0000 (17:54 +0100)
Commit 4a15362 changed the order of metrics in stats_queue structure.
This new order has also to be taken into account by corresdponding
rendering function in svg_stats.c.

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

index e63c4d3cec5e3c5376a06849b6beba5aa2126831..6b618fe8e8188249851f7b44d120bc4096120e8d 100644 (file)
@@ -1946,7 +1946,7 @@ __print_funct_t svg_print_queue_stats(struct activity *a, int curr, int action,
        char *g_title[] = {"~runq-sz", "~blocked",
                           "~plist-sz",
                           "ldavg-1", "ldavg-5", "ldavg-15"};
-       int g_fields[] = {0, 1, 3, 4, 5, 2};
+       int g_fields[] = {0, 1, 2, 3, 4, 5};
        static double *spmin, *spmax;
        static char **out;
        static int *outsize;