Messages in this thread | | | Date | Tue, 19 Dec 2006 01:39:55 -0500 | From | Benjamin LaHaise <> | Subject | Re: [PATCH] procfs: export context switch counts in /proc/*/stat |
| |
On Mon, Dec 18, 2006 at 11:50:08PM +0000, David Wragg wrote: > This patch (against 2.6.19/2.6.19.1) adds the four context switch > values (voluntary context switches, involuntary context switches, and > the same values accumulated from terminated child processes) to the > end of /proc/*/stat, similarly to min_flt, maj_flt and the time used > values.
Please put these into new files, as the stat files in /proc are horribly overloaded and have always been somewhat problematic when it comes to changing how things are reported due to internal changes to the kernel. Cheers,
-ben -- "Time is of no importance, Mr. President, only life is important." Don't Email: <dont@kvack.org>. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |