From: Jan Kiszka <jan.kiszka@domain.hid>
To: Alexis Berlemont <berlemont.hauw@domain.hid>
Cc: ROSSIER Daniel <Daniel.Rossier@domain.hid>,
xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] Re: LTTng intergration roadmap
Date: Tue, 16 May 2006 14:25:50 +0200 [thread overview]
Message-ID: <4469C4CE.5000804@domain.hid> (raw)
In-Reply-To: <200605152240.15620.berlemont.hauw@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 4354 bytes --]
Alexis Berlemont wrote:
> Hi,
>
>> the need for a high-level tracing tool constantly increases with the
>> growing code base of Xenomai applications.
>>
>> Yesterday I started a short discussion with Alexis about the status of
>> his LTTng combo patch, the Xenomai integration, and the advances of
>> LTTng itself. But there are certainly more people interested in this
>> topic and may contribute ideas, comments, or even concrete code.
>>
>> Daniel, you once said that some of your students would start to work on
>> this topic. In which domain precisely, more at patch level or rather on
>> tools? What is the scheduled beginning and/or deadline for this thesis?
>>
>> Moreover, does anyone on this list recently tried LTTng on standard
>> Linux? Can we consider it reasonably stable and usable? One new thing
>> about LTTng internals which Alexis brought up were changes in the custom
>> tracing event interface. As this is a rather crucial point with respect
>> to the Xenomai instrumentation, we certainly do not want to change it
>> back and forth until LTTng stabilises.
>
> Here is a little quotation from the LTTng Quickstart guide, I used it to
> define the LTT events for Xenomai:
>
> * Add new events to the kernel with genevent
>
> su -
> cd /usr/local/share/LinuxTraceToolkitViewer/facilities
> cp process.xml yourfacility.xml
> * edit yourfacility.xml to fit your needs.
> cd /tmp
> /usr/local/bin/genevent /usr/local/share/LinuxTraceToolkitViewer/facilities/yourfacility.xml
> cp ltt-facility-yourfacility.h ltt-facility-id-yourfacility.h \
> /usr/src/linux-2.6.16-lttng-0.x.xx8/include/linux/ltt
> cp ltt-facility-loader-yourfacility.c ltt-facility-loader-yourfacility.h \
> /usr/src/linux-2.6.16-lttng-0.x.xx/ltt
> * edit the kernel file you want to instrument
> - Add #include <linux/ltt/ltt-facility-yourfacility.h> at the beginning
> of the file.
> - Add a call to the tracing functions. See their names and parameters in
> /usr/src/linux-2.6.16-lttng-0.x.xx/include/linux/ltt/ltt-facility-yourfacility.h
>
> So, In order to test the combo patch adeos + LTTng I made:
> -> I wrote xenomai.xml (cf. attached file) which defines all the Xeno-LTT
> events;
> -> I used genevent so as to generate the sources and the headers relative with
> my events;
> -> Instead of copying them in the kernel, I integrated the sources in Xenomai.
> I was considering that the Xeno events was independant from Linux.
>
> As a matter of fact, the last point should be rethought as the Xeno build
> procedure is now integrated in the kernel.
Not necessarily, you may still compile the nucleus as a module.
>
> Things are simpler now, we could create an "I-pipe aware LTTng" patch which
> could contain :
> -> the modifications in Relayfs (for a proper functioning with Adeos);
> -> the LTTng core stuff adapted for Adeos (not much work to do on this part);
> -> the Xenomai events in include/linux/ltt, and the loading code in ...
Hmm, I guess Philippe will not be happy to see Xeno-specific code in the
ipipe patch (like I had with my kgdb hack). Is there no clean way to
introduce this code together with the Xenomai installation, e.g. when
preparing the kernel with the script?
>
> This patch would be applied after the I-pipe patch (in the same way as the
> I-pipe tracer patch). So there would be no need to make combo patches, an
> arch-independant additionnal patch would be easier to maintain.
>
> What do you think of that ?
I do not overview every detail (I should actually look at the patch more
in detail, but - you know - time...). Everything that helps to reduce
maintenance costs while still keeping clean abstraction layers (ipipe is
ipipe, xenomai is an independent add-on) is certainly good.
>
> Eventually, concerning LTTng stabilisation status, I had a look a their
> mailing-list (I am lurking on it since the beginning of LTTng) and at their
> roadmap: starting from now, their TODO list contains integration and ports,
> therefore undertaking an integration of LTTng with Xenomai (rigth now or next
> month) does not seem too risky, does it?
Sounds good. Sounds at least like they found a stable design we can use
now - or soon when resources are available.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2006-05-16 12:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-15 15:18 [Xenomai-core] LTTng intergration roadmap Jan Kiszka
2006-05-15 20:40 ` [Xenomai-core] " Alexis Berlemont
2006-05-16 12:25 ` Jan Kiszka [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-05-17 6:45 [Xenomai-core] " ROSSIER Daniel
2006-05-17 7:12 ` Romain Lenglet
2006-05-18 8:13 ` [Xenomai-core] " Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4469C4CE.5000804@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=Daniel.Rossier@domain.hid \
--cc=berlemont.hauw@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.