diff options
author | wenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com> | 2008-05-26 04:23:12 -0400 |
---|---|---|
committer | wenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com> | 2008-05-26 04:23:12 -0400 |
commit | f09ac52b8a4a35e46c694b96ccfbf28c08f0c527 (patch) | |
tree | d06b51e87a3abc67dab78eef452c0841da714b01 | |
parent | 63aa9fb121d0eedc30d9b9a0cb0b91da96b551d8 (diff) | |
download | systemtap-steved-f09ac52b8a4a35e46c694b96ccfbf28c08f0c527.tar.gz systemtap-steved-f09ac52b8a4a35e46c694b96ccfbf28c08f0c527.tar.xz systemtap-steved-f09ac52b8a4a35e46c694b96ccfbf28c08f0c527.zip |
Include fdtable.h in task.stp for 2.6.26 and format signal.stp
-rw-r--r-- | tapset/ChangeLog | 4 | ||||
-rw-r--r-- | tapset/signal.stp | 12 | ||||
-rw-r--r-- | tapset/task.stp | 1 |
3 files changed, 11 insertions, 6 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 2931e23b..45db7803 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,6 +1,10 @@ 2008-05-26 Wenji Huang <wenji.huang@oracle.com> + * task.stp : Include fdtable.h for 2.6.26. + +2008-05-26 Wenji Huang <wenji.huang@oracle.com> + * signal.stp (send.*): Correct for 2.6.26. 2008-05-23 Frank Ch. Eigler <fche@elastic.org> diff --git a/tapset/signal.stp b/tapset/signal.stp index 7afa1024..4fec7c13 100644 --- a/tapset/signal.stp +++ b/tapset/signal.stp @@ -52,7 +52,7 @@ probe signal.send = _signal.send.* probe _signal.send.part1 = kernel.function("__group_send_sig_info") { name = "__group_send_sig_info" - sig=$sig + sig = $sig task = $p sinfo = $info shared = 1 @@ -63,7 +63,7 @@ probe _signal.send.part1 = kernel.function("__group_send_sig_info") probe _signal.send.part2 = kernel.function("send_group_sigqueue") { name = "send_group_sigqueue" - sig=$sig + sig = $sig task = $p sinfo = 0 # $q->info shared = 1 @@ -74,12 +74,12 @@ probe _signal.send.part2 = kernel.function("send_group_sigqueue") probe _signal.send.part3 = kernel.function("send_sigqueue") { name = "send_sigqueue" -%( kernel_v >= "2.6.25" %? +%( kernel_v > "2.6.25" %? task = $t - sig=$q->info->si_signo + sig = $q->info->si_signo %: task = $p - sig=$sig + sig = $sig %) sinfo = 0 # $q->info shared = 0 @@ -89,7 +89,7 @@ probe _signal.send.part3 = kernel.function("send_sigqueue") probe _signal.send.part4 = kernel.function("specific_send_sig_info") { name = "specific_send_sig_info" - sig=$sig + sig = $sig task = $t sinfo = $info shared = 0 diff --git a/tapset/task.stp b/tapset/task.stp index a15888f8..1f361b58 100644 --- a/tapset/task.stp +++ b/tapset/task.stp @@ -9,6 +9,7 @@ %{ #include <linux/version.h> #include <linux/file.h> +#include <linux/fdtable.h> %} // Return the task_struct representing the current process |