| Subject | Re: [PATCH 03/33] cputime: Generic on-demand virtual cputime accounting | From | Steven Rostedt <> | Date | Wed, 09 Jan 2013 08:46:15 -0500 |
| |
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
|