[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bc746db5ybqt7f6pga243opnh5sn4dsggwerhh63ydv4wk4pej@64effpqdxias>
Date: Tue, 2 Sep 2025 14:05:03 -0400
From: Ivan Pravdin <ipravdin.official@...il.com>
To: Tomas Glozar <tglozar@...hat.com>
Cc: rostedt@...dmis.org, corbet@....net,
linux-trace-kernel@...r.kernel.org, linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/3] rtla: fix -a overriding -t argument
On Mon, Sep 01, 2025 at 04:23:55PM +0200, Tomas Glozar wrote:
> Ășt 12. 8. 2025 v 19:22 odesĂlatel Ivan Pravdin
> <ipravdin.official@...il.com> napsal:
> >
> > When running rtla as
> >
> > `rtla <timerlat|osnoise> <top|hist> -t custom_file.txt -a 100`
> >
> > -a options override trace output filename specified by -t option.
> > Running the command above will create <timerlat|osnoise>_trace.txt file
> > instead of custom_file.txt. Fix this by making sure that -a option does
> > not override trace output filename even if it's passed after trace
> > output filename is specified.
> >
>
> Yes, this should not be overridden, it's a bug in both the old
> implementation and the new one using actions. Thank you for the fix.
>
> > Remove clear_terminal in timerlat top as it removes "Saving trace to <filename>"
> > line from the terminal and is not used in other modes.
> >
>
> This is not the correct fix for the issue. clear_terminal is needed in
> timerlat top (and osnoise top) to clear the terminal before the
> updated status is printed, the fix removes it without a replacement,
> breaking this behavior. Also, this is a different issue that appeared
> only when the actions patchset [1] was merged, and should go into a
> separate patch with a different Fixes tag.
>
> [1] https://lore.kernel.org/linux-trace-kernel/20250626123405.1496931-1-tglozar@redhat.com/T/#t
Makes sense. This problem indeed does not happend for osnoise. I will
update it in the next version of the patch.
>
> Tomas
>
Ivan Pravdin
Powered by blists - more mailing lists