summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuma Ueda <cyan@0x00a1e9.dev>2022-11-18 22:36:31 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-07-27 08:50:50 +0200
commit5fab8c91e59cccf7661a643d1f053caa5797badd (patch)
treef9531c4de9be2e44bf6e0ee4dd6a4cde691bd2fe
parent320f980bc0bb77b7af82bdde4e6f892dd60d94ed (diff)
downloadlinux-stable-5fab8c91e59cccf7661a643d1f053caa5797badd.tar.gz
linux-stable-5fab8c91e59cccf7661a643d1f053caa5797badd.tar.bz2
linux-stable-5fab8c91e59cccf7661a643d1f053caa5797badd.zip
scripts/kallsyms.c Make the comment up-to-date with current implementation
commit adc40221bf676f3e722d135889a7b913b4162dc2 upstream. The comment in scripts/kallsyms.c describing the usage of scripts/kallsyms does not reflect the latest implementation. Fix the comment to be equivalent to what the usage() function prints. Signed-off-by: Yuma Ueda <cyan@0x00a1e9.dev> Reviewed-by: Miguel Ojeda <ojeda@kernel.org> Link: https://lore.kernel.org/r/20221118133631.4554-1-cyan@0x00a1e9.dev Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--scripts/kallsyms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c
index 6cd24ed4296d..6069e02c02c6 100644
--- a/scripts/kallsyms.c
+++ b/scripts/kallsyms.c
@@ -5,7 +5,8 @@
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*
- * Usage: nm -n vmlinux | scripts/kallsyms [--all-symbols] > symbols.S
+ * Usage: kallsyms [--all-symbols] [--absolute-percpu]
+ * [--base-relative] in.map > out.S
*
* Table compression uses all the unused char codes on the symbols and
* maps these to the most used substrings (tokens). For instance, it might