Skip to contentSkip to conversation

scripts/kallsyms: update usage message of the kallsyms program

PATCH New Yuntao Wang 1 participant 1 message May 22, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/kallsyms: update usage message of the kallsyms program

The kallsyms program supports --absolute-percpu option but does not display it in the usage message, fix it.

---
 scripts/kallsyms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kallsyms.c +1 -1
index 8caabddf817c..a2f4b8d7580f 100644
@@ -70,7 +70,7 @@ static unsigned char best_table_len[256];
 
 static void usage(void)
 {
-	fprintf(stderr, "Usage: kallsyms [--all-symbols] "
+	fprintf(stderr, "Usage: kallsyms [--all-symbols] [--absolute-percpu] "
 			"[--base-relative] < in.map > out.S\n");
 	exit(1);
 }
Signature · 1 line
2.36.1