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
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