[lkml]   [2009]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[PATCH 0/3] utrace
    utrace is a new kernel-side API for kernel modules, intended to make it
    tractable to work on novel ways to trace and debug user-mode tasks.

    These patches apply to the current Linus tree (v2.6.29-rc8-241-g65c2449).
    The first two should apply fine on the -tip tree as well, and we will be
    glad to rebase the set to whichever tree. Frank has another version of the
    ftrace patch (3/3) that works for -tip. The utrace patches don't touch
    anything unless you set a new kconfig option (still marked EXPERIMENTAL),
    and so are quite safe in that regard.

    utrace cannot be enabled without CONFIG_HAVE_ARCH_TRACEHOOK and the arch
    details it indicates. If your arch does not have it yet, its maintainers
    will have to work on that. The details are in the comments in arch/Kconfig.

    The first patch makes a small update to one of the tracehook.h interfaces
    that we needed for utrace. It moves code a little but does not change any
    of the logic in the existing code.

    The second patch adds the utrace kernel API (if CONFIG_UTRACE=y is set).
    There is no change at all without the config option, and with it there is
    no effect on anything at all until a kernel module using the utrace API is
    loaded. There is detailed documentation on the API in DocBook form.

    The third patch is an ftrace widget based on utrace, by Frank Eigler.
    Frank will follow up on any issues about that patch.


     \ /
      Last update: 2009-03-21 02:43    [W:0.031 / U:8.228 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site