* [PATCH] 2.5 kernel_stat access in KLM
@ 2003-07-11 12:53 Ralph Roesler
2003-06-24 2:40 ` sd card support John Shillinglaw
0 siblings, 1 reply; 2+ messages in thread
From: Ralph Roesler @ 2003-07-11 12:53 UTC (permalink / raw)
To: linux-kernel
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 */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-24 2:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-11 12:53 [PATCH] 2.5 kernel_stat access in KLM Ralph Roesler
2003-06-24 2:40 ` sd card support John Shillinglaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox