Re: [PATCH 3/5] ftrace: enable mcount recording for modules

From: Rusty Russell
Date: Fri Aug 08 2008 - 02:44:18 EST


On Friday 08 August 2008 04:20:16 Steven Rostedt wrote:
> This patch enables the loading of the __mcount_section of modules and
> changing all the callers of mcount into nops.
>
> The modification is done before the init_module function is called, so
> again, we do not need to use kstop_machine to make these changes.

Importantly, before parameter parsing too (which can use module functions
before the module's init()).

Cheers,
Rusty.
--
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/