From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: ali hagigat <hagigatali@gmail.com>
Cc: xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] trigger!!
Date: Wed, 27 Aug 2014 20:57:20 +0200 [thread overview]
Message-ID: <53FE2A10.6090000@xenomai.org> (raw)
In-Reply-To: <CAKKWdtf29M31YWGn-f5jntHi4R18sJpR3SrNXh2AmA_-BLo-Bg@mail.gmail.com>
On 08/27/2014 04:47 PM, ali hagigat wrote:
> Sorry to ask it again but the file, /proc/ipipe/trace/trigger, can be
> written only once.
>From looking at the code, I do not think so. It seems to me you can
write to the file as many times as you want.
> The documentation says:
> "Write an empty string to disable the trigger, "
> As far as I tested, writing empty string to the file , trigger,
> returns with error
The code agrees with this conclusion.
> and frozen log continue to become updated
> After the initial write I can not write to this file any more even if I do:
> echo 0 > /proc/ipipe/trace/enable
>
Why not trying and writing the name of a function which has no chance of
being triggered, such as "start_kernel" ?
--
Gilles.
prev parent reply other threads:[~2014-08-27 18:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-26 11:12 [Xenomai] trigger!! ali hagigat
2014-08-26 11:28 ` Gilles Chanteperdrix
2014-08-26 11:40 ` Alec Ari
2014-08-26 14:22 ` Gilles Chanteperdrix
2014-08-26 14:26 ` Gilles Chanteperdrix
2014-08-27 14:47 ` ali hagigat
2014-08-27 18:57 ` Gilles Chanteperdrix [this message]
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=53FE2A10.6090000@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=hagigatali@gmail.com \
--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.