[PATCH 0/3] utrace
From: Roland McGrath
Date: Fri Mar 20 2009 - 21:41:24 EST
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.
Thanks,
Roland
--
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/