time: Remove CONFIG_TIMER_STATS
authorKees Cook <[email protected]>
Wed, 8 Feb 2017 19:26:59 +0000 (11:26 -0800)
committerThomas Gleixner <[email protected]>
Fri, 10 Feb 2017 10:15:08 +0000 (11:15 +0100)
commitdfb4357da6ddbdf57d583ba64361c9d792b0e0b1
tree52d625e15accaf3c1b3e0504e64e6021c9f8b091
parentbb42ca47401010fc02901b5e8f79e40a26f208cb
time: Remove CONFIG_TIMER_STATS

Currently CONFIG_TIMER_STATS exposes process information across namespaces:

kernel/time/timer_list.c print_timer():

        SEQ_printf(m, ", %s/%d", tmp, timer->start_pid);

/proc/timer_list:

 #11: <0000000000000000>, hrtimer_wakeup, S:01, do_nanosleep, cron/2570

Given that the tracer can give the same information, this patch entirely
removes CONFIG_TIMER_STATS.

Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Acked-by: John Stultz <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: [email protected]
Cc: Lai Jiangshan <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Xing Gao <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Jessica Frazelle <[email protected]>
Cc: [email protected]
Cc: Nicolas Iooss <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Michal Marek <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Olof Johansson <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: [email protected]
Cc: Arjan van de Ven <[email protected]>
Link: http://lkml.kernel.org/r/20170208192659.GA32582@beast
Signed-off-by: Thomas Gleixner <[email protected]>
Documentation/timers/timer_stats.txt [deleted file]
include/linux/hrtimer.h
include/linux/timer.h
kernel/kthread.c
kernel/time/Makefile
kernel/time/hrtimer.c
kernel/time/timer.c
kernel/time/timer_list.c
kernel/time/timer_stats.c [deleted file]
kernel/workqueue.c
lib/Kconfig.debug