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>
1 file changed
tree: 21fa822164ad9d6918a2fb83fa7bd6166fc67921
  1. libkmod/
  2. m4/
  3. man/
  4. shared/
  5. shell-completion/
  6. testsuite/
  7. tools/
  8. .gitignore
  9. .travis.yml
  10. bootstrap
  11. bootstrap-configure
  12. CODING-STYLE
  13. configure.ac
  14. COPYING
  15. Makefile.am
  16. NEWS
  17. README
  18. README.md
  19. TODO
README.md

kmod - Linux kernel module handling

Build Status
Coverity Scan Status

This is a mirror only. Please see README file for more information.