[lkml]   [2008]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/3] relay - make subbuf switch replaceable
    On Tue, 23 Sep 2008 00:27:30 -0500
    Tom Zanussi <> wrote:

    > 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.

     \ /
      Last update: 2008-09-23 22:21    [W:0.020 / U:21.472 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site