> > 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() ins
On Sun, 10 Sep 2000, Davide Libenzi wrote:
> OK, last time i've worked with proc stuff was two years ago, I've to update but:
>
> # find /usr/src/linux -name '*.c' -exec grep proc_register \{} \; | wc -l
> 119
>
> I'm not alone :-)
On 2.2. Last October I've cleaned that crap in 2.3
-
To uns
On Sun, 10 Sep 2000, Andrew Morton wrote:
> Sigh.
>
> --- linux-2.4.0-test8/fs/proc/generic.c Thu Aug 24 21:07:24 2000
> +++ linux-akpm/fs/proc/generic.c Sun Sep 10 21:20:45 2000
> @@ -346,6 +346,13 @@
> lookup: proc_lookup,
> };
>
> +/*
> + * _Don't_
> + *
> + * pr
On Sun, 10 Sep 2000, Alexander Viro wrote:
> On Sun, 10 Sep 2000, Davide Libenzi wrote:
>
> > 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
Alexander Viro wrote:
>
> > Search for proc_register() inside the kernel sources.
>
> _Don't_
>
> proc_register() is dead. Use create_proc_read_entry() instead.
>
> Folks, support of the static procfs entries is gone and it will not be
> back. Any initializer for struct proc_dir_entry is a LAR
On Sun, 10 Sep 2000, Davide Libenzi wrote:
> 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 ?
>
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 do
7 matches
Mail list logo