]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tracing/tools: Fix incorrcet short option in usage text for --threads
authorZhang Chujun <zhangchujun@cmss.chinamobile.com>
Thu, 6 Nov 2025 03:10:40 +0000 (11:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Dec 2025 10:43:38 +0000 (11:43 +0100)
commit2e628227bc25eac7fa6f0d2428fa2c79ade20695
tree15cf3d819d3b2a79d110c235e4c1500e7fd1f467
parentfbb53727ca789a8d27052aab4b77ca9e2a0fae2b
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>
tools/tracing/latency/latency-collector.c