[OpenWrt-Devel] [PATCH] Allow kernel modules to keep build ID debug symbol.

Toke Høiland-Jørgensen toke at toke.dk
Fri Oct 30 08:54:19 EDT 2015

Felix Fietkau <nbd at openwrt.org> writes:

> How is this more useful than simply checking a hash of the kernel
> module in /lib/modules and comparing that with the corresponding file
> on the host?

Because the value in /sys/module/ is from the *loaded* module. So it
catches the case where the module file is updated but not reloaded (was
bitten by this a couple of times).

Also, you can put the module source git hash as the build id, so it can
be referred back to the source, rather than the compiled file.

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list