Explicitly skip tracing x32 system calls
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 30 Nov 2022 20:41:02 +0000 (15:41 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 30 Nov 2022 20:43:56 +0000 (15:43 -0500)
commitae77b6924bed3e3ccd1ef48fb061b5b7dfb9f36b
tree8f1980254c31cb55910db2194c01162d1252cfe2
parent62b81e8835877ed8d654990266ceabbc4a2e82d3
Explicitly skip tracing x32 system calls

x86 x32 system calls are not supported by LTTng. They are currently not
traced simply because their system call number is beyond the range of
NR_compat_syscalls.

However, this mostly happens by accident rather than by design.

Enforce this with an explicit check for in_x32_syscall(), which clearly
documents that those are not supported.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I1235c32c5cf03612bf9c36785cf7c4f8f49d292b
src/lttng-syscalls.c
This page took 0.026209 seconds and 4 git commands to generate.