]> sourceware.org Git - systemtap.git/commitdiff
Update the aux_syscall.stp tapset to directly include <uapi/linux/wait.h>
authorWilliam Cohen <wcohen@redhat.com>
Mon, 5 Feb 2024 19:37:18 +0000 (14:37 -0500)
committerWilliam Cohen <wcohen@redhat.com>
Mon, 5 Feb 2024 19:37:18 +0000 (14:37 -0500)
The linux kernel git commit 6dfeff09d5ad33190 removes the include for
<uapi/linux/wait.h> from <linux/wait.h>.  The kernel has had
<uapi/linux/wait.h> header for over a dozen years (kernel git commit
607ca46e97a1b65) and systemtap should just use that directly.  The
downside of this change is that systemtap will require a Linux 3.7 or
newer kernel.

tapset/linux/aux_syscalls.stp

index cf54aa15220077df3d30b6666e5d4034cd7e0e17..e773ba7c25702d6d5bcbd6b961bf0a0f8a57e1f6 100644 (file)
@@ -1515,7 +1515,7 @@ function _msync_flag_str:string(f:long)
 %}
 
 %{
-#include <linux/wait.h>
+#include <uapi/linux/wait.h>
 
 static const _stp_val_array _stp_wait4_op_list[] = {
        V(WNOHANG),
This page took 0.031306 seconds and 5 git commands to generate.