Thread (9 messages) 9 messages, 3 authors, 2025-09-29

Re: [PATCH v3 3/3] rtla: fix -a overriding -t argument

From: Tomas Glozar <tglozar@redhat.com>
Date: 2025-09-11 11:32:23
Also in: lkml

po 8. 9. 2025 v 4:06 odesílatel Ivan Pravdin
[off-list ref] 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.

Fixes: 173a3b014827 ("rtla/timerlat: Add the automatic trace option")
Signed-off-by: Ivan Pravdin <redacted>
This part is good, the only problematic bit was the clear_terminal stuff.

Reviewed-by: Tomas Glozar <tglozar@redhat.com>

Tomas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help