Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Cheng-Yang Chou and committed by
Tejun Heo
cbb29732 0c36a6f6

+1 -1
+1 -1
tools/sched_ext/scx_sdt.c
··· 54 54 optind = 1; 55 55 skel = SCX_OPS_OPEN(sdt_ops, scx_sdt); 56 56 57 - while ((opt = getopt(argc, argv, "fvh")) != -1) { 57 + while ((opt = getopt(argc, argv, "vh")) != -1) { 58 58 switch (opt) { 59 59 case 'v': 60 60 verbose = true;