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>
Wed, 10 Jan 2024 20:15:11 +0000 (15:15 -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>
wrapper/kallsyms.c

index e50cfe280eb025327d3df53e403583cc7724c921..77cdb76c3f150e4da4d02f27aff7819bc7bc3e92 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.025672 seconds and 4 git commands to generate.