From mboxrd@z Thu Jan 1 00:00:00 1970 From: karim.yaghmour@opersys.com (Karim Yaghmour) Date: Mon, 17 Feb 2014 19:06:09 -0500 Subject: [lttng-dev] [PATCH] LTTng logger ABI In-Reply-To: <1392671512-9136-1-git-send-email-mathieu.desnoyers@efficios.com> References: <1392671512-9136-1-git-send-email-mathieu.desnoyers@efficios.com> Message-ID: <5302A3F1.6090508@opersys.com> 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