Scroll to navigation

KSYMVERS(1) General Commands Manual KSYMVERS(1)

NAME

ksymvers - a tool to work with Linux-kernel symvers files

SYNOPSIS

ksymvers [GENERAL-OPTION...] { compare } [COMMAND-OPTION...] ...

DESCRIPTION

ksymvers is a tool that provides functionality to work with symvers files. These files summarize the exported symbols of the kernel and its modules. The data is produced by the modpost utility from the kernel tree.

The tool primarily operates with a final symvers file, typically called Module.symvers, as it is produced during a single build of the Linux kernel.

The provided functionality is divided into integrated commands. The only currently available command is compare, which shows the differences between two symvers files.

GENERAL OPTIONS

Enable debug output.
Display global help information and exit.
Output version information and exit.

COMPARE COMMAND

ksymvers compare [COMPARE-OPTION...] FILE FILE2

The compare command shows the differences between two symvers files. In a typical use case, the first input will point to a reference symvers file and the second input will point to a symvers file from a new build of the Linux kernel.

Available options:

Display help information for the command and exit.
Load kABI severity rules from FILE.
Change the output format to TYPE, or write the TYPE-formatted output to FILE.
The TYPE can be one of the following:
null – produces no output,
pretty – produces human-readable output,
symbols – shows only the names of symbols that have changed.

SEE ALSO

ksymtypes(1), suse-kabi-tools(5)