From 8b10dd899fe650863144233e31190516a932162b Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Sun, 30 Jan 2022 15:16:51 +0100 Subject: [PATCH] A_IRQ: Check if CPU "all" should be displayed Don't forget CPU "all" when checking which CPU have been selected and should be displayed. Signed-off-by: Sebastien GODARD --- sa_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sa_common.c b/sa_common.c index b9ba8c6..9b2d0c1 100644 --- a/sa_common.c +++ b/sa_common.c @@ -3293,7 +3293,7 @@ void get_global_int_statistics(struct activity *a, int prev, int curr, int i; struct stats_irq *stc_cpu_sum, *stp_cpu_sum; - for (i = 1; (i < a->nr_ini) && (i < a->bitmap->b_size + 1); i++) { + for (i = 0; (i < a->nr_ini) && (i < a->bitmap->b_size + 1); i++) { /* * The size of a->buf[...] CPU structure may be different from the default -- 2.40.0