summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwenji <wenji>2007-08-04 14:36:27 +0000
committerwenji <wenji>2007-08-04 14:36:27 +0000
commita62af368aa25aa415d9445995386229e808d4993 (patch)
treef104c9e1ce24f369505f89bd865b9ae521f2b463
parentc01b837739a244a3230b8b6aaae7f44540ce4c6b (diff)
downloadsystemtap-steved-a62af368aa25aa415d9445995386229e808d4993.tar.gz
systemtap-steved-a62af368aa25aa415d9445995386229e808d4993.tar.xz
systemtap-steved-a62af368aa25aa415d9445995386229e808d4993.zip
thread_info is renamed to stack since kernel 2.6.22
-rw-r--r--tapset/task.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/task.stp b/tapset/task.stp
index 1a7699d0..97ae5c7e 100644
--- a/tapset/task.stp
+++ b/tapset/task.stp
@@ -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));