]> git.baikalelectronics.ru Git - kernel.git/commit
kallsyms: take the input file instead of reading stdin
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 26 Sep 2022 09:02:28 +0000 (18:02 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 2 Oct 2022 09:06:05 +0000 (18:06 +0900)
commit9101e7bef3fe17ad6088737fa9a742b0d339c10a
treed323f63f1e92fb8c7597538a0caa51c62d92e81b
parent485f2080ab99ee0fdb46d71e10ee1002ded74ca0
kallsyms: take the input file instead of reading stdin

This gets rid of the pipe operator connected with 'cat'.

Also use getopt_long() to parse the command line.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kallsyms.c
scripts/link-vmlinux.sh