]> git.ipfire.org Git - thirdparty/kmod.git/commit
modprobe: add --show-exports
authorYauheni Kaliuta <yauheni.kaliuta@redhat.com>
Tue, 13 Nov 2018 09:00:29 +0000 (11:00 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 13 Nov 2018 17:50:49 +0000 (09:50 -0800)
commit3ada8df85c0d493bd8ff13d11eff33f9e4c37676
tree21fa822164ad9d6918a2fb83fa7bd6166fc67921
parent8353284d83b4c0fd0389601fbfba5cd2863a661d
modprobe: add --show-exports

modprobe has --show-modversions switch, which dumps symbols with
their modversion crcs from the __versions sections.

At the moment the section contains information for the dependency
symbols only, while exported symbols add to symtab entries with
__crc_ prefix (the format may differ, see 1e48901166ef libkmod-elf:
resolve CRC if module is built with MODULE_REL_CRCS).

The patch makes it to show exported symbols as well.

The function is basically cut'n'paste of show_modversions(),
but 'version' family replaced with 'symbol' one.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
tools/modprobe.c