Re: [PATCH 04/33] cputime: Allow dynamic switch between tick/virtual based cputime accounting

2013-01-08 Thread Frederic Weisbecker
2013/1/8 Steven Rostedt : > On Tue, 2013-01-08 at 03:08 +0100, Frederic Weisbecker wrote: > >> @@ -439,29 +443,13 @@ void account_idle_ticks(unsigned long ticks) >> >> account_idle_time(jiffies_to_cputime(ticks)); >> } >> - >> #endif >> >> + > > Spurious newline. There may be even more aro

Re: [PATCH 04/33] cputime: Allow dynamic switch between tick/virtual based cputime accounting

2013-01-08 Thread Steven Rostedt
On Tue, 2013-01-08 at 03:08 +0100, Frederic Weisbecker wrote: > @@ -439,29 +443,13 @@ void account_idle_ticks(unsigned long ticks) > > account_idle_time(jiffies_to_cputime(ticks)); > } > - > #endif > > + Spurious newline. -- Steve > /* > * Use precise platform statistics if avail

[PATCH 04/33] cputime: Allow dynamic switch between tick/virtual based cputime accounting

2013-01-07 Thread Frederic Weisbecker
Allow to dynamically switch between tick and virtual based cputime accounting. This way we can provide a kind of "on-demand" virtual based cputime accounting. In this mode, the kernel will rely on the user hooks subsystem to dynamically hook on kernel boundaries. This is in preparation for being a