]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/rtla: Replace osnoise_top_usage("...") with fatal("...")
authorCosta Shulyupin <costa.shul@redhat.com>
Sat, 11 Oct 2025 08:27:37 +0000 (11:27 +0300)
committerTomas Glozar <tglozar@redhat.com>
Fri, 21 Nov 2025 09:30:27 +0000 (10:30 +0100)
commit92b5b55e5e8eeed9094dc68cdbb1afe31dd0ff37
treedc5106885a9cfd930c8e9dbc039a4a7cc971d182
parent8f4264e046ef75d35cfffeb7aadfc5d84717df3e
tools/rtla: Replace osnoise_top_usage("...") with fatal("...")

A long time ago, when the usage help was short, it was a favor
to the user to show it on error. Now that the usage help has
become very long, it is too noisy to dump the complete help text
for each typo after the error message itself.

Replace osnoise_top_usage("...") with fatal("...") on errors.

Remove the already unused 'usage' argument from osnoise_top_usage().

Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Reviewed-by: Tomas Glozar <tglozar@redhat.com>
Link: https://lore.kernel.org/r/20251011082738.173670-5-costa.shul@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
tools/tracing/rtla/src/osnoise_top.c