From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Tue, 18 Feb 2014 00:22:39 +0000 (UTC) Subject: [lttng-dev] [PATCH] LTTng logger ABI In-Reply-To: <5302A3F1.6090508@opersys.com> References: <1392671512-9136-1-git-send-email-mathieu.desnoyers@efficios.com> <5302A3F1.6090508@opersys.com> Message-ID: <200800140.26414.1392682959643.JavaMail.zimbra@efficios.com> ----- Original Message ----- > From: "Karim Yaghmour" > To: "Mathieu Desnoyers" > Cc: lttng-dev at lists.lttng.org > Sent: Monday, February 17, 2014 7:06:09 PM > Subject: Re: [PATCH] LTTng logger ABI > > > 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. I plan to merge it into master right after LTTng 2.4 final is released, which should be in a matter of days. Stay tuned! :) Thanks, Mathieu > > -- > Karim Yaghmour > CEO - Opersys inc. / www.opersys.com > http://twitter.com/karimyaghmour > > -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com