Re: [patch 2/2] sched: allow cpuacct stats to be reset

From: Ingo Molnar
Date: Fri Mar 07 2008 - 04:00:59 EST



* Dhaval Giani <dhaval@xxxxxxxxxxxxxxxxxx> wrote:

> Currently the schedstats implementation does not allow the statistics
> to be reset. This patch aims to allow that.
>
> echo 0 > cpuacct.usage
>
> resets the usage. Any other value is not allowed and returns -EINVAL.

i've applied this for now, please send any updates that might come out
of the interface discussions.

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