]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/rtla: Replace timerlat_top_usage("...") with fatal("...")
authorCosta Shulyupin <costa.shul@redhat.com>
Sat, 11 Oct 2025 08:27:35 +0000 (11:27 +0300)
committerTomas Glozar <tglozar@redhat.com>
Fri, 21 Nov 2025 09:30:27 +0000 (10:30 +0100)
commit4e5e7210f9721796a21a4b2d646fa043a7d88fef
treef4a7fb867e763529ece0298ccd67da495560e68a
parent8cbb25db81544f0bfc05c037ad61d3e70d031f88
tools/rtla: Replace timerlat_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 timerlat_top_usage("...\n") with fatal("...") on errors.

Remove the already unused 'usage' argument from timerlat_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-3-costa.shul@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
tools/tracing/rtla/src/timerlat_top.c