mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
tracing/tools: Fix incorrcet short option in usage text for --threads
[ Upstream commit 53afec2c8fb2a562222948cb1c2aac48598578c9 ] The help message incorrectly listed '-t' as the short option for --threads, but the actual getopt_long configuration uses '-e'. This mismatch can confuse users and lead to incorrect command-line usage. This patch updates the usage string to correctly show: "-e, --threads NRTHR" to match the implementation. Note: checkpatch.pl reports a false-positive spelling warning on 'Run', which is intentional. Link: https://patch.msgid.link/20251106031040.1869-1-zhangchujun@cmss.chinamobile.com Signed-off-by: Zhang Chujun <zhangchujun@cmss.chinamobile.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
952637c5b9
commit
6917e894f8
@@ -1725,7 +1725,7 @@ static void show_usage(void)
|
||||
"-n, --notrace\t\tIf latency is detected, do not print out the content of\n"
|
||||
"\t\t\tthe trace file to standard output\n\n"
|
||||
|
||||
"-t, --threads NRTHR\tRun NRTHR threads for printing. Default is %d.\n\n"
|
||||
"-e, --threads NRTHR\tRun NRTHR threads for printing. Default is %d.\n\n"
|
||||
|
||||
"-r, --random\t\tArbitrarily sleep a certain amount of time, default\n"
|
||||
"\t\t\t%ld ms, before reading the trace file. The\n"
|
||||
|
||||
Reference in New Issue
Block a user