On 2015/06/30 11:25AM, Srikar Dronamraju wrote:
> * Naveen N. Rao [2015-06-25 23:53:38]:
>
> > /*
> > * Provides /proc/PID/schedstat
> > */
> > static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns,
> > struct pid *pid, struct task_struct *task
* Naveen N. Rao [2015-06-25 23:53:38]:
> /*
> * Provides /proc/PID/schedstat
> */
> static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns,
> struct pid *pid, struct task_struct *task)
> {
> - seq_printf(m, "%llu %llu %lu\n",
> + if (
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
---
fs/proc/base.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/fs/proc/base
3 matches
Mail list logo