On Tue, 23 Sep 2008 00:27:30 -0500
Tom Zanussi <zanussi@comcast.net> wrote:
quoted text > Make the relay sub-buffer switch code replaceable.
>
> With this patch, tracers now have complete control over the relay
> write (or reserve) path if they choose to do so, by implementing their
> own version of the sub-buffer switch function (switch_subbuf()), in
> addition to their own local write/reserve functions. Tracers who
> choose not to do so automatically default to the normal behavior.
>
>
> ...
>
> -EXPORT_SYMBOL_GPL(relay_switch_subbuf);
> +EXPORT_SYMBOL_GPL(switch_subbuf_default_callback);
It would be nice to keep the `relay_' prefix on the exported relay
interface? Something called `switch_subbuf_default_callback' could
belong to pretty much anywhere in the kernel.
--
unsubscribe notice 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/
Messages in current thread:
Re: [PATCH 2/3] relay - make subbuf switch replaceable , Andrew Morton , (Tue Sep 23, 1:17 pm)