Messages in this thread Patch in this message |  | | From | "Ralph Roesler" <> | Date | Fri, 11 Jul 2003 14:53:14 +0200 | Subject | [PATCH] 2.5 kernel_stat access in KLM |
| |
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 unusable.
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, -Ralph.
--- linux-2.5.70/kernel/ksyms.c 2003-05-27 03:00:20.000000000 +0200 +++ kstat-linux-2.5.70/kernel/ksyms.c 2003-06-10 14:04:10.000000000 +0200 @@ -491,6 +491,7 @@ #if !defined(__ia64__) EXPORT_SYMBOL(loops_per_jiffy); #endif +EXPORT_SYMBOL(kstat__per_cpu);
/* 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/
|  |