Files
android_kernel_xiaomi_sm8450/include/linux
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
..
2006-09-26 17:40:24 -04:00
2007-02-12 09:48:31 -08:00
2006-12-04 02:00:22 -05:00
2006-10-03 23:01:26 +02:00
2006-12-02 21:22:55 -08:00
2006-12-02 21:22:55 -08:00
2006-12-06 20:14:22 -08:00
2006-01-13 09:12:21 -08:00
2006-10-03 23:01:26 +02:00
2006-12-08 08:28:39 -08:00
2006-12-07 08:39:37 -08:00
2006-12-07 08:39:20 -08:00
2006-12-08 08:28:39 -08:00
2007-01-30 08:26:45 -08:00
2007-02-11 10:51:24 -08:00
2006-12-11 14:35:00 -08:00
2006-12-07 08:39:25 -08:00
2007-02-09 17:39:36 -05:00
2006-06-09 16:14:20 -04:00
2006-02-23 09:56:38 +00:00
2006-07-03 19:44:51 -07:00
2007-02-09 17:39:36 -05:00
2007-02-11 11:18:07 -08:00
2007-02-01 16:17:06 -08:00
2006-09-26 08:48:54 -07:00
2006-06-23 02:07:36 -07:00
2006-03-31 12:18:54 -08:00
2006-09-22 15:18:47 -07:00
2006-12-07 08:39:32 -08:00
2006-12-10 09:55:41 -08:00
2006-10-02 07:57:12 -07:00
2006-09-26 17:40:24 -04:00
2007-02-07 15:44:36 -08:00
2007-01-08 19:49:54 +00:00
2006-03-26 08:56:56 -08:00
2007-02-13 22:09:01 +01:00
2006-12-10 21:21:29 +01:00
2006-09-28 18:02:13 -07:00
2005-11-08 09:40:47 -08:00
2006-12-04 02:00:34 -05:00
2006-12-02 21:21:21 -08:00
2006-09-28 18:02:29 -07:00
2007-02-11 11:18:07 -08:00
2006-10-10 15:37:22 -07:00
2007-02-09 17:39:36 -05:00
2006-08-21 10:02:50 +02:00
2006-12-02 21:21:21 -08:00
2006-10-04 07:55:12 -07:00
2006-12-07 08:39:47 -08:00
2006-12-07 08:39:47 -08:00
2006-12-07 08:39:47 -08:00
2006-10-04 00:31:09 -07:00
2006-12-02 21:21:21 -08:00
2006-03-20 22:21:10 -08:00
2006-06-21 12:40:49 -07:00
2006-12-08 08:28:57 -08:00
2006-11-30 05:24:39 +01:00
2007-02-12 09:48:30 -08:00
2007-02-07 10:37:14 -08:00
2007-02-11 10:51:24 -08:00
2006-07-31 15:44:29 -04:00
2006-06-05 12:29:17 -07:00
2007-02-12 09:48:31 -08:00
2005-10-28 08:16:47 -07:00
2007-02-12 09:48:31 -08:00
2007-02-07 10:37:12 -08:00
2006-11-30 04:40:22 +01:00
2006-09-28 18:02:22 -07:00
2007-02-07 15:50:08 -08:00
2007-01-23 00:34:54 -05:00
2006-03-23 07:38:14 -08:00
2006-11-22 14:57:56 +00:00
2007-02-08 13:51:54 -08:00
2006-03-20 13:44:40 -05:00
2006-08-27 11:01:32 -07:00
2007-02-09 08:06:14 -08:00
2007-02-11 11:18:07 -08:00
2006-03-27 08:44:48 -08:00
2006-06-28 15:54:27 -07:00
2006-11-03 12:27:58 -08:00
2007-02-11 10:51:28 -08:00
2006-07-03 19:48:25 -07:00
2006-12-04 02:00:36 -05:00
2006-10-03 23:01:26 +02:00
2007-01-11 18:18:21 -08:00
2006-06-25 10:01:06 -07:00
2007-02-11 10:51:28 -08:00
2006-06-25 10:01:06 -07:00
2006-09-26 08:49:04 -07:00
2005-11-07 07:53:46 -08:00
2006-12-22 08:55:49 -08:00
2006-06-25 10:01:14 -07:00
2006-12-10 09:55:40 -08:00
2006-12-12 08:10:44 -08:00
2006-12-07 08:39:35 -08:00
2005-10-30 17:37:32 -08:00
2005-11-07 07:53:37 -08:00
2006-12-07 08:39:25 -08:00
2006-12-13 09:05:49 -08:00
2006-10-10 16:15:34 -07:00
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:19 -07:00
2007-02-12 09:48:41 -08:00
2007-02-11 10:51:18 -08:00
2006-10-11 11:14:21 -07:00
2007-02-07 14:03:19 +11:00
2007-02-07 10:37:14 -08:00
2006-11-30 05:32:19 +01:00
2007-02-16 08:13:57 -08:00
2007-02-16 08:13:56 -08:00
2006-03-31 12:18:56 -08:00
2006-12-02 21:21:08 -08:00
2006-09-28 17:53:59 -07:00
2006-03-23 07:38:14 -08:00
2006-12-15 08:47:51 -08:00
2006-10-01 00:39:19 -07:00
2006-10-04 07:55:12 -07:00
2007-02-11 10:51:25 -08:00
2006-12-02 00:11:58 -05:00
2007-02-11 11:18:05 -08:00