Merge remote-tracking branch 'origin/upstream/linux-linaro-lsk-v3.10-android+android-common-3.10' into develop-3.10

This commit is contained in:
黄涛
2013-12-10 12:14:30 +08:00
118 changed files with 1678 additions and 537 deletions

View File

@@ -579,6 +579,55 @@ TRACE_EVENT(sched_task_usage_ratio,
__entry->ratio)
);
/*
* Tracepoint for HMP (CONFIG_SCHED_HMP) task migrations,
* marking the forced transition of runnable or running tasks.
*/
TRACE_EVENT(sched_hmp_migrate_force_running,
TP_PROTO(struct task_struct *tsk, int running),
TP_ARGS(tsk, running),
TP_STRUCT__entry(
__array(char, comm, TASK_COMM_LEN)
__field(int, running)
),
TP_fast_assign(
memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN);
__entry->running = running;
),
TP_printk("running=%d comm=%s",
__entry->running, __entry->comm)
);
/*
* Tracepoint for HMP (CONFIG_SCHED_HMP) task migrations,
* marking the forced transition of runnable or running
* tasks when a task is about to go idle.
*/
TRACE_EVENT(sched_hmp_migrate_idle_running,
TP_PROTO(struct task_struct *tsk, int running),
TP_ARGS(tsk, running),
TP_STRUCT__entry(
__array(char, comm, TASK_COMM_LEN)
__field(int, running)
),
TP_fast_assign(
memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN);
__entry->running = running;
),
TP_printk("running=%d comm=%s",
__entry->running, __entry->comm)
);
/*
* Tracepoint for HMP (CONFIG_SCHED_HMP) task migrations.
*/