Re: [PATCH] Add module load profile hook

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Thu Feb 20 2003 - 19:33:46 EST


In message <20030220215317.GA80769@compsoc.man.ac.uk> you write:
>
> Any problems with this Rusty ? It's at load time rather than
> unload as it helps userspace a little wrt reading /proc/modules

Sure, but I think I prefer a more generic notifier mechanism anyway,
which oprofile can use as well as other mechanisms.

Say, module_notifier with a MODULE_LOADED, MODULE_INITIALIZED,
MODULE_UNLOADING, MODULE_GONE?

Thoughts?
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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:32 EST