[linux-yocto] [kernel-cache][PATCH] features/profiling/profiling.cfg: remove CONFIG_TIMER_STATS

Bruce Ashfield bruce.ashfield at windriver.com
Tue Oct 24 08:10:28 PDT 2017


merged.

Bruce

On 10/22/2017 05:47 AM, lei.yang at windriver.com wrote:
> From: Lei Yang <Lei.Yang at windriver.com>
> 
> CONFIG_TIMER_STATS has been removed since kernel 4.11.
> 
> As per upstream commit:
> 
>      commit dfb4357da6ddbdf57d583ba64361c9d792b0e0b1
>      Author: Kees Cook <keescook at chromium.org>
>      Date:   Wed Feb 8 11:26:59 2017 -0800
> 
>          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.
> 
> and check tag:
>      lyang001 at pek-lyang0-d1:~/linux-stable$ git tag --contains dfb4357da6ddbdf57d583ba64361c9d792b0e0b1
>      v4.11
>      v4.11-rc1
>      v4.11-rc2
>      v4.11-rc3
>      v4.11-rc4
>      v4.11-rc5
>      v4.11-rc6
>      v4.11-rc7
>      ....
> 
> Signed-off-by: Lei Yang <Lei.Yang at windriver.com>
> ---
>   features/profiling/profiling.cfg | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/features/profiling/profiling.cfg b/features/profiling/profiling.cfg
> index 512de81..8a6b7fd 100644
> --- a/features/profiling/profiling.cfg
> +++ b/features/profiling/profiling.cfg
> @@ -3,6 +3,3 @@ CONFIG_PROFILING=y
>   CONFIG_OPROFILE=y
>   CONFIG_FRAME_POINTER=y
>   CONFIG_X86_LOCAL_APIC=y
> -
> -# for powertop
> -CONFIG_TIMER_STATS=y
> 



More information about the linux-yocto mailing list