[lttng-dev] [PATCH lttng-modules] Android: Import VFS namespace for android common kernel
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Mon Dec 18 11:31:07 EST 2023
On 2023-12-18 05:16, Lei wang via lttng-dev wrote:
> Android GKI kernel add limitation on fs interface usage.
> Need to import VFS namespace explicitly to make it workable
> for lttng-modules.
>
Merged into lttng-modules master and 2.13 branches, thanks!
Mathieu
> Signed-off-by: Lei wang <quic_leiwan at quicinc.com>
> ---
> src/wrapper/kallsyms.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/wrapper/kallsyms.c b/src/wrapper/kallsyms.c
> index 97897c4..9398c83 100644
> --- a/src/wrapper/kallsyms.c
> +++ b/src/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
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com
More information about the lttng-dev
mailing list