Find when a symbol was added to or removed from the Linux kernel

58 Views Asked by At

When writing an out-of-tree Linux kernel module, it's hard to keep up with changes to the kernel. Sometimes a symbol or function is deprecated or removed.

I use ifdeffery to check the kernel version being compiled, and #define alternative function accordingly.

To find the correct versions to test against, I use Elixir to search for the symbol, and manually click on different kernel versions to see at which point the symbol was added to or removed from the kernel.

Is there a way to automate this - i.e. search all kernel versions and return the earliest and latest containing a given symbol? (It would be amazing if Elixir would highlight the kernel versions containing the search-for symbol, in the left side panel).

I've found two sources for a Linux kernel ABI tracker, but they both seem defunct:

0

There are 0 best solutions below