diff options
| author | Cheng-Yang Chou <yphbchou0911@gmail.com> | 2026-02-22 16:08:26 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-02-23 20:45:34 +0300 |
| commit | cbb297323dbed4f6087b5f189585413801d1d45b (patch) | |
| tree | a81d9939f071f673312fb429c2173d286cd50de2 /tools | |
| parent | 0c36a6f6f0eb071379b7995ef571c18c1235adf2 (diff) | |
| download | linux-cbb297323dbed4f6087b5f189585413801d1d45b.tar.xz | |
tools/sched_ext: scx_sdt: Remove unused '-f' option
The '-f' option is defined in getopt() but not handled in the switch
statement or documented in the help text. Providing '-f' currently
triggers the default error path.
Remove it to sync the optstring with the actual implementation.
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/sched_ext/scx_sdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sched_ext/scx_sdt.c b/tools/sched_ext/scx_sdt.c index d8ca9aa316a5..a36405d8df30 100644 --- a/tools/sched_ext/scx_sdt.c +++ b/tools/sched_ext/scx_sdt.c @@ -54,7 +54,7 @@ restart: optind = 1; skel = SCX_OPS_OPEN(sdt_ops, scx_sdt); - while ((opt = getopt(argc, argv, "fvh")) != -1) { + while ((opt = getopt(argc, argv, "vh")) != -1) { switch (opt) { case 'v': verbose = true; |
