From mboxrd@z Thu Jan 1 00:00:00 1970 From: compudj@krystal.dyndns.org (Mathieu Desnoyers) Date: Wed, 3 Nov 2010 11:17:38 -0400 Subject: [ltt-dev] general installation help In-Reply-To: <52E6371B02447449947E563642EB32023B4FA9FB@zcomb2.Zoran.com> References: <52E6371B02447449947E563642EB32023B4FA9FB@zcomb2.Zoran.com> Message-ID: <20101103151738.GA18653@Krystal> * Matt Schreiner (Matt.Schreiner at zoran.com) wrote: > I recently downloaded Centos 5.5 (same as Red Hat 5.5?), based on > 2.6.18 kernel. I note that even at that revision, many of the kernel > trace-points are in the code, and the kernel has been built with > CONFIG_TRACEPOINTS=y, CONFIG_MARKERS=y, and > CONFIG_SAMPLE_TRACEPOINTS=m. This looks like a backport done by CentOS, or at the very least a very old lttng version. Tracepoints went into mainline much later then 2.6.18. > > My question is: will I be able to use LTTng without rebuilding the kernel? I really don't know what the CentOS guys have done. You should contact the distribution to ask them for advice. Thanks, Mathieu > > I've downloaded the following, aiming for the closest compatible with 2.6.18: > > Genevent-0.31 > Linuxtracetoolkitviewer-0.8.72-06122006 > Ltt-control-0.31-20112006 > Ltt-usertrace-0.21 > Patch-2.6.18-lttng-0.6.41 > > Though ./configure does a lot of work in each of these projects, I'm missing an overall description of which pieces are needed, where they have to reside, and how to turn them on. Is there a basic how-to manual? The patches would imply that I have to rebuild the kernel, though it seemed they were all extensions to kernel header files, and patches to LTTng sources. > > I'm also trying to use tracepoints for my own purposes, and my Linux box crashes hard when I call register_trace_sched_switch from a loadable module. Any ideas how to debug this? > > _______________________________________________ > ltt-dev mailing list > ltt-dev at lists.casi.polymtl.ca > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com