This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFC: Trivial version check change in signal.send.part3 in signal.stp


Corresponding bug: http://sourceware.org/bugzilla/show_bug.cgi?id=6752

I did not include a ChangeLog or a copyright statement in this patch as the change is trivial. This patch tweaks the third signal send kernel check in signal.stp On Fedora 9 with 2.6.25.10 kernel the conditional is incorrect and leads to an incorrect task assignment. The variable in 2.6.25.10 is still: "task = $p"
diff --git a/tapset/signal.stp b/tapset/signal.stp
index 4fec7c1..224693e 100644
--- a/tapset/signal.stp
+++ b/tapset/signal.stp
@@ -74,7 +74,7 @@ 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.10" %?
     task = $t
     sig = $q->info->si_signo
 %:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]