Re: [PATCH 1/5] Revert "kmemtrace: fix printk format warnings"

From: Frank Ch. Eigler
Date: Tue Aug 19 2008 - 14:51:22 EST


Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> writes:

> [...]
> Is this kmemtrace marker meant to be exposed to userspace ?
> I suspect not.
> [...]
> Tracepoints = in-kernel tracing API.
> Markers = Data-formatting tracing API, meant to export the data either
> to user-space in text or binary format.

FWIW, that was certainly not the intent of markers. It was to try to
satisfy both sorts of uses with relative type-safety and a minimum of
code. Tracepoints may be nice if one needs somewhat (how much?) more
performance, and is willing to burden someone else with the necessary
extra code (such as tracepoint-to-marker conversion modules) to expose
the same data to "userspace" tools like lttng/systemtap.

- FChE
--
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/