From mboxrd@z Thu Jan 1 00:00:00 1970 From: piotr.romaniuk@elesoftrom.com.pl (Piotr Romaniuk) Date: Wed, 04 Apr 2012 10:23:15 +0200 Subject: [lttng-dev] Difference between markers, tracepoints and trace_events In-Reply-To: <4F4224E4.6080108@elesoftrom.com.pl> References: <4F4224E4.6080108@elesoftrom.com.pl> Message-ID: <4F7C04F3.9070305@elesoftrom.com.pl> 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