Add a flag to indicate deferrable timers in /proc/timer_stats
authorVenki Pallipadi <venkatesh.pallipadi@intel.com>
Mon, 16 Jul 2007 06:40:30 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:45 +0000 (09:05 -0700)
commitc5c061b8f9726bc2c25e19dec227933a13d1e6b7
treee99f68f70df1a01dd383007895befd114a1da8c4
parente0807061908a7a9441d0f745deb444f7216904cb
Add a flag to indicate deferrable timers in /proc/timer_stats

Add a flag in /proc/timer_stats to indicate deferrable timers.  This will
let developers/users to differentiate between types of tiemrs in
/proc/timer_stats.

Deferrable timer and normal timer will appear in /proc/timer_stats as below.
  10D,     1 swapper          queue_delayed_work_on (delayed_work_timer_fn)
   10,     1 swapper          queue_delayed_work_on (delayed_work_timer_fn)

Also version of timer_stats changes from v0.1 to v0.2

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/hrtimer/timer_stats.txt
include/linux/hrtimer.h
include/linux/timer.h
kernel/time/timer_stats.c
kernel/timer.c