]> Gentwo Git Trees - linux/.git/commit
tools/rtla: Replace osnoise_hist_usage("...") with fatal("...")
authorCosta Shulyupin <costa.shul@redhat.com>
Sat, 11 Oct 2025 08:27:38 +0000 (11:27 +0300)
committerTomas Glozar <tglozar@redhat.com>
Fri, 21 Nov 2025 09:30:27 +0000 (10:30 +0100)
commit49c15794198ff03a4fa844f894f7e5d4bdbffcfc
tree943398653cedd238aec03211d9eeb27ed379220e
parent92b5b55e5e8eeed9094dc68cdbb1afe31dd0ff37
tools/rtla: Replace osnoise_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 osnoise_hist_usage("...") with fatal("...") on errors.

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