diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-12-22 21:48:09 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-12-27 22:41:22 -0500 |
commit | 7394b65d031eab807766915e47169b2c81b16f21 (patch) | |
tree | 2b2941a6e44d29e9fc70e90a54f12aa8c25d047a /kernel/sched.c | |
parent | f79d7cdd5ef87f4acb6517e784c6522d7cedd515 (diff) |
Sperated b and c overheads
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 71907dcd8112..093df593e45d 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -3811,6 +3811,8 @@ need_resched: | |||
3811 | need_resched_nonpreemptible: | 3811 | need_resched_nonpreemptible: |
3812 | TS_SCHED_START; | 3812 | TS_SCHED_START; |
3813 | TS_LVLA_SCHED_START; | 3813 | TS_LVLA_SCHED_START; |
3814 | TS_LVLB_SCHED_START; | ||
3815 | TS_LVLC_SCHED_START; | ||
3814 | sched_trace_task_switch_away(prev); | 3816 | sched_trace_task_switch_away(prev); |
3815 | 3817 | ||
3816 | schedule_debug(prev); | 3818 | schedule_debug(prev); |
@@ -3861,6 +3863,8 @@ need_resched_nonpreemptible: | |||
3861 | ++*switch_count; | 3863 | ++*switch_count; |
3862 | 3864 | ||
3863 | TS_LVLA_SCHED_END(next); | 3865 | TS_LVLA_SCHED_END(next); |
3866 | TS_LVLB_SCHED_END(next); | ||
3867 | TS_LVLC_SCHED_END(next); | ||
3864 | TS_SCHED_END(next); | 3868 | TS_SCHED_END(next); |
3865 | TS_CXS_START(next); | 3869 | TS_CXS_START(next); |
3866 | context_switch(rq, prev, next); /* unlocks the rq */ | 3870 | context_switch(rq, prev, next); /* unlocks the rq */ |