When a source file is compiled, EXPORT_SYMBOL() will be converted into a dummy symbol in the .export_symbol section. For example, EXPORT_SYMBOL(foo); EXPORT_SYMBOL_NS_GPL(bar, BAR_NAMESPACE); will be encoded into the following assembly code: .section ".export_symbol","a" __export_...
("parse error in symbol dump file\n"); } static void write_dump(const char *fname) { struct buffer buf = { }; struct module *mod; struct symbol *sym; list_for_each_entry(mod, &modules, list) { if (mod->from_dump) continue; list_for_each_entry(sym, &mod->exported_...