From mboxrd@z Thu Jan 1 00:00:00 1970 From: compudj@krystal.dyndns.org (Mathieu Desnoyers) Date: Wed, 1 Oct 2008 14:37:57 -0400 Subject: [ltt-dev] LTT satus In-Reply-To: <48E3C0F4.3000808@igi.cnr.it> References: <48E3C0F4.3000808@igi.cnr.it> Message-ID: <20081001183757.GA18617@Krystal> Hi, Facilities are gone long ago. They used a XML description for events which turned into C code using genevent, a C code generator. It was rather hellish to keep in sync the kernel code with the XML descriptions. The markers are an in-kernel API (see include/linux/marker.h and Documentation/markers.txt) which lets you describe your events in the C code. The typing is expressed using a format string. It's automatically saved in the trace at trace start/module load, so you don't have to take care of such details by yourself : the meta information about events is automatically exported through the trace. Mathieu * barbalace at igi.cnr.it (barbalace at igi.cnr.it) wrote: > Dear LTT team, > I'm involved in the activity of using LTTng to trace RTAI. RTAI has an old > support of LTT but this is a don't care issue. The problem is that I've not > a clear idea of how LTTng work. My basic question is: what is the > difference between Facilities and Markers? Are both still in use? > I'm currently work with probably not a brand new version of LTTng: the last > one that patch linux kernel 2.6.19... > > Thanks a lot > > - Antonio Barbalace > > Istituto Gas Ionizzati del CNR > Consorzio RFX - Associazione EURATOM/ENEA sulla Fusione > Corso Stati Uniti 4, 35127 Padova - Italy > mailto:barbalace at igi.cnr.it, http://www.igi.cnr.it > > > _______________________________________________ > ltt-dev mailing list > ltt-dev at lists.casi.polymtl.ca > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev > -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68