lttng-modules icon indicating copy to clipboard operation
lttng-modules copied to clipboard

Update headers for x86_64 architecture, kernel 5.12.1

Open qfournier opened this issue 4 years ago • 1 comments
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]

qfournier avatar May 10 '21 15:05 qfournier

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

compudj avatar May 12 '21 14:05 compudj