X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=include%2Finstrumentation%2Fsyscalls%2Fheaders%2Farm-32-syscalls_pointers_override.h;h=96fb731f7212a5e025a059f498e3f6d94315f7cd;hb=d1fea60895526d461646b2918eb53bed2f40b6eb;hp=68ba1c4edecb835f67219a6af3e740baf2e0df42;hpb=45bf1e528eb80b3e0e481d6683bb5ce51155710e;p=lttng-modules.git diff --git a/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h b/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h index 68ba1c4e..96fb731f 100644 --- a/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h +++ b/include/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h @@ -13,6 +13,24 @@ #ifndef CREATE_SYSCALL_TABLE +#ifdef CONFIG_ARM64 +#ifdef CONFIG_COMPAT_OLD_SIGACTION +/* + * From the point of view of the 64-bit ABI, old_sigaction + * becomes compat_old_sigaction. + */ +#define old_sigaction compat_old_sigaction +#else /* CONFIG_COMPAT_OLD_SIGACTION */ +/* + * The target 64-bit kernel does not enable the support for + * the 32-bit compat version of OLD_SIGACTION. Defining + * OVERRIDE_32_sigaction ensures we don't build a tracepoint + * for this syscall. + */ +#define OVERRIDE_32_sigaction +#endif /* CONFIG_COMPAT_OLD_SIGACTION */ +#endif + #define OVERRIDE_32_pipe SC_LTTNG_TRACEPOINT_EVENT(pipe, TP_PROTO(sc_exit(long ret,) int * fildes),