All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Unwanted mode switch.
Date: Thu, 11 Jan 2007 16:33:20 +0100	[thread overview]
Message-ID: <45A658C0.1070908@domain.hid> (raw)
In-Reply-To: <45A656C6.6060406@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

Gilles Chanteperdrix wrote:
> Hi,
> 
> in order to test the nocow patch, I wrote the attached test. Despite the
> fact that there is no longer any page fault (I have nucleus debugging
> on, so I would get a message if there was a fault), there is still an
> unwanted mode switch at step 5. Any idea what could be the cause ?
> 

Put in some xntrace_user_freeze(0) before or after the point-of-interest
in the program, switch on the tracer, and check ipipe/trace/frozen (with
appropriate back_trace_points or post_trace_points) what is going on.
Once you know the particular code path, instrumenting it can also be
done this way: xntrace_special(some_id, some_value_of_interest).

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2007-01-11 15:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-11 15:24 [Xenomai-core] Unwanted mode switch Gilles Chanteperdrix
2007-01-11 15:33 ` Jan Kiszka [this message]
2007-01-11 15:36 ` Gilles Chanteperdrix
2007-01-11 20:57   ` Philippe Gerum
2007-01-15 21:47 ` 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=45A658C0.1070908@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.