Re: [PATCH] Add module load profile hook

Rusty Russell (rusty@rustcorp.com.au)
Fri, 21 Feb 2003 11:33:46 +1100


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/