]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:25:15 +0000 (09:25 +0100)
commit7c3611ca86f1b8b968c099b36489037cc766e4dd
tree44d0666ee8fe10502c4aa928aeb0efcbdca5d4aa
parent8a585914c266dc044f53b5c83c170f79b45fcf9a
tools/rtla: Exit with EXIT_SUCCESS when help is invoked

commit b5f319360371087d52070d8f3fc7789e80ce69a6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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