lttng-modules
lttng-modules copied to clipboard
Update headers for x86_64 architecture, kernel 5.12.1
trafficstars
Generate the headers for x86_64 architecture, kernel 5.12.1. In particular, this adds the membarrier syscall.
Signed-off-by: qfournier [email protected]
Those generated headers remove a few system calls, probably because your kernel was not compiled with "make allyesconfig" or similar. It also misses forward declarations so lttng-modules keeps building against older kernels, e.g.:
src/lttng-syscalls.h:
+struct __kernel_timex; +struct mount_attr; +struct open_how; +struct __kernel_old_itimerval; +struct clone_args; +struct io_uring_params; + +#if (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(5,5,0)) +typedef __kernel_long_t __kernel_old_time_t; +#endif