From: Jan Kiszka <jan.kiszka@domain.hid>
To: ROSSIER Daniel <Daniel.Rossier@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] LTTng for Xenomai - next round
Date: Fri, 19 Oct 2007 10:13:01 +0200 [thread overview]
Message-ID: <4718670D.6000008@domain.hid> (raw)
In-Reply-To: <FDBBB5CC70676540B3EF7CFE83FD94E0999445@domain.hid>
ROSSIER Daniel wrote:
>> -----Original Message-----
>> From: jan.kiszka@domain.hid [mailto:jan.kiszka@domain.hid]
>> Sent: vendredi, 19. octobre 2007 00:06
>> To: xenomai-core
>> Cc: ROSSIER Daniel
>> Subject: LTTng for Xenomai - next round
>>
>> Hi,
>>
>> LTTng is becoming interesting again: Mathieu uploaded a back-port to
>> 2.6.23.1 yesterday which is already implementing the scheme that is
>> intended to be submitted upstream.
>>
>> What changed for us?
>>
>> - We now have a recent patch basis for the kernel again.
>>
>> - The instrumentation process was significantly simplified: No more
>> facility registration, no more probe modules, no more XML file
>> hacking - it's all derived from the trace points now! Some example:
>>
>> trace_mark(kernel_timer_itimer_expired, "pid %d", sig->tsk->pid);
>> ^----^ ^------------------^ ^----^
>> facility trace point argument name
>> name name and type
>>
>> I rebased the patches over I-pipe for i386 (see attached patches and
>> extended series description), and I also started to rework the Xenomai
>> patch. The diffstat of the latter is fairly telling:
>>
>> include/nucleus/ltt.h | 111 +---------------------------
>> ksrc/nucleus/Config.in | 9 --
>> ksrc/nucleus/Kconfig | 36 ---------
>> ksrc/nucleus/Makefile | 3
>> ksrc/nucleus/intr.c | 19 ++--
>> ksrc/nucleus/ltt.c | 186
> ---------------------------------------
>> ---------
>> ksrc/nucleus/module.c | 7 -
>> ksrc/nucleus/pod.c | 102 ++++++++++++++++----------
>> ksrc/nucleus/shadow.c | 43 +++++++----
>> ksrc/nucleus/synch.c | 19 +++-
>> ksrc/nucleus/timebase.c | 6 -
>> 11 files changed, 125 insertions(+), 416 deletions(-)
>>
>> You see, no more ltt.c, i.e. no more probe module!
>>
>> At this point, we are already able to use the services of "lttv -m
>> textDump" or lttv-gui to display traces from Xenomai kernels as event
>> lists. Yes, I tried this, and it works! (Hint: Don't forget to ltt-
>> armall your trace points before trying to collect data...)
>>
>> Yet to be done:
>>
>> - Finish the xnltt_log_event refactoring (half done, pod.c is missing
>> yet - with ~30 trace point)
>>
>> - Port and update the Xenomai extension over latest lttv.
>>
>> Well, I'm not looking for work, I'm looking for workers :). Anyone
>> interested and available to help with the open topics? Daniel...?
>
> Sounds very good :-) I will see if we can contribute. Jean-Philippe is
> working on a comparison between Xenomai and RTOS-32 for
> a x86 target system (diploma work) and is currently about to install the
> pretty old version (2.6.17) of xenoltt.
Please do comparisons based on recent versions!
> I will see with him if it makes
> sense to migrate to the latest version, at this point of his work.
The largest chunk is surely the lttv plugin. Fortunately,
synchronisation between plugin and instrumentation should be far simpler
now. Still, lttv remains a kind of big "beast"... ;)
Regarding the instrumentation: My latest Xenomai patch changed the
marker arguments even more away from your original patch. Not looking at
the plugin for this, I may have removed useful information. Please let
us know what you would like to see in the trace points so that this part
can quickly stabilise, maybe even go into the next Xenomai release.
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2007-10-19 8:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 22:05 [Xenomai-core] LTTng for Xenomai - next round Jan Kiszka
2007-10-19 7:41 ` ROSSIER Daniel
2007-10-19 8:13 ` Jan Kiszka [this message]
2007-11-05 8:15 ` Jan Kiszka
2007-11-05 8:21 ` Jan Kiszka
2007-11-08 8:09 ` Jan Kiszka
2007-11-08 9:01 ` Philippe Gerum
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=4718670D.6000008@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=Daniel.Rossier@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.