Adding kernel events
A message that is not in the archive (sent off-list or not yet received): [email protected]
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 <[email protected]>:
Quoted 22 lines
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/available_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
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 3 lines
Francis Deslauriers Software developer EfficiOS inc.
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
A message that is not in the archive (sent off-list or not yet received): CADcCL0iY_fEyOtD-SVu2v-nTN=17o2F2-r0xwXG37qRcVNPxhw@mail.gmail.com
Quoted 7 lines · Francis Deslauriers
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
Thanks Francis.
This is just what I needed.
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev