]> sourceware.org Git - systemtap.git/commit
Fixed PR14427 by handling old and new task_work interface.
authorDavid Smith <dsmith@redhat.com>
Thu, 2 Aug 2012 15:01:23 +0000 (10:01 -0500)
committerDavid Smith <dsmith@redhat.com>
Thu, 2 Aug 2012 15:01:23 +0000 (10:01 -0500)
commit0e0e60b276f6a839b56d302e31432adaa0f02440
treea044ecd21babbcac170b61a8e93a590e36bd04d5
parent9d2b21df1694ef312a2312a3fd6e7d046dcdf672
Fixed PR14427 by handling old and new task_work interface.

* runtime/linux/autoconf-utrace-via-tracepoints.c: Just includes
  task_work.h to determine existence of task_work feature.
* runtime/linux/autoconf-task_work-struct.c: New file.
* buildrun.cxx (compile_pass): Add autoconf-task_work-struct test.
* runtime/linux/task_work_compatibility.h: New header that mask
  differences between old task_work interface and new one.
* runtime/linux/task_finder2.c: Handle removal of 'data' parameter from
  task_work struct by embedding stap_task_finder_target in
  __stp_tf_task_work structure.
* runtime/stp_task_work.c: Include task_work_compatibility.h instead of
  task_work.h.
* runtime/stp_utrace.c (utrace_task_alloc): Update init_task_work()
  function call to compatibility function call.
buildrun.cxx
runtime/linux/autoconf-task_work-struct.c [new file with mode: 0644]
runtime/linux/autoconf-utrace-via-tracepoints.c
runtime/linux/task_finder2.c
runtime/linux/task_work_compatibility.h [new file with mode: 0644]
runtime/stp_task_work.c
runtime/stp_utrace.c
This page took 0.031068 seconds and 5 git commands to generate.