[lkml]   [2000]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: How to put something in /proc

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 ?
> Search for proc_register() inside the kernel sources.


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 LARTable offense. So
is kmalloc(sizeof(struct proc_dir_entry),...) and its ilk. You do it - you

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.063 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site