tools/rtla: Exit with EXIT_SUCCESS when help is invoked
authorJohn Kacur <jkacur@redhat.com>
Sat, 3 Feb 2024 00:16:07 +0000 (19:16 -0500)
committerDaniel Bristot de Oliveira <bristot@kernel.org>
Mon, 12 Feb 2024 09:59:09 +0000 (10:59 +0100)
commitb5f319360371087d52070d8f3fc7789e80ce69a6
tree8b690c0cef849975dc2807a5aab472fd33b14c07
parent14f08c976ffe0d2117c6199c32663df1cbc45c65
tools/rtla: Exit with EXIT_SUCCESS when help is invoked

Fix rtla so that the following commands exit with 0 when help is invoked

rtla osnoise top -h
rtla osnoise hist -h
rtla timerlat top -h
rtla timerlat hist -h

Link: https://lore.kernel.org/linux-trace-devel/20240203001607.69703-1-jkacur@redhat.com
Cc: stable@vger.kernel.org
Fixes: 1eeb6328e8b3 ("rtla/timerlat: Add timerlat hist mode")
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
tools/tracing/rtla/src/osnoise_hist.c
tools/tracing/rtla/src/osnoise_top.c
tools/tracing/rtla/src/timerlat_hist.c
tools/tracing/rtla/src/timerlat_top.c