Android: Import VFS namespace for android common kernel
authorLei wang <quic_leiwan@quicinc.com>
Mon, 18 Dec 2023 10:16:33 +0000 (05:16 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 18 Dec 2023 16:30:15 +0000 (11:30 -0500)
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 <quic_leiwan@quicinc.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/wrapper/kallsyms.c

index 97897c425469ea5411a0feded86a0ad03f9b8942..9398c83f6d143e5a6b407bf3a2123e87d7ee3011 100644 (file)
@@ -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
This page took 0.026864 seconds and 4 git commands to generate.