Ksplice: Add functions for walking kallsyms symbols
authorAnders Kaseorg <andersk@mit.edu>
Sat, 6 Dec 2008 00:03:58 +0000 (19:03 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 31 Mar 2009 02:35:32 +0000 (13:05 +1030)
commit75a66614db21007bcc8c37f9c5d5b922981387b9
treed02c905a3aee02ec25ce38700f47d0fa57d2cbf7
parenta6e6abd575fcbe6572ebc7a70ad616406d206fa8
Ksplice: Add functions for walking kallsyms symbols

Impact: New API

kallsyms_lookup_name only returns the first match that it finds.  Ksplice
needs information about all symbols with a given name in order to correctly
resolve local symbols.

kallsyms_on_each_symbol provides a generic mechanism for iterating over the
kallsyms table.

Cc: Jeff Arnold <jbarnold@mit.edu>
Cc: Tim Abbott <tabbott@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/kallsyms.h
include/linux/module.h
kernel/kallsyms.c
kernel/module.c