Re: Module Refcount & Stuff mini-FAQ

Rusty Russell (rusty@rustcorp.com.au)
Mon, 25 Nov 2002 10:02:00 +1100


In message <20021119024032.GA99837@compsoc.man.ac.uk> you write:
> On Tue, Nov 19, 2002 at 09:58:56AM +1100, Rusty Russell wrote:
>
> > The previous code required to implement the two module loading
> > system call, the module querying system call, and the /proc/ksyms
> > output, required a little more code than the current x86 linker.
>
> This makes it sound like you're not bringing /proc/ksyms back (or an
> equivalent to let userspace know where modules are loaded). I hope this
> isn't the case...

I implemented the minimal subset: it's trivial to put back. The
important question is why do you want it? Do you only want it when
CONFIG_MODULES=y? Do you only want the exported symbols, or all
symbols?

If this is for oprofile to figure out where modules are, then an entry
in /proc/modules seems more appropriate, yes?

Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/