From nobody Wed Nov 27 09:46:26 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFDCE1C5782 for ; Fri, 11 Oct 2024 17:30:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728667818; cv=none; b=sjBw50T1RTI9VT70TbaLu/hMGAjfxW54jEPJlgindoZKJ7yxI26NEFdtek4Q7N3EwsnNJjYTPuSgqa6cmJQW9htine7x3Y8F2aGzDrZOoYpwQ8XnWN11xW8f7qqpeIGhwSQgNz9RG3haG6f56zZea7L073PLZe23N0orVEyqvN8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728667818; c=relaxed/simple; bh=LeUqvpIi3xVVykZZ2tXrQflVdKy0iM9aX71D1yOFHZ0=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=qEmGWIhv2yt8KAfbEFmEylFKv9LOXU6qaQ2pJHb9Aw0GPNfYpSEAwFxWzLTCTdXeF6NQe0nMeeDku5tFF4L8bXhl1rWJnFqxMAukdAbkneNs5ZrNfT3sWfG6UIn7QZ9iJBrMpo13ZD5DR16omnKi+WE8uootifASlPoQIGj6NUw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7361C4CEDF; Fri, 11 Oct 2024 17:30:18 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.98) (envelope-from ) id 1szJTB-00000001U2I-1KOo; Fri, 11 Oct 2024 13:30:29 -0400 Message-ID: <20241011173029.181826265@goodmis.org> User-Agent: quilt/0.68 Date: Fri, 11 Oct 2024 13:30:19 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Tomas Glozar , John Kacur , Attila Fazekas Subject: [for-next][PATCH 9/9] rtla/timerlat: Make timerlat_hist_cpu->*_count unsigned long long References: <20241011173010.441043942@goodmis.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Tomas Glozar Do the same fix as in previous commit also for timerlat-hist. Link: https://lore.kernel.org/20241011121015.2868751-2-tglozar@redhat.com Reported-by: Attila Fazekas Signed-off-by: Tomas Glozar Signed-off-by: Steven Rostedt (Google) --- tools/tracing/rtla/src/timerlat_hist.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/tracing/rtla/src/timerlat_hist.c b/tools/tracing/rtla/sr= c/timerlat_hist.c index 1f9137c592f4..d49c8f0855fe 100644 --- a/tools/tracing/rtla/src/timerlat_hist.c +++ b/tools/tracing/rtla/src/timerlat_hist.c @@ -62,9 +62,9 @@ struct timerlat_hist_cpu { int *thread; int *user; =20 - int irq_count; - int thread_count; - int user_count; + unsigned long long irq_count; + unsigned long long thread_count; + unsigned long long user_count; =20 unsigned long long min_irq; unsigned long long sum_irq; @@ -304,15 +304,15 @@ timerlat_print_summary(struct timerlat_hist_params *p= arams, continue; =20 if (!params->no_irq) - trace_seq_printf(trace->seq, "%9d ", + trace_seq_printf(trace->seq, "%9llu ", data->hist[cpu].irq_count); =20 if (!params->no_thread) - trace_seq_printf(trace->seq, "%9d ", + trace_seq_printf(trace->seq, "%9llu ", data->hist[cpu].thread_count); =20 if (params->user_hist) - trace_seq_printf(trace->seq, "%9d ", + trace_seq_printf(trace->seq, "%9llu ", data->hist[cpu].user_count); } trace_seq_printf(trace->seq, "\n"); @@ -488,15 +488,15 @@ timerlat_print_stats_all(struct timerlat_hist_params = *params, trace_seq_printf(trace->seq, "count:"); =20 if (!params->no_irq) - trace_seq_printf(trace->seq, "%9d ", + trace_seq_printf(trace->seq, "%9llu ", sum.irq_count); =20 if (!params->no_thread) - trace_seq_printf(trace->seq, "%9d ", + trace_seq_printf(trace->seq, "%9llu ", sum.thread_count); =20 if (params->user_hist) - trace_seq_printf(trace->seq, "%9d ", + trace_seq_printf(trace->seq, "%9llu ", sum.user_count); =20 trace_seq_printf(trace->seq, "\n"); --=20 2.45.2