[lttng-dev] Difference between markers, tracepoints and trace_events

Piotr Romaniuk piotr.romaniuk at elesoftrom.com.pl
Wed Apr 4 04:23:15 EDT 2012


Hi,

I would like to use tracing of execution in my kernel driver.
I saw in LTTng documentation and source code that there are several methods:
1) markers,
2) tracepoints,
3) trace_events.
I saw that programming interface for usage each of these item is little 
different.
What is the difference between these methods? Are they equivalent from 
conceptual point of view?
I successfuly used markers and observed logged entries in LTTTV, but 
have no success with trace_events.

I use following versions:
- Linux kernel 2.6.33.2 (+ rt13 patch)
- lttng kernel patch 0.212
- lttctl 0.87
- ltttv 0.12.36

Regards,
Piotr Romaniuk




More information about the lttng-dev mailing list