Blame SOURCES/0001-sar-Add-missing-gnice-CPU-value-for-tickless-CPU.patch

64179f
From c542c259ba9e71a5ade235dfbcde67ac8b510c4f Mon Sep 17 00:00:00 2001
64179f
From: Sebastien GODARD <sysstat@users.noreply.github.com>
64179f
Date: Fri, 19 Apr 2019 15:20:45 +0200
64179f
Subject: [PATCH] sar: Add missing %gnice CPU value for tickless CPU
64179f
64179f
A field (which should be displayed as 0.00) was missing in CPU
64179f
statistics displayed by "sar -u ALL" for tickless CPUs.
64179f
64179f
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
64179f
---
64179f
 pr_stats.c | 4 ++--
64179f
 1 file changed, 2 insertions(+), 2 deletions(-)
64179f
64179f
diff --git a/pr_stats.c b/pr_stats.c
64179f
index 4fbd5d1..319630d 100644
64179f
--- a/pr_stats.c
64179f
+++ b/pr_stats.c
64179f
@@ -218,8 +218,8 @@ __print_funct_t print_cpu_stats(struct activity *a, int prev, int curr,
64179f
 				 * %irq, %soft, %guest, %gnice.
64179f
 				 */
64179f
 				else if (DISPLAY_CPU_ALL(a->opt_flags)) {
64179f
-					cprintf_pc(DISPLAY_UNIT(flags), 4, 9, 2,
64179f
-						   0.0, 0.0, 0.0, 100.0);
64179f
+					cprintf_pc(DISPLAY_UNIT(flags), 5, 9, 2,
64179f
+						   0.0, 0.0, 0.0, 0.0, 100.0);
64179f
 					printf("\n");
64179f
 				}
64179f
 				continue;
64179f
-- 
64179f
2.30.1 (Apple Git-130)
64179f