Luca Ceresoli 7e10835989 scripts/decode_stacktrace.sh: add '-h' flag
When no parameters are passed, the usage instructions are presented only
when debuginfod-find is not found.  This makes sense because with
debuginfod none of the positional parameters are needed.  However it means
that users having debuginfod-find installed will have no chance of reading
the usage text without opening the file.

Many programs have a '-h' flag to get the usage, so add such a flag. 
Invoking 'scripts/decode_stacktrace.sh -h' will now show the usage text
and exit.

Link: https://lkml.kernel.org/r/20240823-decode_stacktrace-find_module-improvements-v2-3-d7a57d35558b@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Cc: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Sasha Levin <sashal@kernel.org>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-09-01 20:43:41 -07:00
..
2024-07-17 18:07:31 -07:00
2024-07-23 14:32:21 -07:00
2024-08-23 10:21:02 +01:00
2024-08-23 07:43:15 +08:00
2023-07-01 09:24:31 -07:00
2022-10-03 14:03:19 -07:00
2024-09-01 20:43:24 -07:00
2024-05-18 12:39:20 -07:00
2023-12-03 18:51:48 +09:00
2020-12-08 23:30:04 +09:00
2024-01-04 17:01:15 +01:00
2021-05-03 17:23:06 -06:00