Ingo Molnar
289f480af8
[PATCH] Add debugging feature /proc/timer_list
...
add /proc/timer_list, which prints all currently pending (high-res) timers,
all clock-event sources and their parameters in a human-readable form.
Sample output:
Timer List Version: v0.1
HRTIMER_MAX_CLOCK_BASES: 2
now at 4246046273872 nsecs
cpu: 0
clock 0:
.index: 0
.resolution: 1 nsecs
.get_time: ktime_get_real
.offset: 1273998312645738432 nsecs
active timers:
clock 1:
.index: 1
.resolution: 1 nsecs
.get_time: ktime_get
.offset: 0 nsecs
active timers:
#0 : <f5a90ec8>, hrtimer_sched_tick, hrtimer_stop_sched_tick, swapper/0
# expires at 4246432689566 nsecs [in 386415694 nsecs]
#1 : <f5a90ec8>, hrtimer_wakeup, do_nanosleep, pcscd/2050
# expires at 4247018194689 nsecs [in 971920817 nsecs]
#2 : <f5a90ec8>, hrtimer_wakeup, do_nanosleep, irqbalance/1909
# expires at 4247351358392 nsecs [in 1305084520 nsecs]
#3 : <f5a90ec8>, hrtimer_wakeup, do_nanosleep, crond/2157
# expires at 4249097614968 nsecs [in 3051341096 nsecs]
#4 : <f5a90ec8>, it_real_fn, do_setitimer, syslogd/1888
# expires at 4251329900926 nsecs [in 5283627054 nsecs]
.expires_next : 4246432689566 nsecs
.hres_active : 1
.check_clocks : 0
.nr_events : 31306
.idle_tick : 4246020791890 nsecs
.tick_stopped : 1
.idle_jiffies : 986504
.idle_calls : 40700
.idle_sleeps : 36014
.idle_entrytime : 4246019418883 nsecs
.idle_sleeptime : 4178181972709 nsecs
cpu: 1
clock 0:
.index: 0
.resolution: 1 nsecs
.get_time: ktime_get_real
.offset: 1273998312645738432 nsecs
active timers:
clock 1:
.index: 1
.resolution: 1 nsecs
.get_time: ktime_get
.offset: 0 nsecs
active timers:
#0 : <f5a90ec8>, hrtimer_sched_tick, hrtimer_restart_sched_tick, swapper/0
# expires at 4246050084568 nsecs [in 3810696 nsecs]
#1 : <f5a90ec8>, hrtimer_wakeup, do_nanosleep, atd/2227
# expires at 4261010635003 nsecs [in 14964361131 nsecs]
#2 : <f5a90ec8>, hrtimer_wakeup, do_nanosleep, smartd/2332
# expires at 5469485798970 nsecs [in 1223439525098 nsecs]
.expires_next : 4246050084568 nsecs
.hres_active : 1
.check_clocks : 0
.nr_events : 24043
.idle_tick : 4246046084568 nsecs
.tick_stopped : 0
.idle_jiffies : 986510
.idle_calls : 26360
.idle_sleeps : 22551
.idle_entrytime : 4246043874339 nsecs
.idle_sleeptime : 4170763761184 nsecs
tick_broadcast_mask: 00000003
event_broadcast_mask: 00000001
CPU#0's local event device:
Clock Event Device: lapic
capabilities: 0000000e
max_delta_ns: 807385544
min_delta_ns: 1443
mult: 44624025
shift: 32
set_next_event: lapic_next_event
set_mode: lapic_timer_setup
event_handler: hrtimer_interrupt
.installed: 1
.expires: 4246432689566 nsecs
CPU#1's local event device:
Clock Event Device: lapic
capabilities: 0000000e
max_delta_ns: 807385544
min_delta_ns: 1443
mult: 44624025
shift: 32
set_next_event: lapic_next_event
set_mode: lapic_timer_setup
event_handler: hrtimer_interrupt
.installed: 1
.expires: 4246050084568 nsecs
Clock Event Device: hpet
capabilities: 00000007
max_delta_ns: 2147483647
min_delta_ns: 3352
mult: 61496110
shift: 32
set_next_event: hpet_next_event
set_mode: hpet_set_mode
event_handler: handle_nextevt_broadcast
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-16 08:13:59 -08:00
..
2007-02-16 08:13:56 -08:00
2007-02-11 10:51:20 -08:00
2007-02-16 08:13:59 -08:00
2006-01-03 11:35:26 +01:00
2006-12-08 08:28:42 -08:00
2006-12-07 08:39:27 -08:00
2006-09-11 13:32:30 -04:00
2007-02-11 10:51:34 -08:00
2006-12-08 08:28:46 -08:00
2007-02-12 09:48:32 -08:00
2007-02-11 10:51:32 -08:00
2006-12-07 08:39:46 -08:00
2007-02-11 10:51:19 -08:00
2007-02-12 09:48:46 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:46 -08:00
2006-06-30 19:25:36 +02:00
2007-02-12 09:48:32 -08:00
2006-05-15 11:20:55 -07:00
2007-02-16 08:13:58 -08:00
2006-10-10 15:37:22 -07:00
2007-02-16 08:13:58 -08:00
2007-02-16 08:13:59 -08:00
2007-02-16 08:13:59 -08:00
2006-12-08 08:28:37 -08:00
2006-12-07 08:39:36 -08:00
2005-06-25 16:24:45 -07:00
2006-12-07 15:39:22 -08:00
2007-02-11 10:51:32 -08:00
2007-02-13 13:26:23 +01:00
2007-01-30 16:01:35 -08:00
2006-06-30 19:25:36 +02:00
2007-02-11 10:51:32 -08:00
2006-12-04 02:00:22 -05:00
2006-12-07 08:39:43 -08:00
2007-02-14 08:09:54 -08:00
2007-02-11 10:51:26 -08:00
2007-02-14 08:09:58 -08:00
2007-02-07 10:37:12 -08:00
2007-02-14 08:09:54 -08:00
2006-07-03 15:27:01 -07:00
2006-12-08 08:28:39 -08:00
2006-07-03 15:27:04 -07:00
2007-01-30 13:35:18 -08:00
2007-02-11 10:51:29 -08:00
2007-02-07 10:37:12 -08:00
2007-01-30 13:40:36 -08:00
2006-10-17 08:18:43 -07:00
2007-02-16 08:13:59 -08:00
2007-02-11 11:18:06 -08:00
2007-02-11 10:51:32 -08:00
2006-09-29 09:18:12 -07:00
2006-12-07 08:39:40 -08:00
2006-12-30 10:55:55 -08:00
2007-02-11 10:51:32 -08:00
2007-02-14 08:09:54 -08:00
2006-06-27 17:32:47 -07:00
2006-10-04 03:38:54 -04:00
2006-07-03 15:27:01 -07:00
2006-12-07 08:39:27 -08:00
2007-02-16 08:13:58 -08:00
2006-07-03 15:27:01 -07:00
2006-07-03 15:27:04 -07:00
2007-02-13 13:26:21 +01:00
2005-04-16 15:20:36 -07:00
2007-02-16 08:13:59 -08:00
2007-02-16 08:13:59 -08:00
2006-09-29 09:18:14 -07:00
2006-11-25 13:28:34 -08:00
2006-10-04 07:55:30 -07:00
2006-07-03 15:27:02 -07:00
2006-09-29 09:18:24 -07:00
2006-11-03 12:27:59 -08:00
2007-02-12 09:48:32 -08:00
2007-02-14 08:10:00 -08:00
2006-12-07 08:39:34 -08:00
2007-02-16 08:13:56 -08:00
2007-02-16 08:13:59 -08:00
2006-12-10 09:55:41 -08:00
2006-04-19 16:27:18 -07:00
2006-12-07 08:39:25 -08:00
2007-02-14 08:09:59 -08:00
2006-10-02 07:57:22 -07:00
2006-07-10 13:24:25 -07:00
2007-02-16 08:13:59 -08:00