All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ralph Roesler" <rroesler@syskonnect.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5 kernel_stat access in KLM
Date: Fri, 11 Jul 2003 14:53:14 +0200	[thread overview]
Message-ID: <3F0ECF5A.1101.1C6D477A@localhost> (raw)

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

             reply	other threads:[~2003-06-10 12:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-11 12:53 Ralph Roesler [this message]
2003-06-24  2:40 ` sd card support John Shillinglaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F0ECF5A.1101.1C6D477A@localhost \
    --to=rroesler@syskonnect.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.