]> sourceware.org Git - systemtap.git/commitdiff
thread_info is renamed to stack since kernel 2.6.22
authorwenji <wenji>
Sat, 4 Aug 2007 14:36:27 +0000 (14:36 +0000)
committerwenji <wenji>
Sat, 4 Aug 2007 14:36:27 +0000 (14:36 +0000)
tapset/task.stp

index 1a7699d095854a0d0eb2ca2e4b50de1ef4f2057a..97ae5c7e1c2de1f0e1b6a107de76b5883019e9f6 100644 (file)
@@ -110,7 +110,7 @@ function task_nice:long (task:long) %{ /* pure */
 
 // Return the scheduled cpu for the given task
 function task_cpu:long (task:long)
-%( kernel_v >= "2.6.23" %? 
+%( kernel_v >= "2.6.22" %? 
 %{ /* pure */
     struct task_struct *t = (struct task_struct *)(long)THIS->task;
     struct thread_info *ti = kread(&(t->stack));
This page took 0.025253 seconds and 5 git commands to generate.