[lttng-dev] [PATCH] LTTng logger ABI

Karim Yaghmour karim.yaghmour at opersys.com
Mon Feb 17 19:06:09 EST 2014


On 14-02-17 04:11 PM, Mathieu Desnoyers wrote:
> Add a user-space ABI (new file /proc/lttng-logger) to lttng-modules
> which can be written into by any user on the system. The content is
> saved into the kernel trace stream into the "lttng_logger" kernel event.
> 
> The content of a single write is written into an lttng_logger event.
> The write count is truncated to 1024 bytes (if larger), which is much
> smaller than the smallest subbuffer size available (4096 bytes). This
> ensures all written data makes it into the active tracing buffers.

Very nice. Let me know when this is in so that I can schedule giving it
a try on Android.

-- 
Karim Yaghmour
CEO - Opersys inc. / www.opersys.com
http://twitter.com/karimyaghmour




More information about the lttng-dev mailing list