[lttng-dev] introduction & usage of LTTNG in machinekit

Julien Desfossez jdesfossez at efficios.com
Sun Mar 29 11:47:49 EDT 2015


Hi,

On 15-03-29 11:17 AM, Michael Haberler wrote:
> Michel,
> 
>> Am 29.03.2015 um 16:31 schrieb Michel Dagenais <michel.dagenais at polymtl.ca>:
>>
>>
>>> - is there a complete example out-of-tree kernel module instrumented for
>>> LTTng? I worked through Steve Rostedt's sillymod
>>> (http://lwn.net/Articles/379903 ff) but am fuzzy on "Adding the LTTng
>>> adaptation layer" - is the example from the manual available in toto
>>> somewhere?
>>
>> A few people in my group have done so. I will check on Monday to get sample code for you.
> 
> on re-reading, I am almost there, but I'd appreciate an example anyway

I have a complete example of instrumenting an out-of-tree module in the
latency_tracker and the patch for lttng-modules (master) in the "extras"
folder:
https://github.com/jdesfossez/latency_tracker

It might be very slow due to access the page to the DDoS in progress, if
you need it quickly, I'll send you a tar.

Julien



More information about the lttng-dev mailing list