On Tue, May 06, 2003 at 04:45:27PM -0400, William Cohen wrote:
> I revised the patch to apply to the 2.5.69 kernel and added support so
> there is a boot line option "oprofile_timer" that will force oprofile to
> use the timer regardless of performance monitoring hardware. The
> "oprofile_timer=1" can still be used at module load to force use of the
> timer interrupt mechanism.
This is wrong, __setup() is obsolete, see the comment around __setup()
definition.
You should be using module_param() API. Note in particular,
MODULE_PARAM_PREFIX in moduleparam.h. So it can simply be called "timer"
or maybe "force_timer"
Sorry I wasn't clearer about this.
regards,
john
|