Re: How to put something in /proc

From: Davide Libenzi (dlibenzi@maticad.it)
Date: Sun Sep 10 2000 - 06:23:49 EST


On Sun, 10 Sep 2000, Giuliano Pochini wrote:
> I need to create a "file" in /proc to monitor some kernel
> variables from user space. How can I do ? / Where can I
> get docs ? And how can I do time measurements from
> inside the kernel ?

Search for proc_register() inside the kernel sources.
I don't know if exist a specific doc about this, but its use is immediate.

- Davide
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:13 EST