LTTng logger ABI
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Mathieu Desnoyers
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_loggerevent. 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.
Signature · 3 lines
Karim Yaghmour CEO - Opersys inc. / www.opersys.com http://twitter.com/karimyaghmour
A message that is not in the archive (sent off-list or not yet received): [email protected]
----- Original Message -----
Quoted 12 lines
From: "Karim Yaghmour" <[email protected]>
To: "Mathieu Desnoyers" <[email protected]>
Cc: [email protected]
Sent: Monday, February 17, 2014 7:06:09 PM
Subject: Re: [PATCH] LTTng logger ABIQuoted 4 lines · Mathieu Desnoyers
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.
Quoted 7 lines
Quoted 4 lines
The content of a single write is written into an
lttng_loggerevent. 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
Quoted 7 lines
--
Karim Yaghmour
CEO - Opersys inc. / www.opersys.com
http://twitter.com/karimyaghmour
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
----- Original Message -----
Quoted 24 lines
From: "Mathieu Desnoyers" <[email protected]>
To: "Karim Yaghmour" <[email protected]>
Cc: [email protected]
Sent: Monday, February 17, 2014 7:22:39 PM
Subject: Re: [lttng-dev] [PATCH] LTTng logger ABI----- Original Message -----
Quoted 17 lines
From: "Karim Yaghmour" <[email protected]>
To: "Mathieu Desnoyers" <[email protected]>
Cc: [email protected]
Sent: Monday, February 17, 2014 7:06:09 PM
Subject: Re: [PATCH] LTTng logger ABIQuoted 8 lines · Mathieu Desnoyers
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_loggerevent. 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.
Quoted 5 lines
Quoted 2 lines
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! :)
The feature is now pushed into the master branch:
commit 0c95667685cf8612eb0d231883874c173b7bb5a1
Author: Mathieu Desnoyers <[email protected]> Date: Sat Feb 15 16:59:09 2014 -0500
LTTng logger ABI
Thanks,
Mathieu
Quoted 23 lines
Thanks,
Mathieu
Quoted 7 lines
--
Karim Yaghmour
CEO - Opersys inc. / www.opersys.com
http://twitter.com/karimyaghmour--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Mathieu Desnoyers
The feature is now pushed into the master branch:
commit
0c95667685cf8612eb0d231883874c173b7bb5a1Author: Mathieu Desnoyers <[email protected]> Date: Sat Feb 15 16:59:09 2014 -0500LTTng logger ABI
Awesome. Thanks!
Signature · 3 lines
Karim Yaghmour CEO - Opersys inc. / www.opersys.com http://twitter.com/karimyaghmour