Re: contention on profile_lock

From: John Levon
Date: Thu Nov 04 2004 - 18:20:02 EST


On Thu, Nov 04, 2004 at 01:55:27PM -0800, Jesse Barnes wrote:

> +/* Oprofile timer tick hook */
> +int (*oprofile_timer_notify)(struct pt_regs *);

How is the module going to access this if you don't EXPORT_SYMBOL_GPL()
it ?

Do you have some specific objection to keeping the register/unregister
functions as I showed?

john
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/