]> Gentwo Git Trees - linux/.git/commit
tools/rtla: Replace timerlat_hist_usage("...") with fatal("...")
authorCosta Shulyupin <costa.shul@redhat.com>
Sat, 11 Oct 2025 08:27:36 +0000 (11:27 +0300)
committerTomas Glozar <tglozar@redhat.com>
Fri, 21 Nov 2025 09:30:27 +0000 (10:30 +0100)
commit8f4264e046ef75d35cfffeb7aadfc5d84717df3e
tree0bfa84b881596939d66cf754567e44e72f131119
parent4e5e7210f9721796a21a4b2d646fa043a7d88fef
tools/rtla: Replace timerlat_hist_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_hist_usage("...\n") with fatal("...") on errors.

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