From: Lei wang Date: Mon, 18 Dec 2023 10:16:33 +0000 (-0500) Subject: Android: Import VFS namespace for android common kernel X-Git-Tag: v2.12.15~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b5d594215e4932eaf2b03b982966bd03c50d026a;p=lttng-modules.git Android: Import VFS namespace for android common kernel Android GKI kernel add limitation on fs interface usage. Need to import VFS namespace explicitly to make it workable for lttng-modules. Signed-off-by: Lei wang Signed-off-by: Mathieu Desnoyers --- diff --git a/wrapper/kallsyms.c b/wrapper/kallsyms.c index e50cfe28..77cdb76c 100644 --- a/wrapper/kallsyms.c +++ b/wrapper/kallsyms.c @@ -113,3 +113,7 @@ unsigned long wrapper_kallsyms_lookup_name(const char *name) EXPORT_SYMBOL_GPL(wrapper_kallsyms_lookup_name); #endif + +#ifdef CONFIG_ANDROID +MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); +#endif