]> sourceware.org Git - systemtap.git/commit
Use TWA_RESUME in the runtime calls to task_work_add
authorWilliam Cohen <wcohen@redhat.com>
Fri, 15 Sep 2023 19:12:11 +0000 (15:12 -0400)
committerWilliam Cohen <wcohen@redhat.com>
Wed, 27 Sep 2023 20:00:34 +0000 (16:00 -0400)
commit1ed860193216de3b233da440b2f9d52d94770b43
treeb2d3e67c05b3d96795e626b6e362c891c9305773
parent21bb398cb78b4274577c8ef2483ea2d03beaf7f4
Use TWA_RESUME in the runtime calls to task_work_add

Kernel git commit c40e60f00caf18bc382215c79651777eb40f5f9d in the
linux 6.6 kernels will cause the implicit conversion of boolean true
to an enum task_work_notify_mode to be flagged resulting in the
systemtap instrumentation compile to fail.  Adding a config check to
use TWA_RESUME if it is available or pass in the equivalent true
argument for older kernels.
buildrun.cxx
runtime/linux/autoconf-twa_resume.c [new file with mode: 0644]
runtime/linux/task_work_compatibility.h
runtime/stp_task_work.c
This page took 0.030909 seconds and 5 git commands to generate.