[PATCH] 2.5 kernel_stat access in KLM

From: Ralph Roesler (rroesler@syskonnect.de)
Date: Fri Jul 11 2003 - 07:53:14 EST

Hi *,

I need to access system, nice and idle-time of the system from a
KLM. But due to the
fact, that this structure is not exported any longer towards any KLM,
those values are

Was there a particular reason not to offer the kernel_stat-structure
any longer to
KLM's? I've made a small patch and the KLM can access the
information needed:
Is it possible to add this patch to the kernel? Thanks!

Kind regards,

--- linux-2.5.70/kernel/ksyms.c 2003-05-27 03:00:20.000000000
+++ kstat-linux-2.5.70/kernel/ksyms.c 2003-06-10
14:04:10.000000000 +0200
@@ -491,6 +491,7 @@
 #if !defined(__ia64__)

 /* misc */
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/

This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:23 EST