Re: [Xenomai-core] [PATCH 2/6] Improve fault report

2006-06-28 Thread Jan Kiszka
Philippe Gerum wrote: On Mon, 2006-06-26 at 19:21 +0200, [EMAIL PROTECTED] wrote: plain text document attachment (enhance-kernel-fault-report.patch) Introduce xnarch_fault_um() to test if a fault happened in user-mode and applies the new feature to report core and driver crashes more

Re: [Xenomai-core] [PATCH 2/6] Improve fault report

2006-06-28 Thread Philippe Gerum
On Wed, 2006-06-28 at 09:51 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Mon, 2006-06-26 at 19:21 +0200, [EMAIL PROTECTED] wrote: plain text document attachment (enhance-kernel-fault-report.patch) Introduce xnarch_fault_um() to test if a fault happened in user-mode and applies the

Re: [Xenomai-core] [PATCH 2/6] Improve fault report

2006-06-28 Thread Jan Kiszka
Philippe Gerum wrote: On Wed, 2006-06-28 at 09:51 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Mon, 2006-06-26 at 19:21 +0200, [EMAIL PROTECTED] wrote: plain text document attachment (enhance-kernel-fault-report.patch) Introduce xnarch_fault_um() to test if a fault happened in user-mode

Re: [Xenomai-core] [PATCH 2/6] Improve fault report

2006-06-28 Thread Jan Kiszka
Philippe Gerum wrote: On Wed, 2006-06-28 at 10:18 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Wed, 2006-06-28 at 09:51 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Mon, 2006-06-26 at 19:21 +0200, [EMAIL PROTECTED] wrote: plain text document attachment

Re: [Xenomai-core] [PATCH 2/6] Improve fault report

2006-06-28 Thread Jan Kiszka
Philippe Gerum wrote: On Wed, 2006-06-28 at 10:51 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Wed, 2006-06-28 at 10:18 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Wed, 2006-06-28 at 09:51 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Mon, 2006-06-26 at 19:21 +0200, [EMAIL

Re: [Xenomai-core] [PATCH 6/6] Introduce IRQ latency benchmark

2006-06-28 Thread Gilles Chanteperdrix
[EMAIL PROTECTED] wrote: Index: xenomai/src/testsuite/irqbench/irqbench.c === --- /dev/null +++ xenomai/src/testsuite/irqbench/irqbench.c @@ -0,0 +1,301 @@ +/* + * Copyright (C) 2006 Jan Kiszka [EMAIL PROTECTED]. + *

Re: [Xenomai-core] [PATCH 6/6] Introduce IRQ latency benchmark

2006-06-28 Thread Jan Kiszka
Gilles Chanteperdrix wrote: [EMAIL PROTECTED] wrote: Index: xenomai/src/testsuite/irqbench/irqbench.c === --- /dev/null +++ xenomai/src/testsuite/irqbench/irqbench.c @@ -0,0 +1,301 @@ +/* + * Copyright (C) 2006

Re: [Xenomai-core] [PATCH 6/6] Introduce IRQ latency benchmark

2006-06-28 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Is there no way to make this code easier to port for example by using native or posix services for timings measurement and by abstracting the non portable part and moving them to include/asm-i386 ? This tool is intentionally left Xenomai-free. You can put it on any

Re: [Xenomai-core] [PATCH 6/6] Introduce IRQ latency benchmark

2006-06-28 Thread Dmitry Adamushko
On 28/06/06, Gilles Chanteperdrix [EMAIL PROTECTED] wrote: Jan Kiszka wrote: Ok, then we also need a fix for the latency test (this is where I grabbed that pattern from). Is there a high risk that this locks up? I wonder why I never observed or heard of problems with latency. The

Re: [Xenomai-core] [PATCH 6/6] Introduce IRQ latency benchmark

2006-06-28 Thread Dmitry Adamushko
Then all other threads must block signal delivering with sigprocmask() so that the main thread is the only one which accepts signals. Is that required, i.e. does pause() only wake up if the signal handler executed in the main thread's context? Then cyclictest contains a bug as well... If

Re: [Xenomai-core] [PATCH 2/6] Improve fault report

2006-06-28 Thread Philippe Gerum
On Wed, 2006-06-28 at 11:17 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Wed, 2006-06-28 at 10:51 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Wed, 2006-06-28 at 10:18 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Wed, 2006-06-28 at 09:51 +0200, Jan Kiszka wrote:

Re: [Xenomai-core] [PATCH 6/6] Introduce IRQ latency benchmark

2006-06-28 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Also note that calling printf from a signal handler risk deadlocking if the signal handler get called on the return path of the write call that take place in the middle of a printf call on the main thread. Ok, then we also need a fix for the latency test

Re: [Xenomai-core] [PATCH 5/6] Overread dev-prefix on posix open

2006-06-28 Thread Jan Kiszka
Update to fix a compiler warning (char * vs. const char *). Jan Subject: Overread dev-prefix on posix open Adds support to the posix user-space lib to address RTDM-devices also with a (here meaningless) /dev/ name prefix. Intended to increase user convenience slightly. ---

[Xenomai-core] [PATCH] pid and current-domain tracing

2006-06-28 Thread Jan Kiszka
Hi, here are three patches, two enhancing the ipipe tracer, the third propagating the new features to Xenomai. The tracer gains support for recording a Linux pid + a priority value. The priority can be set to an arbitrary value (12 bit, signed), but will typically be related to the pid. When the