]> git.baikalelectronics.ru Git - kernel.git/commit
/proc/module: use the same logic as /proc/kallsyms for address exposure
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Nov 2017 02:44:23 +0000 (18:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Nov 2017 03:01:23 +0000 (19:01 -0800)
commit2867846bbcd1b0856968b43758ebc6f52f1ff1e2
tree9ce9a22e13c85739215c9ceed067a15cd3210cb5
parent30e5835f6677cf91038d1b055826f5a02ab2bae8
/proc/module: use the same logic as /proc/kallsyms for address exposure

The (alleged) users of the module addresses are the same: kernel
profiling.

So just expose the same helper and format macros, and unify the logic.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kallsyms.h
kernel/kallsyms.c
kernel/module.c