From: Steven Rostedt <rostedt@goodmis.org>
To: Tomas Glozar <tglozar@redhat.com>
Cc: Costa Shulyupin <costa.shul@redhat.com>,
Crystal Wood <crwood@redhat.com>, John Kacur <jkacur@redhat.com>,
linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] tools/rtla: Fix unassigned nr_cpus
Date: Thu, 30 Oct 2025 06:00:16 -0400 [thread overview]
Message-ID: <20251030060016.0d58fe5d@gandalf.local.home> (raw)
In-Reply-To: <CAP4=nvTZP+=_hALnW2VB35KWwu5TNJ9m4FS8pLfk3hxFLTTtGg@mail.gmail.com>
On Thu, 30 Oct 2025 10:10:36 +0100
Tomas Glozar <tglozar@redhat.com> wrote:
> Hi Steven,
>
> čt 2. 10. 2025 v 19:09 odesílatel Costa Shulyupin
> <costa.shul@redhat.com> napsal:
> >
> > In recently introduced timerlat_free(),
> > the variable 'nr_cpus' is not assigned.
> >
> > Assign it with sysconf(_SC_NPROCESSORS_CONF) as done elsewhere.
> > Remove the culprit: -Wno-maybe-uninitialized. The rest of the
> > code is clean.
> >
> > Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
> > ---
> > tools/tracing/rtla/Makefile.rtla | 2 +-
> > tools/tracing/rtla/src/timerlat.c | 3 ++-
> > 2 files changed, 3 insertions(+), 2 deletions(-)
> >
>
> This is another fix of a bug introduced in the 6.18-v1 RTLA code
> consolidation [1], this time affecting the resetting of idle states
> set through --deepest-idle-state. Could you please also add it to your
> RTLA fix queue?
>
> Also, this should have:
>
> Fixes: 2f3172f9dd58 ("tools/rtla: Consolidate code between
> osnoise/timerlat and hist/top")
>
> [1] https://lore.kernel.org/linux-trace-kernel/20250907022325.243930-1-crwood@redhat.com/T/
>
Thanks,
I'll take a look at this today. We need to start making you a maintainer
for this, so that you only need to send me pull requests.
Do you have a kernel.org account? If not, do you have PGP signatures from
other kernel.org developers to your key?
-- Steve
prev parent reply other threads:[~2025-10-30 9:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-02 17:08 Costa Shulyupin
2025-10-29 13:58 ` Tomas Glozar
2025-10-30 9:10 ` Tomas Glozar
2025-10-30 10:00 ` Steven Rostedt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251030060016.0d58fe5d@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=costa.shul@redhat.com \
--cc=crwood@redhat.com \
--cc=jkacur@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=tglozar@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®