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)
commitaa221f2ea58655f5360e7b0c6fe5482f7c41855e
treed323f63f1e92fb8c7597538a0caa51c62d92e81b
parenta2833d1b07ab107db71a18e6f3855f6908886361
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