[lttng-dev] Adding kernel events

Francis Deslauriers francis.deslauriers at efficios.com
Fri May 12 14:30:20 UTC 2017


Hi Eric,

You have to define the LTTng probe in lttng-modules to hook on your custom
kernel tracepoint.
Have a look this commit where a new probe was added:
https://github.com/lttng/lttng-modules/commit/2ca394649a5fb4135bfbe541f090b06ef933a63b

Cheers!
Francis



2017-05-12 10:03 GMT-04:00 Eric Nelson <eric at nelint.com>:

> Hi all,
>
> Please pardon the N00b question, but I'm having trouble figuring out
> how to get lttng to process a new kernel event.
>
> I've added code to my kernel to track scheduler throttling on an RT Linux
> kernel, and can see my new events in /sys/kernel/debug/tracing/avai
> lable_events.
>
> Using "lttng list -k" doesn't show them though.
>
> Do I also need to add the event definitions to lttng-tools?
>
> Thanks in advance for any pointers.
>
>
> Eric Nelson
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



-- 
Francis Deslauriers
Software developer
EfficiOS inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20170512/8b6d47c0/attachment.html>


More information about the lttng-dev mailing list