Skip to contentSkip to conversation

mdb: export kernel_text_address

PATCH In review [email protected] 1 participant 1 message Aug 14, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 22/29 mdb: export kernel_text_address

export the kernel_text_address() to allow symbol searching and matches of symbolic names contained the the kernel symbol table.

kernel/extable.c +3 -0
@@ -59,6 +59,9 @@
 		return 1;
 	return __module_text_address(addr) != NULL;
 }
+#if defined(CONFIG_MDB_MODULE)
+EXPORT_SYMBOL_GPL(__kernel_text_address);
+#endif
 
 int kernel_text_address(unsigned long addr)
 {