On Tue, 2013-01-08 at 03:08 +0100, Frederic Weisbecker wrote:

> diff --git a/init/Kconfig b/init/Kconfig
> index 5cc8713..51b5c33 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -322,6 +322,9 @@ source "kernel/time/Kconfig"
>  
>  menu "CPU/Task time and stats accounting"
>  
> +config VIRT_CPU_ACCOUNTING
> +     bool
> +
>  choice
>       prompt "Cputime accounting"
>       default TICK_CPU_ACCOUNTING if !PPC64
> @@ -338,9 +341,10 @@ config TICK_CPU_ACCOUNTING
>  
>         If unsure, say Y.
>  
> -config VIRT_CPU_ACCOUNTING
> +config VIRT_CPU_ACCOUNTING_NATIVE
>       bool "Deterministic task and CPU time accounting"
>       depends on HAVE_VIRT_CPU_ACCOUNTING
> +     select VIRT_CPU_ACCOUNTING
>       help
>         Select this option to enable more accurate task and CPU time
>         accounting.  This is done by reading a CPU counter on each
> @@ -350,6 +354,15 @@ config VIRT_CPU_ACCOUNTING
>         this also enables accounting of stolen time on logically-partitioned
>         systems.
>  
> +config VIRT_CPU_ACCOUNTING_GEN
> +     bool "Full dynticks CPU time accounting"
> +     depends on HAVE_CONTEXT_TRACKING
> +     select VIRT_CPU_ACCOUNTING
> +     select CONTEXT_TRACKING

        select CONTEXT_TRACKING_FORCE

Otherwise the user time never gets updated.

-- Steve

> +     help
> +       Implement a generic virtual based cputime accounting by using
> +       the context tracking subsystem.
> +
>  config IRQ_TIME_ACCOUNTING
>       bool "Fine granularity task level IRQ time accounting"
>       depends on HAVE_IRQ_TIME_ACCOUNTING



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to