KSYMVERS(1)
π NAME π
okay so welcome to the KSYMVERS(1) manual page, bestie β it's from the General Commands Manual, and the name is doing exactly what it says on the tin:
ksymvers β a tool to work with Linux-kernel symvers files
β¨ SYNOPSIS β¨
ksymvers [GENERAL-OPTION]... { compare } [COMMAND-OPTION]... ...
π¦ DESCRIPTION π¦
okay so 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. No cap β that's the whole point.
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 π
-d,--debugβ Enable debug output. (Yes, debug tea is served.)-h,--helpβ Display global help information and exit.--versionβ 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. Reference first, new build second β that's the assignment.
Available options π
-h,--helpβ Display help information for the command and exit.--filter-symbol-list=FILEβ Consider only symbols that match the patterns in FILE. Filtering is self-care.-r FILE,--rules=FILEβ Load kABI severity rules from FILE.-f TYPE[:FILE],--format=TYPE[: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 in detailed form,shortβ produces human-readable output in compact form,symbolsβ shows only the names of exported symbols that have been added, removed, or modified,mod-symbolsβ shows only the names of exported symbols that have been modified; any additions or removals are omitted.
π EXIT STATUS π
okay so the exit status is 0 on success and 2 if an error occurs. The compare command returns 0 if there are no differences and 1 if there are any (non-tolerated) changes. That's the whole vibe β no differences, no drama.
π SEE ALSO π
that's the whole page, bestie π«Ά β KSYMVERS(1), from the General Commands Manual. The footer as given doesn't show a separate version number or date, so I'm not inventing one; no cap, just the manual name. π β¨
π¦ where this page comes from
- opensuse-leap 16.0: suse-kabi-tools 1.1.0+git0.3857c3a-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: suse-kabi-tools 1.1.0+git0.3857c3a-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: suse-kabi-tools 1.1.0+git0.3857c3a-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: suse-kabi-tools 1.1.0+git0.3857c3a-160000.1.1 Β· GPL-2.0-or-later
- π the page's license: GPL-2.0-or-later
- Copyright (C) 2024 SUSE LLC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms