projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ce105d
)
hrtimer: show the timer ranges in /proc/timer_list
author
Arjan van de Ven
<arjan@linux.intel.com>
Sun, 7 Sep 2008 23:10:20 +0000
(16:10 -0700)
committer
Arjan van de Ven
<arjan@linux.intel.com>
Sun, 7 Sep 2008 23:10:20 +0000
(16:10 -0700)
to help debugging and visibility of timer ranges, show them
in the existing timer list in /proc/timer_list
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
kernel/time/timer_list.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/time/timer_list.c
b/kernel/time/timer_list.c
index 5224a3215fb78f2574a8940c689879485519a073..122ee751d2d1e16e6429489f70bc7ef13ba48a94 100644
(file)
--- a/
kernel/time/timer_list.c
+++ b/
kernel/time/timer_list.c
@@
-65,8
+65,10
@@
print_timer(struct seq_file *m, struct hrtimer *timer, int idx, u64 now)
SEQ_printf(m, ", %s/%d", tmp, timer->start_pid);
#endif
SEQ_printf(m, "\n");
- SEQ_printf(m, " # expires at %Lu nsecs [in %Ld nsecs]\n",
+ SEQ_printf(m, " # expires at %Lu-%Lu nsecs [in %Ld to %Ld nsecs]\n",
+ (unsigned long long)ktime_to_ns(hrtimer_get_softexpires(timer)),
(unsigned long long)ktime_to_ns(hrtimer_get_expires(timer)),
+ (long long)(ktime_to_ns(hrtimer_get_softexpires(timer)) - now),
(long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now));
}
This page took
0.024859 seconds
and
5
git commands to generate.