diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-12-30 09:01:19 -0500 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-03-08 10:12:42 -0500 |
commit | fa374d87ff22b41fc1083267df999b9011b83b70 (patch) | |
tree | fd2cd5e746dbf587f93a14a93c327458d8c75572 /kernel/time | |
parent | a2e09c5fbdd51755c24eaced80b1d68599ce607e (diff) |
Patch hrtimer_wakeup() callback to record RELEASE overhead
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/hrtimer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index 2ce65d992935..2997ca85313c 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c | |||
@@ -1490,7 +1490,9 @@ static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer) | |||
1490 | lt_t intended_release = ktime_to_ns(expires); | 1490 | lt_t intended_release = ktime_to_ns(expires); |
1491 | TS_RELEASE_LATENCY(intended_release); | 1491 | TS_RELEASE_LATENCY(intended_release); |
1492 | } | 1492 | } |
1493 | TS_RELEASE_START; | ||
1493 | wake_up_process(task); | 1494 | wake_up_process(task); |
1495 | TS_RELEASE_END; | ||
1494 | } | 1496 | } |
1495 | 1497 | ||
1496 | return HRTIMER_NORESTART; | 1498 | return HRTIMER_NORESTART; |