diff options
Diffstat (limited to 'include/trace/events/sched.h')
-rw-r--r-- | include/trace/events/sched.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h index ffa1cab586b9..dd4033cf5b09 100644 --- a/include/trace/events/sched.h +++ b/include/trace/events/sched.h | |||
@@ -180,9 +180,9 @@ TRACE_EVENT(sched_switch, | |||
180 | */ | 180 | */ |
181 | TRACE_EVENT(sched_migrate_task, | 181 | TRACE_EVENT(sched_migrate_task, |
182 | 182 | ||
183 | TP_PROTO(struct task_struct *p, int orig_cpu, int dest_cpu), | 183 | TP_PROTO(struct task_struct *p, int dest_cpu), |
184 | 184 | ||
185 | TP_ARGS(p, orig_cpu, dest_cpu), | 185 | TP_ARGS(p, dest_cpu), |
186 | 186 | ||
187 | TP_STRUCT__entry( | 187 | TP_STRUCT__entry( |
188 | __array( char, comm, TASK_COMM_LEN ) | 188 | __array( char, comm, TASK_COMM_LEN ) |
@@ -196,7 +196,7 @@ TRACE_EVENT(sched_migrate_task, | |||
196 | memcpy(__entry->comm, p->comm, TASK_COMM_LEN); | 196 | memcpy(__entry->comm, p->comm, TASK_COMM_LEN); |
197 | __entry->pid = p->pid; | 197 | __entry->pid = p->pid; |
198 | __entry->prio = p->prio; | 198 | __entry->prio = p->prio; |
199 | __entry->orig_cpu = orig_cpu; | 199 | __entry->orig_cpu = task_cpu(p); |
200 | __entry->dest_cpu = dest_cpu; | 200 | __entry->dest_cpu = dest_cpu; |
201 | ), | 201 | ), |
202 | 202 | ||