Re: [PATCH v3 2/2] schedstat: Expose /proc/pid/schedstat if CONFIG_SCHED_INFO is set

2015-06-30 Thread Balbir Singh
On Tue, Jun 30, 2015 at 6:59 PM, Srikar Dronamraju wrote: > * Naveen N. Rao [2015-06-30 14:36:03]: > >> In the unlikely scenario that the kernel is booted with nodelayacct, we >> dump all zeroes so as to make it clear that scheduler statistics are not >> available. >> >> Signed-off-by: Naveen N.

Re: [PATCH v3 2/2] schedstat: Expose /proc/pid/schedstat if CONFIG_SCHED_INFO is set

2015-06-30 Thread Srikar Dronamraju
* Naveen N. Rao [2015-06-30 14:36:03]: > In the unlikely scenario that the kernel is booted with nodelayacct, we > dump all zeroes so as to make it clear that scheduler statistics are not > available. > > Signed-off-by: Naveen N. Rao > --- > Changes since v2: Revert to unsigned long in printf >

[PATCH v3 2/2] schedstat: Expose /proc/pid/schedstat if CONFIG_SCHED_INFO is set

2015-06-30 Thread Naveen N. Rao
In the unlikely scenario that the kernel is booted with nodelayacct, we dump all zeroes so as to make it clear that scheduler statistics are not available. Signed-off-by: Naveen N. Rao --- Changes since v2: Revert to unsigned long in printf fs/proc/base.c | 11 +++ 1 file changed, 7 in